|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TemplateLink
Describes a link between two components in a template design. A link
is symmetric so it makes no difference which TemplateComponent is
added to the "left" or to the "right". "Left" and "right" are used only to
enable addressing the two TemplateComponents separately.
| Field Summary |
|---|
| Fields inherited from interface ides.api.core.Annotable |
|---|
COMPOSED_OF, COMPOSED_OF_NAMES, CONTROL_MAP, FILE, LAYOUT, TEXT_ANNOTATION |
| Method Summary | |
|---|---|
boolean |
existsLeftEvent()
Checks if the FSAModel of the first TemplateComponent
contains the linked event. |
boolean |
existsRightEvent()
Checks if the FSAModel of the second TemplateComponent
contains the linked event. |
TemplateComponent |
getChannel()
Retrieve the channel linked by the link, if any. |
TemplateComponent[] |
getComponents()
Retrieve the two TemplateComponents linked by the link. |
TemplateComponent |
getLeftComponent()
Retrieve the first TemplateComponent linked by the link. |
ides.api.plugin.model.DESEvent |
getLeftEvent()
Retrieves the linked DESEvent from the first
TemplateComponent. |
java.lang.String |
getLeftEventName()
Retrieve the name of the linked event from the first TemplateComponent. |
TemplateComponent |
getModule()
Retrieve the module linked by the link, if any. |
TemplateComponent |
getRightComponent()
Retrieve the second TemplateComponent linked by the link. |
ides.api.plugin.model.DESEvent |
getRightEvent()
Retrieves the linked DESEvent from the second
TemplateComponent. |
java.lang.String |
getRightEventName()
Retrieve the name of the linked event from the second TemplateComponent. |
void |
setLeftEventName(java.lang.String name)
Set the name of the linked event from the first TemplateComponent
. |
void |
setRightEventName(java.lang.String name)
Set the name of the linked event from the second TemplateComponent. |
| Methods inherited from interface ides.api.plugin.model.DESElement |
|---|
getId, setId |
| Methods inherited from interface ides.api.core.Annotable |
|---|
getAnnotation, hasAnnotation, removeAnnotation, setAnnotation |
| Method Detail |
|---|
TemplateComponent getLeftComponent()
TemplateComponent linked by the link.
A link is symmetric. "Left" and "right" are used only to enable
addressing the two TemplateComponents separately.
TemplateComponent linked by the linkTemplateComponent getRightComponent()
TemplateComponent linked by the link.
A link is symmetric. "Left" and "right" are used only to enable
addressing the two TemplateComponents separately.
TemplateComponent linked by the linkTemplateComponent[] getComponents()
TemplateComponents linked by the link.
TemplateComponents linked by the linkTemplateComponent getModule()
TemplateComponents are modules, returns
arbitrarily one of them); null if no module
is linkedTemplateComponent getChannel()
TemplateComponents are channels, returns
arbitrarily one of them); null if no channel
is linkedjava.lang.String getLeftEventName()
TemplateComponent.
A link is symmetric. "Left" and "right" are used only to enable
addressing the two TemplateComponents separately.
TemplateComponentboolean existsLeftEvent()
FSAModel of the first TemplateComponent
contains the linked event.
A link is symmetric. "Left" and "right" are used only to enable
addressing the two TemplateComponents separately.
true if the first linked TemplateComponent
has an assigned FSAModel and if this FSAModel
contains the linked event; false otherwiseides.api.plugin.model.DESEvent getLeftEvent()
DESEvent from the first
TemplateComponent.
A link is symmetric. "Left" and "right" are used only to enable
addressing the two TemplateComponents separately.
DESEvent from the FSAModel of the
first TemplateComponent, if the TemplateComponent
has an assigned FSAModel and if this FSAModel
contains the linked event; null otherwisejava.lang.String getRightEventName()
TemplateComponent.
A link is symmetric. "Left" and "right" are used only to enable
addressing the two TemplateComponents separately.
TemplateComponentboolean existsRightEvent()
FSAModel of the second TemplateComponent
contains the linked event.
A link is symmetric. "Left" and "right" are used only to enable
addressing the two TemplateComponents separately.
true if the second linked TemplateComponent
has an assigned FSAModel and if this FSAModel
contains the linked event; false otherwiseides.api.plugin.model.DESEvent getRightEvent()
DESEvent from the second
TemplateComponent.
A link is symmetric. "Left" and "right" are used only to enable
addressing the two TemplateComponents separately.
DESEvent from the FSAModel of the
second TemplateComponent, if the
TemplateComponent has an assigned FSAModel and if
this FSAModel contains the linked event;
null otherwisevoid setLeftEventName(java.lang.String name)
TemplateComponent
.
A link is symmetric. "Left" and "right" are used only to enable
addressing the two TemplateComponents separately.
name - the name of the linked event from the first
TemplateComponentvoid setRightEventName(java.lang.String name)
TemplateComponent.
A link is symmetric. "Left" and "right" are used only to enable
addressing the two TemplateComponents separately.
name - the name of the linked event from the second
TemplateComponent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||