Java Doc for IWindowTrim.java in  » IDE-Eclipse » ui-workbench » org » eclipse » ui » internal » layout » 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.layout 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.eclipse.ui.internal.layout.IWindowTrim

All known Subclasses:   org.eclipse.ui.internal.progress.ProgressRegion,  org.eclipse.ui.internal.layout.TrimToolBarBase,  org.eclipse.ui.internal.FastViewBar,  org.eclipse.ui.internal.WindowTrimProxy,  org.eclipse.ui.internal.PerspectiveSwitcher,
IWindowTrim
public interface IWindowTrim (Code)
Interface for trim controls that can be docked to the edge of a Workbench window using drag-and-drop.

Note: This interface is highly experimental, and will probably change between M4 and M5. For example, it will support a "lifecycle" that allows the ITrimManager to update its modifiers (like SWT.TOP or SWT.LEFT) so the IWindowTrim can dispose and re-create its control. This will likely effect methods like IWindowTrim.dock(int) , IWindowTrim.getControl() , IWindowTrim.getValidSides() , etc.


since:
   3.2




Method Summary
 voiddock(int dropSide)
    
 ControlgetControl()
     Returns the control representing this trim widget, or null if it has not yet been created.
public  StringgetDisplayName()
     Returns the (localized) display name for this trim.
public  intgetHeightHint()
     Overrides the preferred height of the control (pixels).
public  StringgetId()
     Each piece of window trim must have a unique ID to participate fully as trim.
 intgetValidSides()
     Returns the set of sides that this trim can be docked onto.
public  intgetWidthHint()
     Overrides the preferred width of the control (pixels).
public  voidhandleClose()
     This method is called when the trim UI has closed (hidden) the trim.
public  booleanisCloseable()
     Determines whether a particular trim can be 'closed' using the common Trim UI.
public  booleanisResizeable()
     If true, the control will be resized with the layout.



Method Detail
dock
void dock(int dropSide)(Code)
Called to notify the trim object that it has been docked on the given side of the layout
Parameters:
  dropSide - the trim drop area



getControl
Control getControl()(Code)
Returns the control representing this trim widget, or null if it has not yet been created. the control for the trim widget.



getDisplayName
public String getDisplayName()(Code)
Returns the (localized) display name for this trim. This is used, for example, to construct menu items... The display name for this trim
since:
   3.2



getHeightHint
public int getHeightHint()(Code)
Overrides the preferred height of the control (pixels). If SWT.DEFAULT, then the control's preferred height will be used. This has no effect for vertically resizable controls. pixels, or SWT.DEFAULT
since:
   3.2



getId
public String getId()(Code)
Each piece of window trim must have a unique ID to participate fully as trim. The unique id
since:
   3.2



getValidSides
int getValidSides()(Code)
Returns the set of sides that this trim can be docked onto. bitwise OR of one or more of SWT.TOP, SWT.BOTTOM, SWT.LEFT, andSWT.RIGHT



getWidthHint
public int getWidthHint()(Code)
Overrides the preferred width of the control (pixels). If SWT.DEFAULT, then the control's preferred width will be used. This has no effect for horizontally resizable controls. pixels, or SWT.DEFAULT
since:
   3.2



handleClose
public void handleClose()(Code)
This method is called when the trim UI has closed (hidden) the trim. The controls associated with the trim will have already been removed from the trim layout. The implementor should take any necessary clean up actions here.
since:
   3.2



isCloseable
public boolean isCloseable()(Code)
Determines whether a particular trim can be 'closed' using the common Trim UI. true if the UI should profer the close affordance; falseotherwise
since:
   3.2



isResizeable
public boolean isResizeable()(Code)
If true, the control will be resized with the layout. If there is more than one resizable control on the same side of the layout, the available space will be divided equally among all the resizeable controls. true or false.
since:
   3.2



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