Modifier and Type | Method and Description |
---|---|
void |
addPlanListener(String type,
IPlanListener listener)
Add a plan listener.
|
IPlan |
createPlan(IMPlan mplan)
Create a plan instance.
|
IPlan[] |
getPlans()
Get all running plans of this planbase.
|
IPlan[] |
getPlans(String type)
Get all plans of a specified type (=model element name).
|
void |
removePlanListener(String type,
IPlanListener listener)
Remove a goal listener.
|
getModelElement
IPlan[] getPlans()
IPlan[] getPlans(String type)
type
- The plan type.void addPlanListener(String type, IPlanListener listener)
type
- The goal type.listener
- The plan listener.void removePlanListener(String type, IPlanListener listener)
type
- The goal type.listener
- The goal listener.Copyright © 2013. All Rights Reserved.