Interface IPropertyEditorController

All Superinterfaces:
IDisposedPart
All Known Subinterfaces:
ITermEditor
All Known Implementing Classes:
CaptureEditor, ContextMenuEditor, DatabaseEditor, FontFacesEditor, ImageDefinitionEditor, PanelEditor, PropEditorPart, RecordingEditor, ScreenEditor, SelectorEditor, ServerConfigComposite, StandaloneEditorController, StyleEditor, TextTableEditor, VirtualSpaceEditor, WebServiceEditor

public interface IPropertyEditorController extends IDisposedPart
Controller interface that provides functions for property editing such as undo/redo.
Author:
Christopher Mindus
  • Method Details

    • setPropertyError

      void setPropertyError(GProp<?> property, String errorID, IPropErrorItem item)
      Sets a property error. The undo/redo functionality will wrap an undo/redo action for this function.
    • removePropertyValue

      void removePropertyValue(GProp<?> property)
      Removes a property when undefined in the editors. The undo/redo functionality will wrap an undo/redo action for this function.
    • setPropertyAttrFlag

      void setPropertyAttrFlag(GProp<?> property, int attr, boolean flag)
      Sets a property attribute flag. The undo/redo functionality will wrap an undo/redo action for this function.
    • setPropertyValue

      void setPropertyValue(PropCnr parent, GProp<?> property, Object value)
      Sets a property value. The undo/redo functionality will wrap an undo/redo action for this function. This method handles setting a property value that is extended in the parent and the new property is to replace it in the parent.
    • getUndoContext

      Object getUndoContext()
      Gets the undo context.
      Returns:
      An object castable to org.eclipse.core.commands.operations.IUndoContext.
    • getModuleModel

      ModuleModel getModuleModel()
      Gets the ModuleModel instance of the project.
    • getMultiSelectionProvider

      MultiSelectionProvider getMultiSelectionProvider()
      Gets the multi-property selection provider.
    • getUndoRedo

      IPropUndoRedo getUndoRedo()
      Gets the undo/redo interface.
    • setBlockViewerFocus

      void setBlockViewerFocus(boolean block)
      Blocks the target viewer from focus.
    • isDisposed

      boolean isDisposed()
      Checks if the part is disposed of.
      Specified by:
      isDisposed in interface IDisposedPart
      Returns:
      true if disposed of, false otherwise.