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


org.eclipse.ui.internal.keys.KeyAssistDialog

KeyAssistDialog
final class KeyAssistDialog extends PopupDialog (Code)

A dialog displaying a list of key bindings. The dialog will execute a command if it is selected.

The methods on this class are not thread-safe and must be run from the UI thread.


since:
   3.1



Constructor Summary
 KeyAssistDialog(IWorkbench workbench, WorkbenchKeyboard associatedKeyboard, KeyBindingState associatedState)
     Constructs a new instance of KeyAssistDialog.

Method Summary
final  voidclearRememberedState()
     Clears out the remembered state of the key assist dialog.
final public  booleanclose()
     Closes this shell, but first remembers some state of the dialog.
final public  booleanclose(boolean rememberState)
     Closes this shell, but first remembers some state of the dialog.
final protected  ControlcreateDialogArea(Composite parent)
     Creates the content area for the key assistant.
final public  intopen()
     Opens this dialog.
final public  intopen(Collection bindings)
     Opens this dialog with the list of bindings for the user to select from.
final protected  voidsetParentShell(Shell newParentShell)
     Exposing this within the keys package.


Constructor Detail
KeyAssistDialog
KeyAssistDialog(IWorkbench workbench, WorkbenchKeyboard associatedKeyboard, KeyBindingState associatedState)(Code)
Constructs a new instance of KeyAssistDialog. When the dialog is first constructed, it contains no widgets. The dialog is first created with no parent. If a parent is required, call setParentShell(). Also, between uses, it might be necessary to call setParentShell() as well.
Parameters:
  workbench - The workbench in which this dialog is created; must not benull.
Parameters:
  associatedKeyboard - The key binding listener for the workbench; must not benull.
Parameters:
  associatedState - The key binding state associated with the workbench; must notbe null.




Method Detail
clearRememberedState
final void clearRememberedState()(Code)
Clears out the remembered state of the key assist dialog. This includes its width, as well as the selected binding.



close
final public boolean close()(Code)
Closes this shell, but first remembers some state of the dialog. This way it will have a response if asked to open the dialog again or if asked to open the keys preference page. This does not remember the internal state. Whether the shell was already closed.



close
final public boolean close(boolean rememberState)(Code)
Closes this shell, but first remembers some state of the dialog. This way it will have a response if asked to open the dialog again or if asked to open the keys preference page.
Parameters:
  rememberState - Whether the internal state should be remembered. Whether the shell was already closed.



createDialogArea
final protected Control createDialogArea(Composite parent)(Code)
Creates the content area for the key assistant. This creates a table and places it inside the composite. The composite will contain a list of all the key bindings.
Parameters:
  parent - The parent composite to contain the dialog area; must not benull.



open
final public int open()(Code)
Opens this dialog. This method can be called multiple times on the same dialog. This only opens the dialog if there is no remembered state; if there is remembered state, then it tries to open the preference page instead. The return code from this dialog.



open
final public int open(Collection bindings)(Code)
Opens this dialog with the list of bindings for the user to select from. The return code from this dialog.
since:
   3.3



setParentShell
final protected void setParentShell(Shell newParentShell)(Code)
Exposing this within the keys package.
Parameters:
  newParentShell - The new parent shell; this value may be null ifthere is to be no parent.



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