Class AbstractWorkbenchTrimWidget

  • All Implemented Interfaces:
    IWidget, IWorkbenchWidget

    public abstract class AbstractWorkbenchTrimWidget
    extends AbstractTrimWidget
    implements IWorkbenchWidget
    Extension for trim widgets contributed to the workbench. The extension point handler will call the init method to inform the contributed widgets as to which workbench window they're currently being hosted in.
    Since:
    3.2
    • Constructor Detail

      • AbstractWorkbenchTrimWidget

        public AbstractWorkbenchTrimWidget()
    • Method Detail

      • getWorkbenchWindow

        public IWorkbenchWindow getWorkbenchWindow()
        Convenience method to get the IWorkbenchWindow that is hosting this widget.
        Returns:
        The IWorkbenchWindow hosting this widget.
      • getPreferredSize

        public Point getPreferredSize()
        Returns:
        The preferred size of this item
        Since:
        3.3