Package es.iiia.shapegrammar.model

Examples of es.iiia.shapegrammar.model.ShapeGrammarModel.deleteRule()


        // If we had a selection lets open the editor
        if (obj != null) {
          RuleModel rule = (RuleModel) obj;
          ShapeGrammarModel grammar = (ShapeGrammarModel) rule
              .getParent();
          grammar.deleteRule(rule);

          // now close the editor holding this rule
          for (IEditorReference editor : window.getActivePage()
              .getEditorReferences()) {
            if (editor.getEditor(false) instanceof RuleEditor) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.