public class Adopt extends NamedLapElement<Adopt,PoshPlan>
| Modifier and Type | Field and Description |
|---|---|
static String |
adName
Property string of competence name
|
static DataFlavor |
dataFlavor
Data flavor of adopt class, used for drag-and-drop
|
IDENT_PATTERN| Constructor and Description |
|---|
Adopt(String name,
FormalParameters parameters,
List<Sense> exitCondition,
PrimitiveCall adoptedElement) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCondition(Sense sense) |
TriggeredAction |
getAdoptedElement() |
List<? extends PoshElement> |
getChildDataNodes()
Get list of children of this node.
|
DataFlavor |
getDataFlavor()
Get data flavour of posh plan element,used during DnD from palette to
PoshScene.
|
Trigger<Adopt> |
getExitCondition() |
String |
getName()
Get name of the element.
|
FormalParameters |
getParameters() |
boolean |
moveChild(int newIndex,
PoshElement child)
Move child to the @newIndex.
|
void |
setAdoptedElement(TriggeredAction adoptedElement) |
void |
setName(String name) |
void |
setParameters(FormalParameters parameters) |
getUnusedName, isUsedName, moveChildInListaddElementListener, emitChildDeleted, emitChildMove, emitChildNode, firePropertyChange, getElementListeners, getNumberOfChildInstances, getParent, getRootNode, isChildOfParent, removeElementListener, setParentpublic static final DataFlavor dataFlavor
public static final String adName
public Adopt(String name, FormalParameters parameters, List<Sense> exitCondition, PrimitiveCall adoptedElement)
public FormalParameters getParameters()
public void setParameters(FormalParameters parameters)
public String getName()
NamedLapElementgetName in class NamedLapElement<Adopt,PoshPlan>public void setName(String name) throws InvalidNameException, DuplicateNameException, CycleException
public void addCondition(Sense sense)
public TriggeredAction getAdoptedElement()
public void setAdoptedElement(TriggeredAction adoptedElement)
public DataFlavor getDataFlavor()
PoshElementgetDataFlavor in class PoshElement<Adopt,PoshPlan>public List<? extends PoshElement> getChildDataNodes()
PoshElementgetChildDataNodes in class PoshElement<Adopt,PoshPlan>public boolean moveChild(int newIndex,
PoshElement child)
PoshElementmoveChild in class PoshElement<Adopt,PoshPlan>Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.