| |
|
| java.lang.Object org.eclipse.ui.internal.LayoutPart org.eclipse.ui.internal.PartStack org.eclipse.ui.internal.ViewStack
ViewStack | public class ViewStack extends PartStack (Code) | | Manages a set of ViewPanes that are docked into the workbench window. The container for a ViewStack
is always a PartSashContainer (or null), and its children are always either PartPlaceholders or ViewPanes.
This contains the real behavior and state for stacks of views, although the widgets for the tabs are contributed
using a StackPresentation.
TODO: eliminate ViewStack and EditorStack. PartStack should be general enough to handle editors
and views without any specialization for editors and views. The differences should be in the
presentation and in the PartPanes themselves.
TODO: eliminate PartPlaceholder. Placeholders should not be children of the ViewStack.
|
addSystemActions | public void addSystemActions(IMenuManager menuManager)(Code) | | |
canMoveFolder | protected boolean canMoveFolder()(Code) | | |
getTestPresentation | public StackPresentation getTestPresentation()(Code) | | Get the presentation for testing purposes. This is for testing
purposes ONLY.
the presentation in use for this view stack since: 3.2 |
setMinimized | public void setMinimized(boolean minimized)(Code) | | Sets the minimized state for this stack. The part may call this method to
minimize or restore itself. The minimized state only affects the view
when unzoomed.
This implementation is specific to the 3.3 presentation's
min/max story; otherwise it just forwards the call.
|
supportsState | protected boolean supportsState(int newState)(Code) | | |
Methods inherited from org.eclipse.ui.internal.PartStack | public void add(LayoutPart child)(Code)(Java Doc) protected void add(LayoutPart newChild, Object cookie)(Code)(Java Doc) public void addListener(IPropertyListener listener)(Code)(Java Doc) abstract protected void addSystemActions(IMenuManager menuManager)(Code)(Java Doc) public boolean allowsAdd(LayoutPart toAdd)(Code)(Java Doc) public boolean allowsAutoFocus()(Code)(Java Doc) abstract protected boolean allowsDrop(PartPane part)(Code)(Java Doc) protected static void appendToGroupIfPossible(IMenuManager m, String groupId, ContributionItem item)(Code)(Java Doc) abstract protected boolean canMoveFolder()(Code)(Java Doc) public boolean childIsZoomed(LayoutPart toTest)(Code)(Java Doc) public boolean childObscuredByZoom(LayoutPart toTest)(Code)(Java Doc) public void childRequestZoomIn(LayoutPart toZoom)(Code)(Java Doc) public void childRequestZoomOut()(Code)(Java Doc) protected void close(IPresentablePart[] parts)(Code)(Java Doc) protected void close(IPresentablePart part)(Code)(Java Doc) public int computePreferredSize(boolean width, int availableParallel, int availablePerpendicular, int preferredParallel)(Code)(Java Doc) public void copyAppearanceProperties(PartStack copyTo)(Code)(Java Doc) public void createControl(Composite parent)(Code)(Java Doc) public void createControl(Composite parent, StackPresentation presentation)(Code)(Java Doc) public IDropTarget createDropTarget(PartPane pane, StackDropResult result)(Code)(Java Doc) abstract protected void derefPart(LayoutPart toDeref)(Code)(Java Doc) public void describeLayout(StringBuffer buf)(Code)(Java Doc) public void dispose()(Code)(Java Doc) public void findSashes(LayoutPart part, PartPane.Sashes sashes)(Code)(Java Doc) public int getActive()(Code)(Java Doc) public Rectangle getBounds()(Code)(Java Doc) public LayoutPart[] getChildren()(Code)(Java Doc) public Control getControl()(Code)(Java Doc) public IDropTarget getDropTarget(Object draggedObject, Point position)(Code)(Java Doc) protected AbstractPresentationFactory getFactory()(Code)(Java Doc) public int getItemCount()(Code)(Java Doc) protected WorkbenchPage getPage()(Code)(Java Doc) protected LayoutPart getPaneFor(IPresentablePart part)(Code)(Java Doc) public Composite getParent()(Code)(Java Doc) public List getPresentableParts()(Code)(Java Doc) protected StackPresentation getPresentation()(Code)(Java Doc) protected IStackPresentationSite getPresentationSite()(Code)(Java Doc) public String getProperty(String id)(Code)(Java Doc) public IMemento getSavedPresentationState()(Code)(Java Doc) protected IPresentablePart getSelectedPart()(Code)(Java Doc) public PartPane getSelection()(Code)(Java Doc) public int getSizeFlags(boolean horizontal)(Code)(Java Doc) public int getState()(Code)(Java Doc) public Control[] getTabList(LayoutPart part)(Code)(Java Doc) protected void handleDeferredEvents()(Code)(Java Doc) public boolean isDisposed()(Code)(Java Doc) abstract protected boolean isMoveable(IPresentablePart part)(Code)(Java Doc) final protected boolean isStandalone()(Code)(Java Doc) public boolean isZoomed()(Code)(Java Doc) public void paneDragStart(LayoutPart pane, Point initialLocation, boolean keyboard)(Code)(Java Doc) protected void refreshPresentationState()(Code)(Java Doc) public void remove(LayoutPart child)(Code)(Java Doc) public void removeListener(IPropertyListener listener)(Code)(Java Doc) public void reparent(Composite newParent)(Code)(Java Doc) public void replace(LayoutPart oldChild, LayoutPart newChild)(Code)(Java Doc) public IStatus restoreState(IMemento memento)(Code)(Java Doc) protected void savePresentationState()(Code)(Java Doc) public IStatus saveState(IMemento memento)(Code)(Java Doc) public void setActive(boolean isActive)(Code)(Java Doc) public void setActive(int activeState)(Code)(Java Doc) public void setBounds(Rectangle r)(Code)(Java Doc) public void setMinimized(boolean minimized)(Code)(Java Doc) public void setPresentationState(int newState)(Code)(Java Doc) public void setProperty(String id, String value)(Code)(Java Doc) public void setSelection(LayoutPart part)(Code)(Java Doc) protected void setState(int newState)(Code)(Java Doc) public void setVisible(boolean makeVisible)(Code)(Java Doc) public void setZoomed(boolean isZoomed)(Code)(Java Doc) public void showPaneMenu()(Code)(Java Doc) public void showPartList()(Code)(Java Doc) public void showSystemMenu()(Code)(Java Doc) protected void smartUnzoom()(Code)(Java Doc) abstract protected boolean supportsState(int newState)(Code)(Java Doc) public void testInvariants()(Code)(Java Doc) abstract protected void updateActions(PresentablePart current)(Code)(Java Doc)
|
|
|
|