| java.lang.Object org.eclipse.ui.internal.LayoutPart org.eclipse.ui.internal.PartSashContainer org.eclipse.ui.internal.EditorSashContainer
EditorSashContainer | public class EditorSashContainer extends PartSashContainer (Code) | | Represents the area set aside for editor workbooks.
This container only accepts EditorStack and PartSash
as layout parts.
Note no views are allowed within this container.
|
DEFAULT_WORKBOOK_ID | final static String DEFAULT_WORKBOOK_ID(Code) | | |
addChild | protected void addChild(RelationshipInfo info)(Code) | | |
childAdded | protected void childAdded(LayoutPart child)(Code) | | Notification that a child layout part has been
added to the container. Subclasses may override
this method to perform any container specific
work.
|
childRemoved | protected void childRemoved(LayoutPart child)(Code) | | Notification that a child layout part has been
removed from the container. Subclasses may override
this method to perform any container specific
work.
|
createParent | protected Composite createParent(Composite parentWidget)(Code) | | Subclasses override this method to specify
the composite to use to parent all children
layout parts it contains.
|
dispose | public void dispose()(Code) | | Dispose of the editor area.
|
disposeParent | protected void disposeParent()(Code) | | Subclasses override this method to dispose
of any swt resources created during createParent.
|
getActiveWorkbook | public EditorStack getActiveWorkbook()(Code) | | Return the editor workbook which is active.
|
getActiveWorkbookID | public String getActiveWorkbookID()(Code) | | Return the editor workbook id which is active.
|
getDropTarget | DropTarget getDropTarget()(Code) | | |
getEditorWorkbookCount | public int getEditorWorkbookCount()(Code) | | Return the all the editor workbooks.
|
getEditorWorkbooks | public ArrayList getEditorWorkbooks()(Code) | | Return the all the editor workbooks.
|
getUpperRightEditorStack | public EditorStack getUpperRightEditorStack(LayoutPart[] stacks)(Code) | | Parameters: stacks - the EditorStack in the upper right position |
isActiveWorkbook | protected boolean isActiveWorkbook(EditorStack workbook)(Code) | | Return true is the workbook specified
is the active one.
|
removeAllEditors | public void removeAllEditors()(Code) | | Remove all the editors
|
removeEditor | public void removeEditor(EditorPane pane)(Code) | | Remove an editor from its' workbook.
|
restorePresentationState | public IStatus restorePresentationState(IMemento areaMem)(Code) | | Restore the presentation state. Loop over the workbooks, create the appropriate serializer and pass to the presentation.
Parameters: areaMem - the memento containing presentation the restoration status |
restoreState | public IStatus restoreState(IMemento memento)(Code) | | See Also: IPersistablePart |
saveState | public IStatus saveState(IMemento memento)(Code) | | See Also: IPersistablePart |
setActiveWorkbook | public void setActiveWorkbook(EditorStack newWorkbook, boolean hasFocus)(Code) | | Set the editor workbook which is active.
|
setActiveWorkbookFromID | public void setActiveWorkbookFromID(String id)(Code) | | Set the editor workbook which is active.
|
updateStackButtons | public void updateStackButtons()(Code) | | Hides the min/max buttons for all editor stacks
-except- for the upper/left one.
|
updateTabList | public void updateTabList()(Code) | | Updates the editor area's tab list to include the active
editor and its tab.
|
Methods inherited from org.eclipse.ui.internal.PartSashContainer | public void add(LayoutPart child)(Code)(Java Doc) public void add(LayoutPart child, int relationship, float ratio, LayoutPart relative)(Code)(Java Doc) void add(LayoutPart child, int relationship, int left, int right, LayoutPart relative)(Code)(Java Doc) protected void addChild(RelationshipInfo info)(Code)(Java Doc) void addChildForPlaceholder(LayoutPart child, LayoutPart placeholder)(Code)(Java Doc) void addEnhanced(LayoutPart child, int swtDirectionConstant, float ratioForNewPart, LayoutPart relative)(Code)(Java Doc) public boolean allowsAutoFocus()(Code)(Java Doc) public boolean allowsBorder()(Code)(Java Doc) protected void childAdded(LayoutPart child)(Code)(Java Doc) public boolean childIsZoomed(LayoutPart toTest)(Code)(Java Doc) public boolean childObscuredByZoom(LayoutPart toTest)(Code)(Java Doc) protected void childRemoved(LayoutPart child)(Code)(Java Doc) public void childRequestZoomIn(LayoutPart toZoom)(Code)(Java Doc) public void childRequestZoomOut()(Code)(Java Doc) public int computePreferredSize(boolean width, int availableParallel, int availablePerpendicular, int preferredParallel)(Code)(Java Doc) public RelationshipInfo[] computeRelation()(Code)(Java Doc) public void createControl(Composite parentWidget)(Code)(Java Doc) abstract protected Composite createParent(Composite parentWidget)(Code)(Java Doc) abstract protected PartStack createStack()(Code)(Java Doc) protected void derefPart(LayoutPart sourcePart)(Code)(Java Doc) public void describeLayout(StringBuffer buf)(Code)(Java Doc) public void dispose()(Code)(Java Doc) abstract protected void disposeParent()(Code)(Java Doc) public void disposeSashes()(Code)(Java Doc) public IDropTarget drag(Control currentControl, Object draggedObject, Point position, Rectangle dragRectangle)(Code)(Java Doc) protected void dropObject(PartPane[] toDrop, LayoutPart visiblePart, LayoutPart targetPart, int side)(Code)(Java Doc) public LayoutPart findBottomRight()(Code)(Java Doc) public void findSashes(LayoutPart pane, PartPane.Sashes sashes)(Code)(Java Doc) public void flushLayout()(Code)(Java Doc) public Rectangle getBounds()(Code)(Java Doc) public LayoutPart[] getChildren()(Code)(Java Doc) public Control getControl()(Code)(Java Doc) protected float getDockingRatio(LayoutPart dragged, LayoutPart target)(Code)(Java Doc) public LayoutTree getLayoutTree()(Code)(Java Doc) public WorkbenchPage getPage()(Code)(Java Doc) public Composite getParent()(Code)(Java Doc) public int getSizeFlags(boolean width)(Code)(Java Doc) protected int getVisibleChildrenCount(ILayoutContainer container)(Code)(Java Doc) abstract protected LayoutPart getVisiblePart(ILayoutContainer container)(Code)(Java Doc) public LayoutPart getZoomedPart()(Code)(Java Doc) protected void handleDeferredEvents()(Code)(Java Doc) protected boolean isChild(LayoutPart part)(Code)(Java Doc) abstract public boolean isPaneType(LayoutPart toTest)(Code)(Java Doc) abstract public boolean isStackType(LayoutPart toTest)(Code)(Java Doc) public boolean isZoomed()(Code)(Java Doc) static int measureTree(Rectangle outerBounds, LayoutTree toMeasure, boolean horizontal)(Code)(Java Doc) public LayoutPart pickPartToZoom()(Code)(Java Doc) public void remove(LayoutPart child)(Code)(Java Doc) public void replace(LayoutPart oldChild, LayoutPart newChild)(Code)(Java Doc) public void resizeChild(LayoutPart childThatChanged)(Code)(Java Doc) public void setActive(boolean isActive)(Code)(Java Doc) public void setBounds(Rectangle r)(Code)(Java Doc) public void setVisible(boolean makeVisible)(Code)(Java Doc) abstract protected void setVisiblePart(ILayoutContainer container, LayoutPart visiblePart)(Code)(Java Doc) public void setZoomed(boolean isZoomed)(Code)(Java Doc) public void stack(LayoutPart newPart, ILayoutContainer container)(Code)(Java Doc) protected void startDeferringEvents()(Code)(Java Doc) public void testInvariants()(Code)(Java Doc)
|
|
|