Java Doc for EditorStack.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.PartStack
         org.eclipse.ui.internal.EditorStack

EditorStack
public class EditorStack extends PartStack (Code)
Represents a tab folder of editors. This layout part container only accepts EditorPane parts. TODO: Make PartStack non-abstract and delete this class. The differences between editors and views should be handled by the presentation or the editors/views themselves.



Constructor Summary
public  EditorStack(EditorSashContainer editorArea, WorkbenchPage page)
    

Method Summary
protected  voidadd(LayoutPart newChild, Object cookie)
    
public  voidadd(LayoutPart child)
    
public  voidaddSystemActions(IMenuManager menuManager)
    
protected  booleanallowsDrop(PartPane part)
    
public  voidbecomeActiveWorkbook(boolean hasFocus)
    
protected  booleancanMoveFolder()
    
protected  voidclose(IPresentablePart[] parts)
    
protected  voidderefPart(LayoutPart toDeref)
    
public  EditorSashContainergetEditorArea()
    
public  EditorPane[]getEditors()
    
protected  WorkbenchPagegetPage()
    
public  Control[]getTabList()
    
public  booleanisActiveWorkbook()
    
public  booleanisMoveable(IPresentablePart part)
    
public static  EditorStacknewEditorWorkbook(EditorSashContainer editorArea, WorkbenchPage page)
     Factory method for editor workbooks.
public  voidremoveAll()
    
public  IStatusrestoreState(IMemento memento)
    
public  IStatussaveState(IMemento memento)
    
public  voidsetFocus()
    
public  voidsetMinimized(boolean minimized)
    
public  voidsetStateLocal(int newState)
     Changes the editor stack's state to the given one -without- side-effects.
public  voidshowMinMax(boolean show)
     Cause the folder to hide or show its Minimize and Maximize affordances.
public  booleansupportsState(int state)
    
public  voidtestInvariants()
    
protected  voidupdateActions(PresentablePart current)
    


Constructor Detail
EditorStack
public EditorStack(EditorSashContainer editorArea, WorkbenchPage page)(Code)




Method Detail
add
protected void add(LayoutPart newChild, Object cookie)(Code)



add
public void add(LayoutPart child)(Code)
See IVisualContainer#add



addSystemActions
public void addSystemActions(IMenuManager menuManager)(Code)



allowsDrop
protected boolean allowsDrop(PartPane part)(Code)



becomeActiveWorkbook
public void becomeActiveWorkbook(boolean hasFocus)(Code)



canMoveFolder
protected boolean canMoveFolder()(Code)



close
protected void close(IPresentablePart[] parts)(Code)



derefPart
protected void derefPart(LayoutPart toDeref)(Code)



getEditorArea
public EditorSashContainer getEditorArea()(Code)



getEditors
public EditorPane[] getEditors()(Code)



getPage
protected WorkbenchPage getPage()(Code)



getTabList
public Control[] getTabList()(Code)



isActiveWorkbook
public boolean isActiveWorkbook()(Code)



isMoveable
public boolean isMoveable(IPresentablePart part)(Code)



newEditorWorkbook
public static EditorStack newEditorWorkbook(EditorSashContainer editorArea, WorkbenchPage page)(Code)
Factory method for editor workbooks.



removeAll
public void removeAll()(Code)



restoreState
public IStatus restoreState(IMemento memento)(Code)



saveState
public IStatus saveState(IMemento memento)(Code)



setFocus
public void setFocus()(Code)



setMinimized
public void setMinimized(boolean minimized)(Code)



setStateLocal
public void setStateLocal(int newState)(Code)
Changes the editor stack's state to the given one -without- side-effects. This is used when switching perspectives because the Editor Area is perspective based but is shared between all perspectives...
Parameters:
  newState - The new state to set the editor stack to



showMinMax
public void showMinMax(boolean show)(Code)
Cause the folder to hide or show its Minimize and Maximize affordances.
Parameters:
  show - true - the min/max buttons are visible.
since:
   3.3



supportsState
public boolean supportsState(int state)(Code)



testInvariants
public void testInvariants()(Code)



updateActions
protected void updateActions(PresentablePart current)(Code)



Fields inherited from org.eclipse.ui.internal.PartStack
final public static int PROP_SELECTION(Code)(Java Doc)
protected int appearance(Code)(Java Doc)
protected boolean isMinimized(Code)(Java Doc)
protected DefaultStackPresentationSite presentationSite(Code)(Java Doc)
protected IMemento savedPresentationState(Code)(Java Doc)

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)

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.