MCPcopy Create free account
hub / github.com/BombusMod/BombusMod / commandState

Method commandState

src/main/java/ui/controls/ExTextBox.java:163–177  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

161 }
162
163 public void commandState() {
164//#ifdef CLIPBOARD
165 textbox.addCommand(cmdCopy);
166 if (!ClipBoardIO.getInstance().isEmpty()) {
167 textbox.addCommand(cmdCopyPlus);
168 textbox.addCommand(cmdPasteText);
169 }
170 //#endif
171//#ifdef ARCHIVE
172 textbox.addCommand(cmdArchive);
173//#endif
174//#if TEMPLATES
175 textbox.addCommand(cmdTemplate);
176//#endif
177 }
178
179 public boolean executeCommand(Command c, Displayable displayable) {
180

Callers 1

showMethod · 0.95

Calls 3

getInstanceMethod · 0.95
addCommandMethod · 0.45
isEmptyMethod · 0.45

Tested by

no test coverage detected