|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.drools.eclipse.editors.rete.model.ModelElement
org.drools.eclipse.editors.rete.model.ReteGraph
public class ReteGraph
Rete graph containing a set of vertices that form the graph itself.
| Field Summary | |
|---|---|
static String |
PROP_CHILD_ADDED
Property ID to use when a child is added to this diagram. |
static String |
PROP_CHILD_REMOVED
Property ID to use when a child is removed from this diagram. |
| Constructor Summary | |
|---|---|
ReteGraph()
|
|
| Method Summary | |
|---|---|
void |
addAll(List children)
|
boolean |
addChild(BaseVertex vertex)
Add new BaseVertex to the graph |
List |
getChildren()
Return all Vertices in this graph |
void |
removeAll()
Removes all vertices from graph. |
boolean |
removeChild(BaseVertex vertex)
Remove a vertex from this graph |
| Methods inherited from class org.drools.eclipse.editors.rete.model.ModelElement |
|---|
addPropertyChangeListener, firePropertyChange, removePropertyChangeListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String PROP_CHILD_ADDED
public static final String PROP_CHILD_REMOVED
| Constructor Detail |
|---|
public ReteGraph()
| Method Detail |
|---|
public boolean addChild(BaseVertex vertex)
vertex -
public List getChildren()
public boolean removeChild(BaseVertex vertex)
vertex - vertex to be removed
public void removeAll()
public void addAll(List children)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||