Method Summary |
|
public void | addPartPropertyListener(IPropertyChangeListener listener) |
public void | addPropertyListener(IPropertyListener listener) |
protected void | addSizeItem(Menu sizeMenu, String labelMessage, Sash sash) |
protected void | addSizeItems(Menu sizeMenu) Add the Left,Right,Up,Botton menu items to the Size menu. |
public void | addSizeMenuItem(Menu menu, int index) |
public boolean | allowsAutoFocus() |
public int | computePreferredSize(boolean width, int availableParallel, int availablePerpendicular, int preferredParallel) |
public void | createControl(Composite parent) |
abstract protected void | createTitleBar() Create a title bar for the pane if required. |
public void | describeLayout(StringBuffer buf) Writes a description of the layout to the given string buffer.
This is used for drag-drop test suites to determine if two layouts are the
same. |
public void | dispose() |
protected void | doDock() Pin this part. |
abstract public void | doHide() User has requested to close the pane. |
protected void | doZoom() Zooms in on the part contained in this pane. |
protected Sashes | findSashes() Finds and return the sashes around this part. |
public void | firePartPropertyChange(PropertyChangeEvent event) |
public void | firePropertyChange(int propertyId) |
public Rectangle | getBounds() Gets the presentation bounds. |
public Control | getControl() Get the control. |
public boolean | getInLayout() |
public WorkbenchPage | getPage() Returns the workbench page of this pane. |
public IWorkbenchPartReference | getPartReference() Answer the part child. |
public int | getSizeFlags(boolean horizontal) |
public PartStack | getStack() Returns the PartStack that contains this PartPane, or null if none. |
abstract public Control | getToolBar() |
public void | handleEvent(Event event) |
public boolean | hasViewMenu() |
public boolean | isBusy() |
abstract public boolean | isCloseable() |
public boolean | isZoomed() |
public void | moveAbove(Control refControl) Move the control over another one. |
protected void | moveSash(Sash sash) |
public static void | moveSash(Sash sash, LayoutPart toGetFocusWhenDone) |
public void | propertyChange(PropertyChangeEvent event) |
public void | propertyChanged(Object source, int propId) |
public void | removeContributions() Clears all contribution items from the contribution managers (this is done separately
from dispose() since it is done after the part is disposed). |
public void | removePartPropertyListener(IPropertyChangeListener listener) |
public void | removePropertyListener(IPropertyListener listener) |
public void | requestActivation() Notify the workbook page that the part pane has
been activated by the user. |
public void | setBusy(boolean isBusy) Set the busy state of the pane. |
public void | setContainer(ILayoutContainer container) Sets the parent for this part. |
public void | setFocus() Sets focus to this part. |
public void | setInLayout(boolean inLayout) |
public void | setVisible(boolean makeVisible) Shows the receiver if visible is true otherwise hide it. |
public void | setWorkbenchPage(WorkbenchPage workbenchPage) Sets the workbench page of the view. |
public void | setZoomed(boolean isZoomed) |
abstract void | shellActivated() Informs the pane that it's window shell has
been activated. |
abstract void | shellDeactivated() Informs the pane that it's window shell has
been deactivated. |
abstract public void | showFocus(boolean inFocus) Indicate focus in part. |
public void | showHighlight() Show a highlight for the receiver if it is
not currently the part in the front of its
presentation. |
public void | showPaneMenu() Show a title label menu for this pane. |
public void | showSystemMenu() Show the context menu for this part. |
public void | showViewMenu(Point location) |
public LayoutPart | targetPartFor(LayoutPart dragSource) |