org.drools.eclipse.flow.ruleflow.core
Class CompositeContextNodeWrapper

java.lang.Object
  extended by org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper
      extended by org.drools.eclipse.flow.common.editor.core.ElementContainerElementWrapper
          extended by org.drools.eclipse.flow.ruleflow.core.CompositeNodeWrapper
              extended by org.drools.eclipse.flow.ruleflow.core.CompositeContextNodeWrapper
All Implemented Interfaces:
Serializable, ElementContainer, ElementWrapper, NodeWrapper, org.eclipse.ui.views.properties.IPropertySource

public class CompositeContextNodeWrapper
extends CompositeNodeWrapper

See Also:
Serialized Form

Field Summary
static String END_NODE
           
static String EXCEPTION_HANDLERS
           
static String START_NODE
           
static String VARIABLES
           
 
Fields inherited from class org.drools.eclipse.flow.ruleflow.core.CompositeNodeWrapper
ON_ENTRY_ACTIONS, ON_EXIT_ACTIONS, TIMERS
 
Fields inherited from class org.drools.eclipse.flow.common.editor.core.ElementContainerElementWrapper
ADD_ELEMENT, REMOVE_ELEMENT
 
Fields inherited from class org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper
color, COLOR, DESCRIPTORS, ID, NAME
 
Fields inherited from interface org.drools.eclipse.flow.common.editor.core.ElementWrapper
CHANGE_CONSTRAINT, CHANGE_ID, CHANGE_INCOMING_CONNECTIONS, CHANGE_NAME, CHANGE_OUTGOING_CONNECTIONS
 
Constructor Summary
CompositeContextNodeWrapper()
           
 
Method Summary
 boolean acceptsIncomingConnection(ElementConnection connection, ElementWrapper source)
           
 boolean acceptsOutgoingConnection(ElementConnection connection, ElementWrapper target)
           
 org.jbpm.workflow.core.node.CompositeContextNode getCompositeContextNode()
           
 org.eclipse.ui.views.properties.IPropertyDescriptor[] getPropertyDescriptors()
           
 Object getPropertyValue(Object id)
           
protected  void internalAddElement(ElementWrapper element)
           
protected  void internalRemoveElement(ElementWrapper element)
           
 void resetPropertyValue(Object id)
           
 void setPropertyValue(Object id, Object value)
           
 
Methods inherited from class org.drools.eclipse.flow.ruleflow.core.CompositeNodeWrapper
getCompositeNode, getId, getName, getNode, initDescriptors, internalGetConstraint, internalSetConstraint, internalSetName, isFullProperties, setNode
 
Methods inherited from class org.drools.eclipse.flow.common.editor.core.ElementContainerElementWrapper
addElement, canAddElement, getElements, getProcessWrapper, localAddElement, removeElement
 
Methods inherited from class org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper
addIncomingConnection, addListener, addOutgoingConnection, getColor, getConstraint, getEditableValue, getElement, getIncomingConnections, getOutgoingConnections, getParent, integerToRGB, internalAddIncomingConnection, internalAddOutgoingConnection, internalGetColor, internalRemoveIncomingConnection, internalRemoveOutgoingConnection, internalSetColor, isPropertySet, localAddIncomingConnection, localAddOutgoingConnection, notifyListeners, removeIncomingConnection, removeListener, removeOutgoingConnection, RGBToInteger, setColor, setConstraint, setElement, setName, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.drools.eclipse.flow.common.editor.core.ElementWrapper
addIncomingConnection, addListener, addOutgoingConnection, getConstraint, getIncomingConnections, getOutgoingConnections, getParent, localAddIncomingConnection, localAddOutgoingConnection, removeIncomingConnection, removeListener, removeOutgoingConnection, setConstraint, setName, setParent
 

Field Detail

VARIABLES

public static final String VARIABLES
See Also:
Constant Field Values

START_NODE

public static final String START_NODE
See Also:
Constant Field Values

END_NODE

public static final String END_NODE
See Also:
Constant Field Values

EXCEPTION_HANDLERS

public static final String EXCEPTION_HANDLERS
See Also:
Constant Field Values
Constructor Detail

CompositeContextNodeWrapper

public CompositeContextNodeWrapper()
Method Detail

getPropertyDescriptors

public org.eclipse.ui.views.properties.IPropertyDescriptor[] getPropertyDescriptors()
Specified by:
getPropertyDescriptors in interface org.eclipse.ui.views.properties.IPropertySource
Overrides:
getPropertyDescriptors in class CompositeNodeWrapper

getCompositeContextNode

public org.jbpm.workflow.core.node.CompositeContextNode getCompositeContextNode()

acceptsIncomingConnection

public boolean acceptsIncomingConnection(ElementConnection connection,
                                         ElementWrapper source)
Specified by:
acceptsIncomingConnection in interface ElementWrapper
Overrides:
acceptsIncomingConnection in class CompositeNodeWrapper

acceptsOutgoingConnection

public boolean acceptsOutgoingConnection(ElementConnection connection,
                                         ElementWrapper target)
Specified by:
acceptsOutgoingConnection in interface ElementWrapper
Overrides:
acceptsOutgoingConnection in class CompositeNodeWrapper

internalAddElement

protected void internalAddElement(ElementWrapper element)
Overrides:
internalAddElement in class CompositeNodeWrapper

internalRemoveElement

protected void internalRemoveElement(ElementWrapper element)
Overrides:
internalRemoveElement in class CompositeNodeWrapper

getPropertyValue

public Object getPropertyValue(Object id)
Specified by:
getPropertyValue in interface org.eclipse.ui.views.properties.IPropertySource
Overrides:
getPropertyValue in class CompositeNodeWrapper

resetPropertyValue

public void resetPropertyValue(Object id)
Specified by:
resetPropertyValue in interface org.eclipse.ui.views.properties.IPropertySource
Overrides:
resetPropertyValue in class CompositeNodeWrapper

setPropertyValue

public void setPropertyValue(Object id,
                             Object value)
Specified by:
setPropertyValue in interface org.eclipse.ui.views.properties.IPropertySource
Overrides:
setPropertyValue in class CompositeNodeWrapper


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.