()
| 137 | } |
| 138 | |
| 139 | public void commandState() { |
| 140 | //#ifdef CLIPBOARD |
| 141 | addMenuCommand(cmdCopy); |
| 142 | if (!ClipBoardIO.getInstance().isEmpty()) { |
| 143 | addMenuCommand(cmdCopyPlus); |
| 144 | } |
| 145 | //#endif |
| 146 | MessageItem mi = (MessageItem) getFocusedObject(); |
| 147 | if (mi == null) return; |
| 148 | |
| 149 | if (isHasScheme()) |
| 150 | addMenuCommand(cmdxmlSkin); |
| 151 | if (isHasUrl()) |
| 152 | addMenuCommand(cmdUrl); |
| 153 | } |
| 154 | |
| 155 | public boolean isHasScheme() { |
| 156 | if (getItemCount() < 1) { |
nothing calls this directly
no test coverage detected