Source Code Cross Referenced for HIMAction.java in  » Content-Management-System » harmonise » org » openharmonise » him » actions » 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 » Content Management System » harmonise » org.openharmonise.him.actions 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         * The contents of this file are subject to the 
003:         * Mozilla Public License Version 1.1 (the "License"); 
004:         * you may not use this file except in compliance with the License. 
005:         * You may obtain a copy of the License at http://www.mozilla.org/MPL/
006:         *
007:         * Software distributed under the License is distributed on an "AS IS"
008:         * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. 
009:         * See the License for the specific language governing rights and 
010:         * limitations under the License.
011:         *
012:         * The Initial Developer of the Original Code is Simulacra Media Ltd.
013:         * Portions created by Simulacra Media Ltd are Copyright (C) Simulacra Media Ltd, 2004.
014:         *
015:         * All Rights Reserved.
016:         *
017:         * Contributor(s):
018:         */
019:        package org.openharmonise.him.actions;
020:
021:        import javax.swing.Icon;
022:        import javax.swing.JButton;
023:        import javax.swing.JMenuItem;
024:
025:        import org.openharmonise.vfs.context.*;
026:
027:        /**
028:         * Interface for all actions within Harmonise Information Manager.
029:         * 
030:         * @author Matthew Large
031:         * @version $Revision: 1.1 $
032:         *
033:         */
034:        public interface HIMAction {
035:
036:            /**
037:             * Returns a button which will trigger this action.
038:             * 
039:             * @return Button
040:             */
041:            public JButton getButton();
042:
043:            /**
044:             * Returns a menu item which will trigger this action.
045:             * 
046:             * @return Menu item
047:             */
048:            public JMenuItem getMenuItem();
049:
050:            /**
051:             * Returns a description of the action.
052:             * 
053:             * @return Description
054:             */
055:            public String getDescription();
056:
057:            /**
058:             * Returns a name of the action.
059:             * 
060:             * @return Name
061:             */
062:            public String getText();
063:
064:            /**
065:             * Returns some tooltip text for the action.
066:             * 
067:             * @return Tooltip text
068:             */
069:            public String getToolTip();
070:
071:            /**
072:             * Returns an icon for the action.
073:             * 
074:             * @return Icon
075:             */
076:            public Icon getIcon();
077:
078:            /**
079:             * Returns the accelerator key code for the action.
080:             * 
081:             * @return Accelerator key code
082:             */
083:            public int getAcceleratorKeycode();
084:
085:            /**
086:             * Returns the accelerator mask for the action.
087:             * 
088:             * @return Accelerator mask
089:             */
090:            public int getAcceleratorMask();
091:
092:            /**
093:             * Returns the mnemonic for the action.
094:             * 
095:             * @return Mnemonic
096:             */
097:            public String getMnemonic();
098:
099:            /**
100:             * Checks if an action, and therefore its buttons and menu items,
101:             * is enabled. This is based on the file that the action is
102:             * focuesed on, the context and the enable rules.
103:             * 
104:             * @param ce Context event to check against
105:             * @return true if the action is enabled
106:             */
107:            public boolean isEnabled(ContextEvent ce);
108:
109:            /**
110:             * Sets whether the action is enabled or not.
111:             * 
112:             * @param bEnabled true to set the action to be enabled
113:             */
114:            public void setEnabled(boolean bEnabled);
115:
116:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.