public interface EventHandler
extends org.eclipse.emf.ecore.EObject
The following features are supported:
GuigenPackage.getEventHandler()| Modifier and Type | Method and Description |
|---|---|
Command |
getCommand()
Returns the value of the 'Command' containment reference
|
org.eclipse.emf.common.util.EList<java.lang.String> |
getEventSpecifiers()
Returns the value of the 'Event Specifiers' attribute list.
|
EventTypes |
getEventType()
Returns the value of the 'Event Type' attribute.
|
MethodProtectionTypes |
getMethodProtection()
Returns the value of the 'Method Protection' attribute.
|
boolean |
isSkipValidation()
Returns the value of the 'Skip Validation' attribute
|
void |
setCommand(Command value)
Sets the value of the '
Command' containment reference |
void |
setEventType(EventTypes value)
Sets the value of the '
Event Type' attribute |
void |
setMethodProtection(MethodProtectionTypes value)
Sets the value of the '
Method Protection' attribute |
void |
setSkipValidation(boolean value)
Sets the value of the '
Skip Validation' attribute |
Command getCommand()
If the meaning of the 'Command' containment reference isn't clear, there really should be more of a description here...
A fronte dell'evento specificato in eventType sarà eseguito il comando specificato in questo elemento.setCommand(Command),
GuigenPackage.getEventHandler_Command()void setCommand(Command value)
Command' containment reference.
value - the new value of the 'Command' containment reference.getCommand()EventTypes getEventType()
EventTypes.
If the meaning of the 'Event Type' attribute isn't clear, there really should be more of a description here...
Specifica il tipo di evento per cui è definito questo event handler.EventTypes,
setEventType(EventTypes),
GuigenPackage.getEventHandler_EventType()void setEventType(EventTypes value)
Event Type' attribute.
value - the new value of the 'Event Type' attribute.EventTypes,
getEventType()boolean isSkipValidation()
If the meaning of the 'Skip Validation' attribute isn't clear, there really should be more of a description here...
Se impostato a true non saranno eseguite le logiche automatiche di conversione/validazione a fronte dell'occorrenza dell'evento specificato. Serve per gestire casi in cui la non conformità dei dati immessi non è importante, anzi deve essere ignorata (es. il tasto "indietro" o "annulla").setSkipValidation(boolean),
GuigenPackage.getEventHandler_SkipValidation()void setSkipValidation(boolean value)
Skip Validation' attribute.
value - the new value of the 'Skip Validation' attribute.isSkipValidation()MethodProtectionTypes getMethodProtection()
"REJECT_SAME".
The literals are from the enumeration MethodProtectionTypes.
Permette di proteggere l'esecuzione del metodo associato all'EventHandler
da effetti indesiderati derivanti dal'eventuale esecuzione contemporanea di altri metodi.
Le possibili protezioni sono:
MethodProtectionTypes,
setMethodProtection(MethodProtectionTypes),
GuigenPackage.getEventHandler_MethodProtection()void setMethodProtection(MethodProtectionTypes value)
Method Protection' attribute.
value - the new value of the 'Method Protection' attribute.MethodProtectionTypes,
getMethodProtection()org.eclipse.emf.common.util.EList<java.lang.String> getEventSpecifiers()
String.
If the meaning of the 'Event Specifiers' attribute list isn't clear, there really should be more of a description here...
Permette di specificare ulteriormente la gestione dell'evento. E' possibile inserire 0, 1 o molti specificatori:GuigenPackage.getEventHandler_EventSpecifiers()