|
Eclipse Platform Release 3.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents the main interface between a StackPresentation and the workbench. Not intended to be implemented by clients.
Field Summary | |
static int | STATE_MAXIMIZED
|
static int | STATE_MINIMIZED
|
static int | STATE_RESTORED
|
Method Summary | |
void | addSystemActions(IMenuManager menuManager)
Adds system actions to the given menu manager. |
void | close(IPresentablePart[] toClose)
Closes the given set of parts. |
void | dragStart(IPresentablePart beingDragged,
Point initialPosition,
boolean keyboard)
Begins dragging the given part |
void | dragStart(Point initialPosition,
boolean keyboard)
Begins dragging the entire stack of parts |
IPresentablePart | getSelectedPart()
Returns the currently selected part or null if the stack is empty |
int | getState()
Returns the current state of the site (one of the STATE_* constants) |
boolean | isCloseable(IPresentablePart toClose)
Returns true iff this site will allow the given part to be closed |
boolean | isPartMoveable(IPresentablePart toMove)
Returns true iff the given part can be dragged. |
boolean | isStackMoveable()
Returns true iff this entire stack can be dragged |
void | selectPart(IPresentablePart toSelect)
Makes the given part active |
void | setState(int newState)
Sets the state of the container. |
boolean | supportsState(int state)
Returns true iff the site supports the given state |
Field Detail |
public static final int STATE_MINIMIZED
public static final int STATE_MAXIMIZED
public static final int STATE_RESTORED
Method Detail |
public void setState(int newState)
public int getState()
public boolean supportsState(int state)
public void dragStart(IPresentablePart beingDragged, Point initialPosition, boolean keyboard)
public void close(IPresentablePart[] toClose)
public void dragStart(Point initialPosition, boolean keyboard)
public boolean isCloseable(IPresentablePart toClose)
public boolean isPartMoveable(IPresentablePart toMove)
public boolean isStackMoveable()
public void selectPart(IPresentablePart toSelect)
public IPresentablePart getSelectedPart()
public void addSystemActions(IMenuManager menuManager)
The presentation can control the insertion position by creating these group IDs where appropriate.
|
Eclipse Platform Release 3.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.