Class "guigen :: EventHandler"

Defined in package : guigen

Gestore di un evento di User Interaction.

Annotations

Direct Attributes

Direct References

Referenced by

Attribute ecore :: EString eventSpecifiers

Permette di specificare ulteriormente la gestione dell'evento. E' possibile inserire 0, 1 o molti specificatori:

PropertyDescription
typeecore :: EString
changeabletrue
defaultValueLiteralnull
derivedfalse
iDfalse
lowerBound0
nameeventSpecifiers
orderedtrue
transientfalse
uniquetrue
unsettablefalse
upperBound-1
volatilefalse

Attribute guigen :: EventTypes eventType

Specifica il tipo di evento per cui è definito questo event handler.

PropertyDescription
typeguigen :: EventTypes
changeabletrue
defaultValueLiteralnull
derivedfalse
iDfalse
lowerBound0
nameeventType
orderedtrue
transientfalse
uniquetrue
unsettablefalse
upperBound1
volatilefalse

Attribute guigen :: MethodProtectionTypes methodProtection

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:

  1. allowAll: permette l'esecuzione contemporanea di qualsiasi metodo (nessuna protezione)
  2. rejectSame (default): evita l'esecuzione contemporanea di altre istanze dello stesso metodo (protezione tipica del doppio click su uno stesso pulsante)
  3. rejectAll: evita l'esecuzione contemporanea di altre istanze di qualsiasi metodo (protezione cautelativa globale)

PropertyDescription
typeguigen :: MethodProtectionTypes
changeabletrue
defaultValueLiteralREJECT_SAME
derivedfalse
iDfalse
lowerBound0
namemethodProtection
orderedtrue
transientfalse
uniquetrue
unsettablefalse
upperBound1
volatilefalse

Attribute ecore :: EBoolean skipValidation

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").

PropertyDescription
typeecore :: EBoolean
changeabletrue
defaultValueLiteralnull
derivedfalse
iDfalse
lowerBound0
nameskipValidation
orderedtrue
transientfalse
uniquetrue
unsettablefalse
upperBound1
volatilefalse

Reference guigen :: Command command

A fronte dell'evento specificato in eventType sarà eseguito il comando specificato in questo elemento.

PropertyDescription
typeguigen :: Command
changeabletrue
containmenttrue
defaultValueLiteralnull
derivedfalse
lowerBound0
namecommand
orderedtrue
resolveProxiestrue
transientfalse
uniquetrue
unsettablefalse
upperBound1
volatilefalse

Annotation logicpkg

KeyValue
pkgui.event
generated on 5-set-2016 at 16.27.37 by metamodeldoc