|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.core.kivi.AbstractTriggerState
de.cau.cs.kieler.core.model.xtext.triggers.XtextBasedEditorActivationChangeTrigger.XtextModelChangeState
public static class XtextBasedEditorActivationChangeTrigger.XtextModelChangeState
An ITriggerState
indicating opening, modifying, or closing events of Xtext-based
editors.
Nested Class Summary | |
---|---|
static class |
XtextBasedEditorActivationChangeTrigger.XtextModelChangeState.EventType
Type of event to be denoted. |
Constructor Summary | |
---|---|
XtextBasedEditorActivationChangeTrigger.XtextModelChangeState()
Default constructor. |
|
XtextBasedEditorActivationChangeTrigger.XtextModelChangeState(org.eclipse.xtext.ui.editor.XtextEditor theEditor,
XtextBasedEditorActivationChangeTrigger.XtextModelChangeState.EventType theEventType)
Convenience constructor. |
|
XtextBasedEditorActivationChangeTrigger.XtextModelChangeState(org.eclipse.xtext.ui.editor.XtextEditor theEditor,
XtextBasedEditorActivationChangeTrigger.XtextModelChangeState.EventType theEventType,
org.eclipse.xtext.resource.XtextResource theResource)
Complete constructor. |
Method Summary | |
---|---|
org.eclipse.xtext.ui.editor.XtextEditor |
getEditor()
Getter for the editor field. |
IPath |
getEditorInputPath()
Reveals the path of the denoted editor's IEditorInput . |
XtextBasedEditorActivationChangeTrigger.XtextModelChangeState.EventType |
getEventType()
Getter for the eventType field. |
org.eclipse.xtext.resource.XtextResource |
getResource()
Getter for the resource field. |
Class<? extends ITrigger> |
getTriggerClass()
Get the trigger class associated with this trigger state. |
ITriggerState |
setEditor(org.eclipse.xtext.ui.editor.XtextEditor theEditor)
Setter for the editor field. |
ITriggerState |
setEventType(XtextBasedEditorActivationChangeTrigger.XtextModelChangeState.EventType theEventType)
Setter for the eventType field. |
ITriggerState |
setResource(org.eclipse.xtext.resource.XtextResource theResource)
Setter for the resource field. |
Methods inherited from class de.cau.cs.kieler.core.kivi.AbstractTriggerState |
---|
finish, getKeyClass, getSequenceNumber, merge, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface de.cau.cs.kieler.core.kivi.ITriggerState |
---|
finish, getKeyClass, getSequenceNumber, merge |
Constructor Detail |
---|
public XtextBasedEditorActivationChangeTrigger.XtextModelChangeState()
public XtextBasedEditorActivationChangeTrigger.XtextModelChangeState(org.eclipse.xtext.ui.editor.XtextEditor theEditor, XtextBasedEditorActivationChangeTrigger.XtextModelChangeState.EventType theEventType)
theEditor
- the editor the event has taken place of.theEventType
- the event type description.public XtextBasedEditorActivationChangeTrigger.XtextModelChangeState(org.eclipse.xtext.ui.editor.XtextEditor theEditor, XtextBasedEditorActivationChangeTrigger.XtextModelChangeState.EventType theEventType, org.eclipse.xtext.resource.XtextResource theResource)
theEditor
- the editor the event has taken place of.theEventType
- the event type description.theResource
- resource that is maintained by the editor. This parameter can be supplied in
addition to the editor in order to avoid the costly grabbing via the
transaction mechanism.Method Detail |
---|
public Class<? extends ITrigger> getTriggerClass()
getTriggerClass
in interface ITriggerState
public org.eclipse.xtext.ui.editor.XtextEditor getEditor()
public IPath getEditorInputPath()
IEditorInput
. That
IEditorInput
is assumed to be a
FileEditorInput
.
IPath
of the denoted editor's
IEditorInput
.public XtextBasedEditorActivationChangeTrigger.XtextModelChangeState.EventType getEventType()
public org.eclipse.xtext.resource.XtextResource getResource()
public ITriggerState setEditor(org.eclipse.xtext.ui.editor.XtextEditor theEditor)
theEditor
- the new value for the editor field.
ITriggerState
object.public ITriggerState setEventType(XtextBasedEditorActivationChangeTrigger.XtextModelChangeState.EventType theEventType)
theEventType
- the new value for the eventType field.
ITriggerState
object.public ITriggerState setResource(org.eclipse.xtext.resource.XtextResource theResource)
theResource
- the new value for the resource field.
ITriggerState
object.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |