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

FastViewBar
public class FastViewBar implements IWindowTrim(Code)
Represents the fast view bar.

The set of fastviews are obtained from the WorkbenchWindow that is passed into the constructor. The set of fastviews may be refreshed to match the state of the perspective by calling the update(...) method.


See Also:   org.eclipse.ui.internal.FastViewPane

Inner Class :class ViewDropTarget extends AbstractDropTarget

Field Summary
public static  StringFASTVIEWBAR_ID
    

Constructor Summary
public  FastViewBar(WorkbenchWindow theWindow)
     Constructs a new fast view bar for the given workbench window.

Method Summary
protected  voidcreateChildControls()
     Create the contents of the fast view bar.
public  voidcreateControl(Composite parent)
     Creates the underlying SWT fvbComposite for the fast view bar.
public  voiddispose()
    
protected  voiddisposeChildControls()
    
public  voiddock(int side)
    
public  ControlgetControl()
     Returns the underlying SWT fvbComposite for the fast view bar, or null if createControl has not yet been invoked.
public  StringgetDisplayName()
    
public  intgetHeightHint()
    
public  StringgetId()
    
public static  intgetInitialSide()
     Returns the platform's idea of where the fast view bar should be docked in a fresh workspace.
public  RectanglegetLocationOfNextIcon()
    
public  intgetOrientation(IViewReference ref)
    
public  IViewReferencegetSelection()
    
public  intgetSide()
     Get the current side.
public  intgetValidSides()
    
public  ListgetViewRefs()
    
public  intgetViewSide(IViewReference ref)
    
public  intgetWidthHint()
    
public  WorkbenchWindowgetWindow()
    
public  voidhandleClose()
    
public  booleanisCloseable()
    
public  booleanisResizeable()
    
public  voidrestoreState(IMemento memento)
    
public  voidrestoreView(IViewReference selectedView)
    
public  voidsaveState(IMemento memento)
    
public  voidsetOrientation(IViewReference refToSet, int newState)
    
public  voidsetSelection(IViewReference selected)
     Sets the currently selected fastview.
protected  voidstartDraggingFastView(IViewReference ref, Point position, boolean usingKeyboard)
    
protected  voidstartDraggingFastViewBar(Point position, boolean usingKeyboard)
    
public  FastViewBarContextMenuContributiontestContextMenu()
     Returns the context menu contribution item.
public  voidupdate(boolean force)
     Refreshes the contents to match the fast views in the window's current perspective.

Field Detail
FASTVIEWBAR_ID
public static String FASTVIEWBAR_ID(Code)




Constructor Detail
FastViewBar
public FastViewBar(WorkbenchWindow theWindow)(Code)
Constructs a new fast view bar for the given workbench window.
Parameters:
  theWindow -




Method Detail
createChildControls
protected void createChildControls()(Code)
Create the contents of the fast view bar. The top-level fvbComposite (created by createControl) is a composite that is created once over the lifetime of the fast view bar. This method creates the rest of the widgetry inside that composite. The controls created by this method will be destroyed and recreated if the fast view bar is docked to a different side of the window.



createControl
public void createControl(Composite parent)(Code)
Creates the underlying SWT fvbComposite for the fast view bar. Will add exactly one new fvbComposite to the given composite. Makes no assumptions about the layout being used in the parent composite.
Parameters:
  parent - enclosing SWT composite



dispose
public void dispose()(Code)



disposeChildControls
protected void disposeChildControls()(Code)



dock
public void dock(int side)(Code)



getControl
public Control getControl()(Code)
Returns the underlying SWT fvbComposite for the fast view bar, or null if createControl has not yet been invoked. The caller must not make any assumptions about the type of Control that is returned. the underlying SWT fvbComposite for the fast view bar



getDisplayName
public String getDisplayName()(Code)



getHeightHint
public int getHeightHint()(Code)



getId
public String getId()(Code)



getInitialSide
public static int getInitialSide()(Code)
Returns the platform's idea of where the fast view bar should be docked in a fresh workspace. This value is meaningless after a workspace has been setup, since the fast view bar state is then persisted in the workbench. This preference is just used for applications that want the initial docking location to be somewhere other than bottom. the initial side to dock on



getLocationOfNextIcon
public Rectangle getLocationOfNextIcon()(Code)
Returns the approximate location where the next fastview icon will be drawn (display coordinates)



getOrientation
public int getOrientation(IViewReference ref)(Code)



getSelection
public IViewReference getSelection()(Code)
Returns the currently selected fastview the currently selected fastview or null if none



getSide
public int getSide()(Code)
Get the current side. SWT.BOTTOM or SWT.RIGHT or SWT.LEFT



getValidSides
public int getValidSides()(Code)



getViewRefs
public List getViewRefs()(Code)
The list of all view references in the stack



getViewSide
public int getViewSide(IViewReference ref)(Code)

Parameters:
  ref -



getWidthHint
public int getWidthHint()(Code)



getWindow
public WorkbenchWindow getWindow()(Code)



handleClose
public void handleClose()(Code)



isCloseable
public boolean isCloseable()(Code)



isResizeable
public boolean isResizeable()(Code)



restoreState
public void restoreState(IMemento memento)(Code)



restoreView
public void restoreView(IViewReference selectedView)(Code)



saveState
public void saveState(IMemento memento)(Code)



setOrientation
public void setOrientation(IViewReference refToSet, int newState)(Code)



setSelection
public void setSelection(IViewReference selected)(Code)
Sets the currently selected fastview.
Parameters:
  selected - the currently selected fastview, or null if none



startDraggingFastView
protected void startDraggingFastView(IViewReference ref, Point position, boolean usingKeyboard)(Code)
Begins dragging a particular fast view
Parameters:
  ref -
Parameters:
  position -



startDraggingFastViewBar
protected void startDraggingFastViewBar(Point position, boolean usingKeyboard)(Code)
Begins dragging the fast view bar
Parameters:
  position - initial mouse position
Parameters:
  usingKeyboard - true iff the bar is being dragged using the keyboard



testContextMenu
public FastViewBarContextMenuContribution testContextMenu()(Code)
Returns the context menu contribution item. This is for internal UI testing only. the context menu contribution item
since:
   3.1.1



update
public void update(boolean force)(Code)
Refreshes the contents to match the fast views in the window's current perspective.
Parameters:
  force -



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.