Codota Logo
Node.setNodeContainer
Code IndexAdd Codota to your IDE (free)

How to use
setNodeContainer
method
in
org.jbpm.workflow.core.Node

Best Java code snippets using org.jbpm.workflow.core.Node.setNodeContainer (Showing top 8 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Gson g =
  • Codota Iconnew Gson()
  • Codota IconGsonBuilder gsonBuilder;gsonBuilder.create()
  • Codota Iconnew GsonBuilder().create()
  • Smart code suggestions by Codota
}
origin: kiegroup/jbpm

public void addNode(final Node node) {
  nodeContainer.addNode(node);
  ((org.jbpm.workflow.core.Node) node).setNodeContainer(this);
}

origin: kiegroup/jbpm

public void removeNode(final Node node) {
  nodeContainer.removeNode(node);
  ((org.jbpm.workflow.core.Node) node).setNodeContainer(null);
}
origin: kiegroup/jbpm

public void removeNode(Node node) {
  nodeContainer.removeNode(node);
  ((org.jbpm.workflow.core.Node) node).setNodeContainer(null);
}

origin: kiegroup/jbpm

public void addNode(Node node) {
  // TODO find a more elegant solution for this
  // preferrable remove id setting from this class
  // and delegate to GUI command that drops node
  if (node.getId() <= 0) {
    long id = 0;
    for (Node n: nodeContainer.getNodes()) {
      if (n.getId() > id) {
        id = n.getId();
      }
    }
    ((org.jbpm.workflow.core.Node) node).setId(++id);
  }
  nodeContainer.addNode(node);
  ((org.jbpm.workflow.core.Node) node).setNodeContainer(this);
}

origin: org.jbpm/jbpm-flow

public void removeNode(Node node) {
  nodeContainer.removeNode(node);
  ((org.jbpm.workflow.core.Node) node).setNodeContainer(null);
}

origin: org.jbpm/jbpm-flow

public void removeNode(final Node node) {
  nodeContainer.removeNode(node);
  ((org.jbpm.workflow.core.Node) node).setNodeContainer(null);
}
origin: org.jbpm/jbpm-flow

public void addNode(final Node node) {
  nodeContainer.addNode(node);
  ((org.jbpm.workflow.core.Node) node).setNodeContainer(this);
}

origin: org.jbpm/jbpm-flow

public void addNode(Node node) {
  // TODO find a more elegant solution for this
  // preferrable remove id setting from this class
  // and delegate to GUI command that drops node
  if (node.getId() <= 0) {
    long id = 0;
    for (Node n: nodeContainer.getNodes()) {
      if (n.getId() > id) {
        id = n.getId();
      }
    }
    ((org.jbpm.workflow.core.Node) node).setId(++id);
  }
  nodeContainer.addNode(node);
  ((org.jbpm.workflow.core.Node) node).setNodeContainer(this);
}

org.jbpm.workflow.coreNodesetNodeContainer

Popular methods of Node

  • setId
    Method for setting the id of the node
  • setName
    Method for setting the name of the node
  • getMetaData
  • getName
  • setMetaData
  • getId
  • getUniqueId
  • addIncomingConnection
  • addOutgoingConnection
  • getNodeContainer
  • removeIncomingConnection
  • removeOutgoingConnection
  • removeIncomingConnection,
  • removeOutgoingConnection

Popular in Java

  • Start an intent from android
  • scheduleAtFixedRate (ScheduledExecutorService)
  • onCreateOptionsMenu (Activity)
  • setScale (BigDecimal)
    Returns a BigDecimal whose scale is the specified value, and whose value is numerically equal to thi
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • KeyStore (java.security)
    This class represents an in-memory collection of keys and certificates. It manages two types of entr
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now