Java Doc for FastViewManager.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.FastViewManager

FastViewManager
public class FastViewManager (Code)
Manage all Fast views for a particular perspective. As of 3.3 fast views appear in more than one manner (legacy FVB and Trim Stacks). The manager is responsible for providing a single implementation for the methods relating to fast views regardless of their UI presentation.
since:
   3.3



Constructor Summary
public  FastViewManager(Perspective perspective, WorkbenchPage page)
    

Method Summary
public  voidactivate()
     Activate the manager.
public  voidaddViewReference(String id, int index, IViewReference ref, boolean update)
     Casues the given IViewReference to be added to the list identified by the 'id' parameter.
public  voiddeActivate()
     Activate the manager.
public  voiddeferUpdates(boolean defer)
     Informs the manager that a batch operation has started (say 'maximize', where many stacks will change state).
public  ViewStackTrimToolBargetBottomRightTrimStack()
     Returns the 'bottom/right' trim stack.
public  ListgetFastViews(String forId)
    
public  StringgetIdForRef(IViewReference ref)
    
public  intgetViewSide(IViewReference ref)
    
public  ViewStackTrimToolBargetViewStackTrimToolbar(String id)
     Returns the trim element for the given id if it exists.
protected  voidhandlePerspectiveActivation(IWorkbenchPage activatingPage, IPerspectiveDescriptor activatingPerspective)
    
protected  voidhandlePerspectiveChange(IWorkbenchPage changedPage, IPerspectiveDescriptor changedPerspective, IWorkbenchPartReference partRef, String changeId)
    
protected  voidhandlePerspectiveChange(IWorkbenchPage changedPage, IPerspectiveDescriptor changedPerspective, String changeId)
    
 booleanisFastView(IViewReference ref)
    
public  voidmoveToTrim(ViewStack vs, boolean restoreOnUnzoom)
    
public  voidprintFVModel()
    
public  voidremoveViewReference(IViewReference ref, boolean makeUnfast, boolean update)
    
public  booleanrestoreAllTrimStacks()
     Restore any trim stacks.
public  voidrestoreState(IMemento memento, MultiStatus result)
    
public  voidrestoreToPresentation(String id)
     Restore the trim element representing a ViewStack back into the presentation.
public  voidrestoreZoomedViewStacks()
    
public  voidsaveState(IMemento memento)
    
public  voidsetFastViewIconSelection(IViewReference ref, boolean selected)
    


Constructor Detail
FastViewManager
public FastViewManager(Perspective perspective, WorkbenchPage page)(Code)
Creates a new manager for a particular perspective
Parameters:
  perspective -
Parameters:
  page -




Method Detail
activate
public void activate()(Code)
Activate the manager. Called from the Perspecive's 'onActivate'



addViewReference
public void addViewReference(String id, int index, IViewReference ref, boolean update)(Code)
Casues the given IViewReference to be added to the list identified by the 'id' parameter. The reference is added at the specified index or at the end if the index is -1. If there was a previous entry for this ref it will be removed so that only the ref will only ever be in one list at a time.

NOTE: The trim life-cycle is managed at the stack level so there -must- be an entry in the map and a corresponding trim element before calling this method,

The page/perspective are updated to make the view a fastview if necessary.


Parameters:
  id - The id of the IWindowTrim that is to show the ref
Parameters:
  index - The index to insert the ref at
Parameters:
  ref - The IViewReference to add
Parameters:
  update - cause the trim to update if true



deActivate
public void deActivate()(Code)
Activate the manager. Called from the Perspecive's 'onActivate'



deferUpdates
public void deferUpdates(boolean defer)(Code)
Informs the manager that a batch operation has started (say 'maximize', where many stacks will change state).
Parameters:
  defer - true when starting a batch operationfalse when ending the operation



getBottomRightTrimStack
public ViewStackTrimToolBar getBottomRightTrimStack()(Code)
Returns the 'bottom/right' trim stack. This is used to match the old behavior when opening a new view that has no placeholder in the case where there WB is maximized. The 'bottom/right' trim stack or null if there are nodefined trim stacks



getFastViews
public List getFastViews(String forId)(Code)
The list of current fast views associated with the given id orthe complete list of fastviews if the id == null.



getIdForRef
public String getIdForRef(IViewReference ref)(Code)

Parameters:
  ref - The IViewRference to check The id of the trim bar currently showing the reference ornull if it's not in any list



getViewSide
public int getViewSide(IViewReference ref)(Code)
The side that the fast view pane should be attached to based onthe position of the trim element containing the ref.



getViewStackTrimToolbar
public ViewStackTrimToolBar getViewStackTrimToolbar(String id)(Code)
Returns the trim element for the given id if it exists. This will not be null if there are entries in the 'idToFastViewsMap' for this id.
Parameters:
  id - The id of the view stack to get the trim toolbar for.



handlePerspectiveActivation
protected void handlePerspectiveActivation(IWorkbenchPage activatingPage, IPerspectiveDescriptor activatingPerspective)(Code)



handlePerspectiveChange
protected void handlePerspectiveChange(IWorkbenchPage changedPage, IPerspectiveDescriptor changedPerspective, IWorkbenchPartReference partRef, String changeId)(Code)



handlePerspectiveChange
protected void handlePerspectiveChange(IWorkbenchPage changedPage, IPerspectiveDescriptor changedPerspective, String changeId)(Code)



isFastView
boolean isFastView(IViewReference ref)(Code)

Parameters:
  ref - The IViewRference to check true iff the ref is in -any- list



moveToTrim
public void moveToTrim(ViewStack vs, boolean restoreOnUnzoom)(Code)



printFVModel
public void printFVModel()(Code)



removeViewReference
public void removeViewReference(IViewReference ref, boolean makeUnfast, boolean update)(Code)
Remove the view reference from its existing location
Parameters:
  ref - The IViewReference to remove



restoreAllTrimStacks
public boolean restoreAllTrimStacks()(Code)
Restore any trim stacks. This method is used when the presentation is switched back to 3.0; if we aren't using the new min/max story then we shouldn't -have- any trim stacks.



restoreState
public void restoreState(IMemento memento, MultiStatus result)(Code)



restoreToPresentation
public void restoreToPresentation(String id)(Code)
Restore the trim element representing a ViewStack back into the presentation.
Parameters:
  viewStackTrimToolBar - The trim version to restore



restoreZoomedViewStacks
public void restoreZoomedViewStacks()(Code)
Restore all fact view stacks created as part of a zoom



saveState
public void saveState(IMemento memento)(Code)



setFastViewIconSelection
public void setFastViewIconSelection(IViewReference ref, boolean selected)(Code)

Parameters:
  ref - Sets the ref of the icon
Parameters:
  selected - the selection state of the icon



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.