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

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

public class DefaultNodeWrapper
extends AbstractNodeWrapper

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.drools.eclipse.flow.ruleflow.core.AbstractNodeWrapper
DESCRIPTORS, METADATA
 
Fields inherited from class org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper
color, COLOR, 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
DefaultNodeWrapper(String nodeClassName)
           
 
Method Summary
 boolean acceptsIncomingConnection(ElementConnection connection, ElementWrapper source)
           
 boolean acceptsOutgoingConnection(ElementConnection connection, ElementWrapper target)
           
 
Methods inherited from class org.drools.eclipse.flow.ruleflow.core.AbstractNodeWrapper
getId, getName, getNode, getPropertyDescriptors, getPropertyValue, internalGetColor, internalGetConstraint, internalSetColor, internalSetConstraint, internalSetName, isFullProperties, resetPropertyValue, setNode, setPropertyValue
 
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, internalRemoveIncomingConnection, internalRemoveOutgoingConnection, 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
 

Constructor Detail

DefaultNodeWrapper

public DefaultNodeWrapper(String nodeClassName)
Method Detail

acceptsIncomingConnection

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

acceptsOutgoingConnection

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


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