@ServiceMethod @Face(displayName = "Save As...") public Object saveAs() throws Exception { classDefinition.processManager = processManager; classDefinition.save(); return new Remover(this); }
@ServiceMethod @Face( displayName = "Save All", options = {"separator"}, values = {"true"}) public Object saveAll() throws Exception { classDefinition.processManager = processManager; classDefinition.save(); return new Remover(this); }
@ServiceMethod(target = ServiceMethodContext.TARGET_APPEND) @Face(displayName = "Save") public Object save() throws Exception { if (true) { String script = "mw3.getAutowiredObject('org.uengine.codi.mw3.ide.CloudIDE').save();"; return new Object[] {new Remover(this), new ScriptRunner(script)}; } classDefinition.processManager = processManager; classDefinition.save(); return new Remover(this); }