Package org.woped.core.model.petrinet

Examples of org.woped.core.model.petrinet.NameModel


    setSaved(false);
    // to enable renaming of simpleTransitions in Operators we have to call
    // the method setNameValue() after changing the name with jgraph-method
    // startEditingAtCell()
    if (getGraph().getLastEdited() != null) {
      NameModel nM = getGraph().getLastEdited();
      AbstractPetriNetElementModel aem = getModelProcessor()
          .getElementContainer().getElementById(nM.getOwnerId());
      if (aem != null) {
        aem.setNameValue(nM.getNameValue());
      }
      getGraph().setLastEditedNull();
    }
  }
View Full Code Here

TOP

Related Classes of org.woped.core.model.petrinet.NameModel

Copyright © 2018 www.massapicom. 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.