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


org.eclipse.ui.internal.handlers.CommandLegacyActionWrapper

CommandLegacyActionWrapper
final public class CommandLegacyActionWrapper extends AbstractAction (Code)

A wrapper around the new command infrastructure that imitates the old IAction interface.

Clients may instantiate this class, but must not extend.

PROVISIONAL. This class or interface has been added as part of a work in progress. There is a guarantee neither that this API will work nor that it will remain the same. Please do not use this API without consulting with the Platform/UI team.

This class is eventually intended to exist in org.eclipse.ui.handlers.


since:
   3.2



Constructor Summary
public  CommandLegacyActionWrapper(String id, ParameterizedCommand command, String style, IServiceLocator serviceLocator)
     Constructs a new instance of ActionProxy.

Method Summary
final public  intgetAccelerator()
    
final public  StringgetActionDefinitionId()
    
final public  StringgetDescription()
    
final public  ImageDescriptorgetDisabledImageDescriptor()
    
final public  HelpListenergetHelpListener()
    
final public  ImageDescriptorgetHoverImageDescriptor()
    
final public  StringgetId()
    
final public  ImageDescriptorgetImageDescriptor()
    
final public  IMenuCreatorgetMenuCreator()
    
final public  intgetStyle()
    
final public  StringgetText()
    
final public  StringgetToolTipText()
    
final public  booleanisChecked()
    
final public  booleanisEnabled()
    
final public  booleanisEnabledDisregardingCommand()
     Whether this action's local enabled property is set.
final public  booleanisHandled()
    
final public  voidrun()
    
final public  voidrunWithEvent(Event event)
    
final public  voidsetAccelerator(int keycode)
    
final public  voidsetActionDefinitionId(String id)
    
final public  voidsetChecked(boolean checked)
    
final public  voidsetDescription(String text)
    
final public  voidsetDisabledImageDescriptor(ImageDescriptor newImage)
    
final public  voidsetEnabled(boolean enabled)
    
final public  voidsetHelpListener(HelpListener listener)
    
final public  voidsetHoverImageDescriptor(ImageDescriptor newImage)
    
final public  voidsetId(String id)
    
final public  voidsetImageDescriptor(ImageDescriptor newImage)
    
final public  voidsetMenuCreator(IMenuCreator creator)
    
final public  voidsetText(String text)
    
final public  voidsetToolTipText(String text)
    


Constructor Detail
CommandLegacyActionWrapper
public CommandLegacyActionWrapper(String id, ParameterizedCommand command, String style, IServiceLocator serviceLocator)(Code)
Constructs a new instance of ActionProxy.
Parameters:
  id - The initial action identifier; may be null.
Parameters:
  command - The command with which this action is associated; must not benull.
Parameters:
  style - The image style to use for this action, may benull.
Parameters:
  serviceLocator - A service locator that can be used to find variouscommand-based services; must not be null.




Method Detail
getAccelerator
final public int getAccelerator()(Code)



getActionDefinitionId
final public String getActionDefinitionId()(Code)



getDescription
final public String getDescription()(Code)



getDisabledImageDescriptor
final public ImageDescriptor getDisabledImageDescriptor()(Code)



getHelpListener
final public HelpListener getHelpListener()(Code)



getHoverImageDescriptor
final public ImageDescriptor getHoverImageDescriptor()(Code)



getId
final public String getId()(Code)



getImageDescriptor
final public ImageDescriptor getImageDescriptor()(Code)



getMenuCreator
final public IMenuCreator getMenuCreator()(Code)



getStyle
final public int getStyle()(Code)



getText
final public String getText()(Code)



getToolTipText
final public String getToolTipText()(Code)



isChecked
final public boolean isChecked()(Code)



isEnabled
final public boolean isEnabled()(Code)



isEnabledDisregardingCommand
final public boolean isEnabledDisregardingCommand()(Code)
Whether this action's local enabled property is set. This can be used by handlers that are trying to check if CommandLegacyActionWrapper.setEnabled(boolean) has been called. This is typically used by legacy action proxies who are trying to avoid a stack overflow. false if someone has calledCommandLegacyActionWrapper.setEnabled(boolean) with false;true otherwise.



isHandled
final public boolean isHandled()(Code)



run
final public void run()(Code)



runWithEvent
final public void runWithEvent(Event event)(Code)



setAccelerator
final public void setAccelerator(int keycode)(Code)



setActionDefinitionId
final public void setActionDefinitionId(String id)(Code)



setChecked
final public void setChecked(boolean checked)(Code)



setDescription
final public void setDescription(String text)(Code)



setDisabledImageDescriptor
final public void setDisabledImageDescriptor(ImageDescriptor newImage)(Code)



setEnabled
final public void setEnabled(boolean enabled)(Code)



setHelpListener
final public void setHelpListener(HelpListener listener)(Code)



setHoverImageDescriptor
final public void setHoverImageDescriptor(ImageDescriptor newImage)(Code)



setId
final public void setId(String id)(Code)



setImageDescriptor
final public void setImageDescriptor(ImageDescriptor newImage)(Code)



setMenuCreator
final public void setMenuCreator(IMenuCreator creator)(Code)



setText
final public void setText(String text)(Code)



setToolTipText
final public void setToolTipText(String text)(Code)



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