|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Rule
Field Summary | |
---|---|
static long |
ABOUT_TO_PERSIST
|
static long |
CHANGE
Indicates if this rule is of type change. |
static long |
CHANGE_AND_INITIALIZATION
Indicates if this rule is of type change & initialization. |
static long |
COPYCONTENT
|
static long |
DOM_DELETED
|
static long |
DOM_INITIALIZED
|
static long |
LIST_ITEM_DESELECTED
|
static long |
LIST_ITEM_SELECTED
|
static long |
NONE
|
static long |
ONCREATE
Indicates if this rule is of type on creation time of visualizer. |
static long |
PASTECONTENT
|
static long |
PERSISTENT
|
static long |
PROPERTYCHANGE
Indicates if this rule is of type property change. |
static long |
SAVEDOCUMENT
Indicates if this rule is of type save document. |
static long |
STRUCTURE_CHANGE
Indicates if this rule is of type structure change. |
static long |
STRUCTURE_CHANGE_ADD
Indicates if this rule is of type structure change (add). |
static long |
STRUCTURE_CHANGE_REMOVE
Indicates if this rule is of type structure change (remove). |
static long |
VISUALIZED
Indicates if this rule is of type initializisation. |
Method Summary | |
---|---|
void |
apply(Type eventSource,
java.lang.Object event)
Applies ECA behaviour for the given sourceType |
void |
apply(Type eventSource,
java.lang.Object event,
boolean isRunningAsServer)
Applies ECA behaviour for the given sourceType. |
void |
apply(Type eventSource,
java.lang.Object event,
boolean isRunningAsServer,
java.util.Stack callStack)
|
java.lang.Object |
clone(Type newSource)
|
boolean |
doesConcern(Type sourceType)
Indicates if the passing type does concern this rule. |
java.util.List |
getActions()
Returns the actions for this rule. |
ConditionExpression |
getCondition()
Returns the defined condition for this rule. |
java.lang.String |
getId()
|
int |
getPriority()
|
long |
getRuleType()
Return the rule type. |
Type |
getSource()
Returns the source of this E-C-A rule. |
boolean |
isAboutToPersistRule()
Indicates if this rule is of type on persistent. |
boolean |
isChangeAndInitializationRule()
Indicates if this rule is of type change & initialization. |
boolean |
isChangeRule()
Indicates if this rule is of type change. |
boolean |
isCopyContentRule()
Indicates if this rule is of type on copyContent. |
boolean |
isDomDeletedRule()
|
boolean |
isDomInitialized()
|
boolean |
isListItemDeselectedRule()
Indicates if this rule is of type listtypedeselected. |
boolean |
isListItemSelectedRule()
Indicates if this rule is of type listtypeselected. |
boolean |
isOnCreationRule()
Indicates if this rule is of type on creation. |
boolean |
isPasteContentRule()
Indicates if this rule is of type on creation. |
boolean |
isPersistentRule()
Indicates if this rule is of type on persistent. |
boolean |
isPropertyChangeRule()
Indicates if this rule is of type property change. |
boolean |
isReleased()
|
boolean |
isSaveDocumentRule()
Indicates if this rule is of type save document. |
boolean |
isStructureChangeAddRule()
Indicates if this rule is of type structure change (add). |
boolean |
isStructureChangeRemoveRule()
Indicates if this rule is of type structure change (remove). |
boolean |
isStructureChangeRule()
Indicates if this rule is of type structure change. |
boolean |
isVisualizerInitializationRule()
Indicates if this rule is of type initializisation. |
void |
release()
Release all allocated resources for this rule. |
void |
setCondition(ConditionExpression condition)
Sets the condition of this rule. |
void |
setPriority(int priority)
Sets the priority of this rule. |
Field Detail |
---|
static final long NONE
static final long VISUALIZED
static final long CHANGE
static final long CHANGE_AND_INITIALIZATION
static final long PROPERTYCHANGE
static final long STRUCTURE_CHANGE_ADD
static final long STRUCTURE_CHANGE_REMOVE
static final long STRUCTURE_CHANGE
static final long DOM_INITIALIZED
static final long LIST_ITEM_SELECTED
static final long LIST_ITEM_DESELECTED
static final long SAVEDOCUMENT
static final long ONCREATE
static final long COPYCONTENT
static final long PASTECONTENT
static final long PERSISTENT
static final long ABOUT_TO_PERSIST
static final long DOM_DELETED
Method Detail |
---|
void apply(Type eventSource, java.lang.Object event)
event
- TODOvoid apply(Type eventSource, java.lang.Object event, boolean isRunningAsServer)
event
- TODOisRunningAsServer
- defines if this rule should be applied in server modeboolean doesConcern(Type sourceType)
sourceType
- source of an occured changeindicates
- if the change was a simple property changejava.util.List getActions()
ConditionExpression getCondition()
Type getSource()
void release()
int getPriority()
java.lang.String getId()
boolean isVisualizerInitializationRule()
boolean isOnCreationRule()
boolean isCopyContentRule()
boolean isPasteContentRule()
boolean isPersistentRule()
boolean isAboutToPersistRule()
boolean isListItemSelectedRule()
boolean isListItemDeselectedRule()
boolean isChangeRule()
boolean isChangeAndInitializationRule()
boolean isPropertyChangeRule()
boolean isStructureChangeRule()
boolean isStructureChangeAddRule()
boolean isStructureChangeRemoveRule()
boolean isSaveDocumentRule()
boolean isDomDeletedRule()
boolean isDomInitialized()
long getRuleType()
java.lang.Object clone(Type newSource)
void setCondition(ConditionExpression condition)
condition
- condition for this rulevoid setPriority(int priority)
priority
- boolean isReleased()
void apply(Type eventSource, java.lang.Object event, boolean isRunningAsServer, java.util.Stack callStack)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |