3637383940414243
public static final String ID = "es.iiia.sgi.editors.ruleeditor"; @Override public void createPartControl(Composite parent) { super.createPartControl(parent); currentTool = new ModifyRuleTool(); swtAwtComponent.setData("Desc", "Rule Editor"); }
1718192021222324
this.setChecked(true); } public void run() { if (this.isChecked()) { ((RuleEditor) page.getActiveEditor()).setTool(new ModifyRuleTool()); } }