Package com._1c.g5.v8.dt.form.ui.editor
Class FormEditorStateSwitcher
- java.lang.Object
-
- com._1c.g5.v8.dt.form.ui.editor.FormEditorStateSwitcher
-
public class FormEditorStateSwitcher extends Object
Manages editor states. Currently used forIFormEditorPage
state switching.
-
-
Constructor Summary
Constructors Constructor Description FormEditorStateSwitcher(org.eclipse.ui.forms.editor.FormPage editorPage)
Creates a new switcher.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addListener(IFormEditorStateListener listener)
Adds new client listener.FormEditorState
getState()
Returns currentFormEditor
state.void
removeListener(IFormEditorStateListener listener)
Removes client listener.
-
-
-
Method Detail
-
getState
public FormEditorState getState()
Returns currentFormEditor
state.- Returns:
- the current state.
-
addListener
public void addListener(IFormEditorStateListener listener)
Adds new client listener.- Parameters:
listener
- the state listener.
-
removeListener
public void removeListener(IFormEditorStateListener listener)
Removes client listener.- Parameters:
listener
- is removed listener.
-
-