org.drools.eclipse.flow.common.editor.core
Class ElementContainerElementWrapper

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

public abstract class ElementContainerElementWrapper
extends DefaultElementWrapper
implements ElementContainer

See Also:
Serialized Form

Field Summary
static int ADD_ELEMENT
           
static int 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
ElementContainerElementWrapper()
           
 
Method Summary
 void addElement(ElementWrapper element)
           
 boolean canAddElement(ElementWrapper element)
           
 List<ElementWrapper> getElements()
           
 ProcessWrapper getProcessWrapper()
           
protected abstract  void internalAddElement(ElementWrapper element)
           
protected abstract  void internalRemoveElement(ElementWrapper element)
           
 void localAddElement(ElementWrapper element)
           
 void removeElement(ElementWrapper element)
           
 
Methods inherited from class org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper
addIncomingConnection, addListener, addOutgoingConnection, getColor, getConstraint, getEditableValue, getElement, getIncomingConnections, getOutgoingConnections, getParent, getPropertyDescriptors, getPropertyValue, integerToRGB, internalAddIncomingConnection, internalAddOutgoingConnection, internalGetColor, internalGetConstraint, internalRemoveIncomingConnection, internalRemoveOutgoingConnection, internalSetColor, internalSetConstraint, internalSetName, isPropertySet, localAddIncomingConnection, localAddOutgoingConnection, notifyListeners, removeIncomingConnection, removeListener, removeOutgoingConnection, resetPropertyValue, RGBToInteger, setColor, setConstraint, setElement, setName, setParent, setPropertyValue
 
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
acceptsIncomingConnection, acceptsOutgoingConnection, getId, getName
 

Field Detail

ADD_ELEMENT

public static final int ADD_ELEMENT
See Also:
Constant Field Values

REMOVE_ELEMENT

public static final int REMOVE_ELEMENT
See Also:
Constant Field Values
Constructor Detail

ElementContainerElementWrapper

public ElementContainerElementWrapper()
Method Detail

addElement

public void addElement(ElementWrapper element)
Specified by:
addElement in interface ElementContainer

localAddElement

public void localAddElement(ElementWrapper element)
Specified by:
localAddElement in interface ElementContainer

internalAddElement

protected abstract void internalAddElement(ElementWrapper element)

removeElement

public void removeElement(ElementWrapper element)
Specified by:
removeElement in interface ElementContainer

internalRemoveElement

protected abstract void internalRemoveElement(ElementWrapper element)

getElements

public List<ElementWrapper> getElements()
Specified by:
getElements in interface ElementContainer

getProcessWrapper

public ProcessWrapper getProcessWrapper()
Specified by:
getProcessWrapper in interface ElementContainer

canAddElement

public boolean canAddElement(ElementWrapper element)
Specified by:
canAddElement in interface ElementContainer


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