Java Doc for WrappedTabsPartPresentation.java in  » IDE-Eclipse » ui-examples » org » eclipse » ui » examples » presentation » wrappedtabs » 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 examples » org.eclipse.ui.examples.presentation.wrappedtabs 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.eclipse.ui.examples.presentation.wrappedtabs.WrappedTabsPartPresentation

WrappedTabsPartPresentation
public class WrappedTabsPartPresentation extends StackPresentation (Code)

since:
   3.0


Field Summary
 ListenerdragListener
    
 SelectionAdaptertabItemSelectionAdapter
     This listener responds to selection events in all tool items.

Constructor Summary
public  WrappedTabsPartPresentation(Composite parent, IStackPresentationSite stackSite, boolean showIconOnTabs)
     Creates a new bare-bones part presentation, given the parent composite and an IStackPresentationSite interface that will be used to communicate with the workbench.

Method Summary
public  voidaddPart(IPresentablePart newPart, Object cookie)
    
protected  voidchildPropertyChanged(IPresentablePart part, int property)
     Called whenever a property changes for one of the parts in this presentation.
public  voidclose(IPresentablePart[] parts)
    
public  PointcomputeMinimumSize()
    
public  voidcurrentPartChanged()
    
public  voiddispose()
    
public  StackDropResultdragOver(Control currentControl, Point location)
    
public  ControlgetControl()
    
public  IPresentablePartgetCurrent()
    
final protected  IPresentablePartgetPartForTab(ToolItem item)
     Returns the part associated with the given tab, or null if none.
public  IPresentablePart[]getParts()
    
final protected  ToolItemgetTab(IPresentablePart part)
    
public  Control[]getTabList(IPresentablePart part)
    
protected  StringgetTabText(IPresentablePart part)
     Returns the decorated tab text for the given part.
protected  voidinitTab(ToolItem item, IPresentablePart part)
    
public  booleanisShowingToolbar()
    
protected  voidpresentationDisposed()
     Perform any cleanup.
public  voidrefreshButtonBarEnablement()
    
public  voidremovePart(IPresentablePart oldPart)
     Removes the given part from the stack.
public  voidrestoreState(IPresentationSerializer serializer, IMemento savedState)
    
public  voidsaveState(IPresentationSerializer context, IMemento memento)
    
public  voidselectPart(IPresentablePart toSelect)
    
public  voidsetActive(int newState)
    
public  voidsetBounds(Rectangle bounds)
    
public  voidsetState(int state)
    
public  voidsetVisible(boolean isVisible)
    
public  voidshowPaneMenu(Point location)
    
public  voidshowPaneMenu()
    
public  voidshowPartList()
    
public  voidshowSystemMenu()
    
public  voidshowSystemMenu(Point displayPos)
    
protected  voidshowToolbar(IPresentablePart part, boolean shouldShow)
    
public  voidshowToolbar(boolean selection)
    

Field Detail
dragListener
Listener dragListener(Code)
Drag listener for regions outside the toolbar



tabItemSelectionAdapter
SelectionAdapter tabItemSelectionAdapter(Code)
This listener responds to selection events in all tool items.




Constructor Detail
WrappedTabsPartPresentation
public WrappedTabsPartPresentation(Composite parent, IStackPresentationSite stackSite, boolean showIconOnTabs)(Code)
Creates a new bare-bones part presentation, given the parent composite and an IStackPresentationSite interface that will be used to communicate with the workbench.
Parameters:
  stackSite - interface to the workbench




Method Detail
addPart
public void addPart(IPresentablePart newPart, Object cookie)(Code)



childPropertyChanged
protected void childPropertyChanged(IPresentablePart part, int property)(Code)
Called whenever a property changes for one of the parts in this presentation.
Parameters:
  part -
Parameters:
  property -



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

Parameters:
  parts -



computeMinimumSize
public Point computeMinimumSize()(Code)



currentPartChanged
public void currentPartChanged()(Code)



dispose
public void dispose()(Code)



dragOver
public StackDropResult dragOver(Control currentControl, Point location)(Code)



getControl
public Control getControl()(Code)



getCurrent
public IPresentablePart getCurrent()(Code)



getPartForTab
final protected IPresentablePart getPartForTab(ToolItem item)(Code)
Returns the part associated with the given tab, or null if none.
Parameters:
  item - the tab to query the part associated with the given tab or null if none



getParts
public IPresentablePart[] getParts()(Code)



getTab
final protected ToolItem getTab(IPresentablePart part)(Code)
Returns the tab associated with the given part or null if none
Parameters:
  part - the part to check for the tab associated with the given part or null if none



getTabList
public Control[] getTabList(IPresentablePart part)(Code)



getTabText
protected String getTabText(IPresentablePart part)(Code)
Returns the decorated tab text for the given part. By default, we attach a star to indicate dirty tabs.
Parameters:
  part - part whose text is being computed the decorated tab text for the given part



initTab
protected void initTab(ToolItem item, IPresentablePart part)(Code)



isShowingToolbar
public boolean isShowingToolbar()(Code)



presentationDisposed
protected void presentationDisposed()(Code)
Perform any cleanup. This method should remove any listeners that were attached to other objects. This gets called when the presentation widget is disposed. This is safer than cleaning up in the dispose() method, since this code will run even if some unusual circumstance destroys the Shell without first calling dispose().



refreshButtonBarEnablement
public void refreshButtonBarEnablement()(Code)



removePart
public void removePart(IPresentablePart oldPart)(Code)
Removes the given part from the stack.
Parameters:
  oldPart - the part to remove (not null)



restoreState
public void restoreState(IPresentationSerializer serializer, IMemento savedState)(Code)



saveState
public void saveState(IPresentationSerializer context, IMemento memento)(Code)



selectPart
public void selectPart(IPresentablePart toSelect)(Code)



setActive
public void setActive(int newState)(Code)



setBounds
public void setBounds(Rectangle bounds)(Code)



setState
public void setState(int state)(Code)



setVisible
public void setVisible(boolean isVisible)(Code)



showPaneMenu
public void showPaneMenu(Point location)(Code)



showPaneMenu
public void showPaneMenu()(Code)



showPartList
public void showPartList()(Code)



showSystemMenu
public void showSystemMenu()(Code)



showSystemMenu
public void showSystemMenu(Point displayPos)(Code)



showToolbar
protected void showToolbar(IPresentablePart part, boolean shouldShow)(Code)



showToolbar
public void showToolbar(boolean selection)(Code)

Parameters:
  selection -



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