org.drools.eclipse.flow.common.editor.core
Class ProcessWrapper
java.lang.Object
org.drools.eclipse.flow.common.editor.core.ProcessWrapper
- All Implemented Interfaces:
- Serializable, ElementContainer, org.eclipse.ui.views.properties.IPropertySource
- Direct Known Subclasses:
- RuleFlowProcessWrapper
public abstract class ProcessWrapper
- extends Object
- implements ElementContainer, org.eclipse.ui.views.properties.IPropertySource, Serializable
A wrapper for process element.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CHANGE_ELEMENTS
public static final int CHANGE_ELEMENTS
- See Also:
- Constant Field Values
CHANGE_ROUTER_LAYOUT
public static final int CHANGE_ROUTER_LAYOUT
- See Also:
- Constant Field Values
ROUTER_LAYOUT_MANUAL
public static final Integer ROUTER_LAYOUT_MANUAL
ROUTER_LAYOUT_MANHATTAN
public static final Integer ROUTER_LAYOUT_MANHATTAN
ROUTER_LAYOUT_SHORTEST_PATH
public static final Integer ROUTER_LAYOUT_SHORTEST_PATH
NAME
public static final String NAME
- See Also:
- Constant Field Values
VERSION
public static final String VERSION
- See Also:
- Constant Field Values
ID
public static final String ID
- See Also:
- Constant Field Values
PACKAGE_NAME
public static final String PACKAGE_NAME
- See Also:
- Constant Field Values
ROUTER_LAYOUT
public static final String ROUTER_LAYOUT
- See Also:
- Constant Field Values
VARIABLES
public static final String VARIABLES
- See Also:
- Constant Field Values
SWIMLANES
public static final String SWIMLANES
- See Also:
- Constant Field Values
EXCEPTION_HANDLERS
public static final String EXCEPTION_HANDLERS
- See Also:
- Constant Field Values
descriptors
protected org.eclipse.ui.views.properties.IPropertyDescriptor[] descriptors
ProcessWrapper
public ProcessWrapper()
createProcess
protected abstract org.drools.definition.process.Process createProcess()
getProcess
public org.drools.definition.process.Process getProcess()
localSetProcess
public void localSetProcess(org.drools.definition.process.Process process)
getName
public String getName()
setName
public void setName(String name)
getVersion
public String getVersion()
setVersion
public void setVersion(String version)
getId
public String getId()
setId
public void setId(String id)
getPackageName
public String getPackageName()
setPackageName
public void setPackageName(String packageName)
getRouterLayout
public Integer getRouterLayout()
setRouterLayout
public void setRouterLayout(Integer routerLayout)
getElements
public List<ElementWrapper> getElements()
- Specified by:
getElements in interface ElementContainer
getElement
public ElementWrapper getElement(String id)
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)
getProcessWrapper
public ProcessWrapper getProcessWrapper()
- Specified by:
getProcessWrapper in interface ElementContainer
addListener
public void addListener(ModelListener listener)
removeListener
public void removeListener(ModelListener listener)
notifyListeners
public void notifyListeners(int change)
getEditableValue
public Object getEditableValue()
- Specified by:
getEditableValue in interface org.eclipse.ui.views.properties.IPropertySource
getPropertyDescriptors
public org.eclipse.ui.views.properties.IPropertyDescriptor[] getPropertyDescriptors()
- Specified by:
getPropertyDescriptors in interface org.eclipse.ui.views.properties.IPropertySource
initPropertyDescriptors
public void initPropertyDescriptors()
isFullProperties
public boolean isFullProperties()
getPropertyValue
public Object getPropertyValue(Object id)
- Specified by:
getPropertyValue in interface org.eclipse.ui.views.properties.IPropertySource
isPropertySet
public boolean isPropertySet(Object id)
- Specified by:
isPropertySet in interface org.eclipse.ui.views.properties.IPropertySource
resetPropertyValue
public void resetPropertyValue(Object id)
- Specified by:
resetPropertyValue in interface org.eclipse.ui.views.properties.IPropertySource
setPropertyValue
public void setPropertyValue(Object id,
Object value)
- Specified by:
setPropertyValue in interface org.eclipse.ui.views.properties.IPropertySource
canAddElement
public boolean canAddElement(ElementWrapper element)
- Specified by:
canAddElement in interface ElementContainer
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.