org.topcased.service.comparison
Class ETreeModel
java.lang.Object
org.topcased.service.comparison.ETreeModel
public class ETreeModel
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ETreeModel
public ETreeModel(ETreeModel parent,
EObject newObject,
boolean leaf,
boolean firstModel)
ETreeModel
public ETreeModel(ETreeModel parent,
EObject newObject,
boolean firstModel)
addToAllContainedSons
public boolean addToAllContainedSons(ETreeModel toAdd)
- Parameters:
toAdd
- the ETreeModel to add
- Returns:
- true if the ETreeModel to add, has been added, false otherwise
subToAllContainedSons
public boolean subToAllContainedSons(ETreeModel toSub)
- Parameters:
toSub
- the ETreeModel to remove
- Returns:
- true if the ETreeModel has been removed, false otherwise
getSons
public java.util.List getSons()
getEobject
public EObject getEobject()
getParent
public ETreeModel getParent()
getFirstModel
public boolean getFirstModel()
hasParent
public boolean hasParent(ETreeModel element)
setEParent
public void setEParent(ETreeModel parent)
setParent
public boolean setParent(ETreeModel parent)
getName
public java.lang.String getName()
flatten
public ETreeModel[] flatten()
- Returns a flat list of all gadgets in this gadget tree.
doFlatten
public java.util.ArrayList doFlatten(ETreeModel element)
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.