Package org.woped.editor.controller.vc

Examples of org.woped.editor.controller.vc.EditorVC.create()


      switch (event.getOrder())
      {
      // Petrinet
      case AbstractViewEvent.ADD_PLACE:
        map.setType(AbstractPetriNetElementModel.PLACE_TYPE);
        editor.create(map);
        break;
      case AbstractViewEvent.ADD_TRANSITION:
        map.setType(AbstractPetriNetElementModel.TRANS_SIMPLE_TYPE);
        editor.create(map);
        break;
View Full Code Here


        map.setType(AbstractPetriNetElementModel.PLACE_TYPE);
        editor.create(map);
        break;
      case AbstractViewEvent.ADD_TRANSITION:
        map.setType(AbstractPetriNetElementModel.TRANS_SIMPLE_TYPE);
        editor.create(map);
        break;
      case AbstractViewEvent.ADD_ANDJOIN:
        map.setType(AbstractPetriNetElementModel.TRANS_OPERATOR_TYPE);
        map.setOperatorType(OperatorTransitionModel.AND_JOIN_TYPE);
        editor.create(map);
View Full Code Here

        editor.create(map);
        break;
      case AbstractViewEvent.ADD_ANDJOIN:
        map.setType(AbstractPetriNetElementModel.TRANS_OPERATOR_TYPE);
        map.setOperatorType(OperatorTransitionModel.AND_JOIN_TYPE);
        editor.create(map);
        break;
      case AbstractViewEvent.ADD_ANDSPLIT:
        map.setType(AbstractPetriNetElementModel.TRANS_OPERATOR_TYPE);
        map.setOperatorType(OperatorTransitionModel.AND_SPLIT_TYPE);
        editor.create(map);
View Full Code Here

        editor.create(map);
        break;
      case AbstractViewEvent.ADD_ANDSPLIT:
        map.setType(AbstractPetriNetElementModel.TRANS_OPERATOR_TYPE);
        map.setOperatorType(OperatorTransitionModel.AND_SPLIT_TYPE);
        editor.create(map);
        break;
      case AbstractViewEvent.ADD_ANDSPLITJOIN:
        map.setType(AbstractPetriNetElementModel.TRANS_OPERATOR_TYPE);
        map.setOperatorType(OperatorTransitionModel.AND_SPLITJOIN_TYPE);
        editor.create(map);
View Full Code Here

        editor.create(map);
        break;
      case AbstractViewEvent.ADD_ANDSPLITJOIN:
        map.setType(AbstractPetriNetElementModel.TRANS_OPERATOR_TYPE);
        map.setOperatorType(OperatorTransitionModel.AND_SPLITJOIN_TYPE);
        editor.create(map);
        break;
      case AbstractViewEvent.ADD_XORJOIN:
        map.setType(AbstractPetriNetElementModel.TRANS_OPERATOR_TYPE);
        map.setOperatorType(OperatorTransitionModel.XOR_JOIN_TYPE);
        editor.create(map);
View Full Code Here

        editor.create(map);
        break;
      case AbstractViewEvent.ADD_XORJOIN:
        map.setType(AbstractPetriNetElementModel.TRANS_OPERATOR_TYPE);
        map.setOperatorType(OperatorTransitionModel.XOR_JOIN_TYPE);
        editor.create(map);
        break;
      case AbstractViewEvent.ADD_XORSPLIT:
        map.setType(AbstractPetriNetElementModel.TRANS_OPERATOR_TYPE);
        map.setOperatorType(OperatorTransitionModel.XOR_SPLIT_TYPE);
        editor.create(map);
View Full Code Here

        editor.create(map);
        break;
      case AbstractViewEvent.ADD_XORSPLIT:
        map.setType(AbstractPetriNetElementModel.TRANS_OPERATOR_TYPE);
        map.setOperatorType(OperatorTransitionModel.XOR_SPLIT_TYPE);
        editor.create(map);
        break;
      case AbstractViewEvent.ADD_XORSPLITJOIN:
        map.setType(AbstractPetriNetElementModel.TRANS_OPERATOR_TYPE);
        map.setOperatorType(OperatorTransitionModel.XOR_SPLITJOIN_TYPE);
        editor.create(map);
View Full Code Here

        editor.create(map);
        break;
      case AbstractViewEvent.ADD_XORSPLITJOIN:
        map.setType(AbstractPetriNetElementModel.TRANS_OPERATOR_TYPE);
        map.setOperatorType(OperatorTransitionModel.XOR_SPLITJOIN_TYPE);
        editor.create(map);
        break;
      case AbstractViewEvent.ADD_ANDJOINXORSPLIT:
        map.setType(AbstractPetriNetElementModel.TRANS_OPERATOR_TYPE);
        map.setOperatorType(OperatorTransitionModel.ANDJOIN_XORSPLIT_TYPE);
        editor.create(map);
View Full Code Here

        editor.create(map);
        break;
      case AbstractViewEvent.ADD_ANDJOINXORSPLIT:
        map.setType(AbstractPetriNetElementModel.TRANS_OPERATOR_TYPE);
        map.setOperatorType(OperatorTransitionModel.ANDJOIN_XORSPLIT_TYPE);
        editor.create(map);
        break;
      case AbstractViewEvent.ADD_XORJOINANDSPLIT:
        map.setType(AbstractPetriNetElementModel.TRANS_OPERATOR_TYPE);
        map.setOperatorType(OperatorTransitionModel.XORJOIN_ANDSPLIT_TYPE);
        editor.create(map);
View Full Code Here

        editor.create(map);
        break;
      case AbstractViewEvent.ADD_XORJOINANDSPLIT:
        map.setType(AbstractPetriNetElementModel.TRANS_OPERATOR_TYPE);
        map.setOperatorType(OperatorTransitionModel.XORJOIN_ANDSPLIT_TYPE);
        editor.create(map);
        break;
      // General
      case AbstractViewEvent.RENAME:
        cell = editor.getGraph().getSelectionCell();
        if (cell instanceof TriggerModel)
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.