|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.kaom.importer.ptolemy.PtolemyHelper
public class PtolemyHelper
Helper methods to inspect Ptolemy models. Could be used from Xtend transformations.
Constructor Summary | |
---|---|
PtolemyHelper()
Constructs a new instance. |
Method Summary | |
---|---|
List<Port> |
getPorts(EntityType ptolemyEntity)
Returns a list of ports of the given entity type. |
List<Port> |
getPorts(List<EntityType> entities)
Returns a list of all the ports of the given entity types. |
void |
setExecutionContext(org.eclipse.xtend.expression.ExecutionContext context)
Execution context is set by Xtend component from outside. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PtolemyHelper()
Method Detail |
---|
public List<Port> getPorts(List<EntityType> entities)
entities
- the entity types whose ports to return.
public List<Port> getPorts(EntityType ptolemyEntity)
ptolemyEntity
- the entity type whose ports to return.
public void setExecutionContext(org.eclipse.xtend.expression.ExecutionContext context)
setExecutionContext
in interface org.eclipse.xtend.expression.IExecutionContextAware
context
- the execution context.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |