Java Doc for EditorSashContainer.java in  » IDE-Eclipse » ui-workbench » org » eclipse » ui » internal » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » IDE Eclipse » ui workbench » org.eclipse.ui.internal 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


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.


Field Summary
final static  StringDEFAULT_WORKBOOK_ID
    

Constructor Summary
public  EditorSashContainer(String editorId, WorkbenchPage page, Composite parent)
    

Method Summary
protected  voidaddChild(RelationshipInfo info)
    
public  voidaddEditor(EditorPane pane, EditorStack stack)
     Add an editor to the active workbook.
protected  voidchildAdded(LayoutPart child)
     Notification that a child layout part has been added to the container.
protected  voidchildRemoved(LayoutPart child)
     Notification that a child layout part has been removed from the container.
public  voidcreateControl(Composite parent)
    
protected  EditorStackcreateDefaultWorkbook()
    
protected  CompositecreateParent(Composite parentWidget)
     Subclasses override this method to specify the composite to use to parent all children layout parts it contains.
protected  PartStackcreateStack()
    
public  voiddispose()
     Dispose of the editor area.
protected  voiddisposeParent()
     Subclasses override this method to dispose of any swt resources created during createParent.
public  voidfindSashes(LayoutPart pane, PartPane.Sashes sashes)
     Find the sashs around the specified part.
public  EditorStackgetActiveWorkbook()
     Return the editor workbook which is active.
public  StringgetActiveWorkbookID()
     Return the editor workbook id which is active.
 DropTargetgetDropTarget()
    
public  intgetEditorWorkbookCount()
     Return the all the editor workbooks.
public  ArrayListgetEditorWorkbooks()
     Return the all the editor workbooks.
public  EditorStackgetUpperRightEditorStack(LayoutPart[] stacks)
    
protected  LayoutPartgetVisiblePart(ILayoutContainer container)
    
public  EditorStackgetWorkbookFromID(String id)
    
protected  booleanisActiveWorkbook(EditorStack workbook)
     Return true is the workbook specified is the active one.
public  booleanisCompressible()
    
public  booleanisPaneType(LayoutPart toTest)
    
public  booleanisStackType(LayoutPart toTest)
    
public  LayoutPartpickPartToZoom()
    
public  voidremoveAllEditors()
    
public  voidremoveEditor(EditorPane pane)
     Remove an editor from its' workbook.
public  IStatusrestorePresentationState(IMemento areaMem)
     Restore the presentation state.
public  IStatusrestoreState(IMemento memento)
    
public  IStatussaveState(IMemento memento)
    
public  voidsetActiveWorkbook(EditorStack newWorkbook, boolean hasFocus)
     Set the editor workbook which is active.
public  voidsetActiveWorkbookFromID(String id)
     Set the editor workbook which is active.
protected  voidsetVisiblePart(ILayoutContainer container, LayoutPart visiblePart)
    
public  voidupdateStackButtons()
     Hides the min/max buttons for all editor stacks -except- for the upper/left one.
public  voidupdateTabList()
     Updates the editor area's tab list to include the active editor and its tab.

Field Detail
DEFAULT_WORKBOOK_ID
final static String DEFAULT_WORKBOOK_ID(Code)




Constructor Detail
EditorSashContainer
public EditorSashContainer(String editorId, WorkbenchPage page, Composite parent)(Code)




Method Detail
addChild
protected void addChild(RelationshipInfo info)(Code)



addEditor
public void addEditor(EditorPane pane, EditorStack stack)(Code)
Add an editor to the active workbook.



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.



createControl
public void createControl(Composite parent)(Code)

See Also:   org.eclipse.ui.internal.LayoutPart.createControl(org.eclipse.swt.widgets.Composite)



createDefaultWorkbook
protected EditorStack createDefaultWorkbook()(Code)



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.



createStack
protected PartStack createStack()(Code)



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.



findSashes
public void findSashes(LayoutPart pane, PartPane.Sashes sashes)(Code)
Find the sashs around the specified part.



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



getVisiblePart
protected LayoutPart getVisiblePart(ILayoutContainer container)(Code)



getWorkbookFromID
public EditorStack getWorkbookFromID(String id)(Code)



isActiveWorkbook
protected boolean isActiveWorkbook(EditorStack workbook)(Code)
Return true is the workbook specified is the active one.



isCompressible
public boolean isCompressible()(Code)

See Also:   org.eclipse.ui.internal.LayoutPart.getImportance



isPaneType
public boolean isPaneType(LayoutPart toTest)(Code)



isStackType
public boolean isStackType(LayoutPart toTest)(Code)



pickPartToZoom
public LayoutPart pickPartToZoom()(Code)



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.



setVisiblePart
protected void setVisiblePart(ILayoutContainer container, LayoutPart visiblePart)(Code)



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.



Fields inherited from org.eclipse.ui.internal.PartSashContainer
boolean active(Code)(Java Doc)
protected ArrayList children(Code)(Java Doc)
boolean layoutDirty(Code)(Java Doc)
protected WorkbenchPage page(Code)(Java Doc)
protected Composite parent(Code)(Java Doc)
protected ControlListener resizeListener(Code)(Java Doc)
protected LayoutTree root(Code)(Java Doc)

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)

Fields inherited from org.eclipse.ui.internal.LayoutPart
final public static String PROP_VISIBILITY(Code)(Java Doc)
protected ILayoutContainer container(Code)(Java Doc)
protected String id(Code)(Java Doc)

Methods inherited from org.eclipse.ui.internal.LayoutPart
public boolean allowsAdd(LayoutPart toAdd)(Code)(Java Doc)
public boolean allowsAutoFocus()(Code)(Java Doc)
public boolean childIsZoomed(LayoutPart childToTest)(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)
public int computePreferredSize(boolean width, int availableParallel, int availablePerpendicular, int preferredParallel)(Code)(Java Doc)
abstract public void createControl(Composite parent)(Code)(Java Doc)
final public void deferUpdates(boolean shouldDefer)(Code)(Java Doc)
public void describeLayout(StringBuffer buf)(Code)(Java Doc)
public void dispose()(Code)(Java Doc)
public void flushLayout()(Code)(Java Doc)
public Rectangle getBounds()(Code)(Java Doc)
public String getCompoundId()(Code)(Java Doc)
public ILayoutContainer getContainer()(Code)(Java Doc)
abstract public Control getControl()(Code)(Java Doc)
public IDropTarget getDropTarget(Object draggedObject, Point displayCoordinates)(Code)(Java Doc)
public String getID()(Code)(Java Doc)
public LayoutPart getPart()(Code)(Java Doc)
public String getPlaceHolderId()(Code)(Java Doc)
public Shell getShell()(Code)(Java Doc)
public Point getSize()(Code)(Java Doc)
public int getSizeFlags(boolean horizontal)(Code)(Java Doc)
public boolean getVisible()(Code)(Java Doc)
public IWorkbenchWindow getWorkbenchWindow()(Code)(Java Doc)
protected void handleDeferredEvents()(Code)(Java Doc)
public boolean isCompressible()(Code)(Java Doc)
final protected boolean isDeferred()(Code)(Java Doc)
public boolean isDocked()(Code)(Java Doc)
final public boolean isObscuredByZoom()(Code)(Java Doc)
public boolean isVisible()(Code)(Java Doc)
public void moveAbove(Control refControl)(Code)(Java Doc)
public void reparent(Composite newParent)(Code)(Java Doc)
final public void requestZoomIn()(Code)(Java Doc)
final public void requestZoomOut()(Code)(Java Doc)
public void resizeChild(LayoutPart childThatChanged)(Code)(Java Doc)
public void setBounds(Rectangle r)(Code)(Java Doc)
public void setContainer(ILayoutContainer container)(Code)(Java Doc)
public void setFocus()(Code)(Java Doc)
public void setID(String str)(Code)(Java Doc)
public void setVisible(boolean makeVisible)(Code)(Java Doc)
public void setZoomed(boolean isZoomed)(Code)(Java Doc)
protected void startDeferringEvents()(Code)(Java Doc)
public void testInvariants()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.