Examples of maintainReferences()


Examples of org.openbp.core.model.item.process.ProcessObject.maintainReferences()

      ExceptionUtil.printTrace(e);
      return EVENT_CONSUMED;
    }

    // Make sure all subordinate objects refer to this object
    orig.maintainReferences(0);

    if (orig instanceof MultiSocketNode)
    {
      MultiSocketNode node = (MultiSocketNode) orig;
View Full Code Here

Examples of org.openbp.core.model.item.process.ProcessVariable.maintainReferences()

    VariablesContainer container = (VariablesContainer) editedObject;

    for (Iterator it = container.getProcessVariables(); it.hasNext();)
    {
      ProcessVariable param = (ProcessVariable) it.next();
      param.maintainReferences(ModelObject.VALIDATE_BASIC | ModelObject.RESOLVE_GLOBAL_REFS);
    }

    checkNameUniqueness(container);

    // Print errors and return if any have been found
View Full Code Here

Examples of org.openbp.core.model.item.process.ProcessVariable.maintainReferences()

    name = NamedObjectCollectionUtil.createUniqueId(paramList, name);
    param.setName(name);

    // Add the new parameter to the process
    currentProcess.addProcessVariable(param);
    param.maintainReferences(ModelObject.SYNC_GLOBAL_REFNAMES | ModelObject.SYNC_LOCAL_REFNAMES);

    // Redisplay the param list
    showParams();

    // We modified the current object by adding a parameter
View Full Code Here

Examples of org.openbp.core.model.item.process.ProcessVariableImpl.maintainReferences()

    name = NamedObjectCollectionUtil.createUniqueId(paramList, name);
    param.setName(name);

    // Add the new parameter to the process
    currentProcess.addProcessVariable(param);
    param.maintainReferences(ModelObject.SYNC_GLOBAL_REFNAMES | ModelObject.SYNC_LOCAL_REFNAMES);

    // Redisplay the param list
    showParams();

    // We modified the current object by adding a parameter
View Full Code Here

Examples of org.openbp.core.model.item.process.TextElement.maintainReferences()

      TextElement textElement = (TextElement) it.next();

      target.addTextElement(textElement);

      // Rebuild the references after adding the object to the target
      textElement.maintainReferences(ModelObject.SYNC_GLOBAL_REFNAMES);

      TextElementFigure textElementFigure = drawing.createTextElementFigure(textElement);
      if (textElementFigure == null)
      {
        target.removeTextElement(textElement);
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.