Class MdPropertySheetPage

  • All Implemented Interfaces:
    WorkbenchUtils.IWithDefaultFocus, EventListener, org.eclipse.jface.util.IPropertyChangeListener, org.eclipse.ui.ISelectionListener, org.eclipse.ui.part.IPage, org.eclipse.ui.part.IPageBookViewPage, org.eclipse.ui.views.properties.IPropertySheetPage

    public class MdPropertySheetPage
    extends PropertySheetPage
    implements WorkbenchUtils.IWithDefaultFocus
    Implementation of PropertySheetPage containing EDT specitific logic.
    Specific logic:
    • Contains selection picker
    • Has v8 specific renderers
    • Supports granular editors undo context
    • Listens for initialization service (shows only when services are one).
    • Constructor Detail

      • MdPropertySheetPage

        public MdPropertySheetPage()
    • Method Detail

      • setActionBars

        public void setActionBars​(org.eclipse.ui.IActionBars actionBars)
        Description copied from class: PropertySheetPage
        Adds toggle buttons for alphabetical and categorial display modes. Also adds a menu checkbox-like item to display either a human readable caption or an internal name for each field.
        Specified by:
        setActionBars in interface org.eclipse.ui.part.IPage
        Overrides:
        setActionBars in class PropertySheetPage
      • propertyChange

        public void propertyChange​(org.eclipse.jface.util.PropertyChangeEvent event)
        Description copied from class: PropertySheetPage
        Adapts itself to changes in preferences
        Specified by:
        propertyChange in interface org.eclipse.jface.util.IPropertyChangeListener
        Overrides:
        propertyChange in class PropertySheetPage
      • getSelectionForPropertyPage

        protected ISelection getSelectionForPropertyPage​(org.eclipse.ui.IWorkbenchPart part,
                                                         ISelection selection)
        Description copied from class: PropertySheetPage
        Obtains a selection suitable for use by the Property Palette.
        Overrides:
        getSelectionForPropertyPage in class PropertySheetPage
        Parameters:
        part - - the workbench part containing the selection. Cannot be null.
        selection - - original selection reported by Property Palette. Cannot be null.
        Returns:
        a selection suitable for use by the Property Palette. Cannot return null.
      • createFormToolkit

        protected org.eclipse.ui.forms.widgets.FormToolkit createFormToolkit()
        Description copied from class: PropertySheetPage
        Creates and returns FormToolkit used to create controls.
        Overrides:
        createFormToolkit in class PropertySheetPage
        Returns:
        created form tookit.
      • createTopCompositeContent

        protected void createTopCompositeContent​(org.eclipse.swt.widgets.Composite composite)
        Description copied from class: PropertySheetPage
        Creates controls which will be on top of property page.
        Overrides:
        createTopCompositeContent in class PropertySheetPage
        Parameters:
        composite - - composite to create content. Cannot be null.
      • initUndoRedoActionGroup

        protected org.eclipse.ui.operations.UndoRedoActionGroup initUndoRedoActionGroup​(org.eclipse.ui.IViewSite viewSite)
        Description copied from class: PropertySheetPage
        Inits undo redo action group which will be used to fill undo/redo action bars.
        Overrides:
        initUndoRedoActionGroup in class PropertySheetPage
        Parameters:
        viewSite - - undo redo view site. Cannot be null.
        Returns:
        created undo redo action group. Can return null.
      • createRootComposite

        protected org.eclipse.swt.widgets.Composite createRootComposite​(org.eclipse.swt.widgets.Composite parent)
        Description copied from class: PropertySheetPage
        Creates a root composite.
        Overrides:
        createRootComposite in class PropertySheetPage
        Returns:
        a newly created composite, never null.