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


org.eclipse.ui.presentations.IStackPresentationSite

All known Subclasses:   org.eclipse.ui.internal.DefaultStackPresentationSite,
IStackPresentationSite
public interface IStackPresentationSite (Code)
Represents the main interface between a StackPresentation and the workbench. Not intended to be implemented by clients.
since:
   3.0


Field Summary
public static  intSTATE_MAXIMIZED
    
public static  intSTATE_MINIMIZED
    
public static  intSTATE_RESTORED
    


Method Summary
public  voidaddSystemActions(IMenuManager menuManager)
     Adds system actions to the given menu manager.
public  voidclose(IPresentablePart[] toClose)
     Closes the given set of parts.
Parameters:
  toClose - the set of parts to close (Not null.
public  voiddragStart(IPresentablePart beingDragged, Point initialPosition, boolean keyboard)
    
public  voiddragStart(Point initialPosition, boolean keyboard)
    
public  voidflushLayout()
     Notifies the workbench that the preferred size of the presentation has changed.
public  IPresentablePart[]getPartList()
    
public  StringgetProperty(String id)
     Returns the property with the given id or null.
public  IPresentablePartgetSelectedPart()
    
public  intgetState()
    
public  booleanisCloseable(IPresentablePart toClose)
    
public  booleanisPartMoveable(IPresentablePart toMove)
     Returns true iff the given part can be dragged.
public  booleanisStackMoveable()
    
public  voidselectPart(IPresentablePart toSelect)
    
public  voidsetState(int newState)
     Sets the state of the container.
public  booleansupportsState(int state)
    

Field Detail
STATE_MAXIMIZED
public static int STATE_MAXIMIZED(Code)



STATE_MINIMIZED
public static int STATE_MINIMIZED(Code)



STATE_RESTORED
public static int STATE_RESTORED(Code)





Method Detail
addSystemActions
public void addSystemActions(IMenuManager menuManager)(Code)
Adds system actions to the given menu manager. The site may make use of the following group ids:
  • close, for close actions
  • size, for resize actions
  • misc, for miscellaneous actions
The presentation can control the insertion position by creating these group IDs where appropriate.
Parameters:
  menuManager - the menu manager to populate



close
public void close(IPresentablePart[] toClose)(Code)
Closes the given set of parts.
Parameters:
  toClose - the set of parts to close (Not null. All of the entries must be non-null)



dragStart
public void dragStart(IPresentablePart beingDragged, Point initialPosition, boolean keyboard)(Code)
Begins dragging the given part
Parameters:
  beingDragged - the part to drag (not null)
Parameters:
  initialPosition - the mouse position at the time of the initial mousedown (display coordinates, not null)
Parameters:
  keyboard - true iff the drag was initiated via mouse dragging,and false if the drag may be using the keyboard



dragStart
public void dragStart(Point initialPosition, boolean keyboard)(Code)
Begins dragging the entire stack of parts
Parameters:
  initialPosition - the mouse position at the time of the initial mousedown (display coordinates, not null)
Parameters:
  keyboard - true iff the drag was initiated via mouse dragging,and false if the drag may be using the keyboard



flushLayout
public void flushLayout()(Code)
Notifies the workbench that the preferred size of the presentation has changed. Hints to the workbench that it should trigger a layout at the next opportunity.
since:
   3.1



getPartList
public IPresentablePart[] getPartList()(Code)
Returns the list of presentable parts currently in this site the list of presentable parts currently in this site
since:
   3.1



getProperty
public String getProperty(String id)(Code)
Returns the property with the given id or null. Folder properties are an extensible mechanism for perspective authors to customize the appearance of view stacks. The list of customizable properties is determined by the presentation factory, and set in the perspective factory.
Parameters:
  id - Must not be null. property value, or null if the property is notset.
since:
   3.3



getSelectedPart
public IPresentablePart getSelectedPart()(Code)
Returns the currently selected part or null if the stack is empty the currently selected part or null if the stack is empty



getState
public int getState()(Code)
Returns the current state of the site (one of the STATE_* constants) the current state of the site (one of the STATE_* constants)



isCloseable
public boolean isCloseable(IPresentablePart toClose)(Code)
Returns true iff this site will allow the given part to be closed
Parameters:
  toClose - part to test (not null) true iff the part may be closed



isPartMoveable
public boolean isPartMoveable(IPresentablePart toMove)(Code)
Returns true iff the given part can be dragged. If this returns false, the given part should not trigger a drag.
Parameters:
  toMove - part to test (not null) true iff this part is a valid drag source



isStackMoveable
public boolean isStackMoveable()(Code)
Returns true iff this entire stack can be dragged tre iff the stack can be dragged



selectPart
public void selectPart(IPresentablePart toSelect)(Code)
Makes the given part active
Parameters:
  toSelect -



setState
public void setState(int newState)(Code)
Sets the state of the container. Called by the presentation when the user causes the the container to be minimized, maximized, etc.
Parameters:
  newState - one of the STATE_* constants



supportsState
public boolean supportsState(int state)(Code)
Returns true iff the site supports the given state
Parameters:
  state - one of the STATE_* constants, above true iff the site supports the given state



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