Java Doc for AbstractHIMAction.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 Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.openharmonise.him.actions.AbstractHIMAction

All known Subclasses:   org.openharmonise.him.actions.dir.ActionOrder,  org.openharmonise.him.actions.publish.ActionRemoveFromInternet,  org.openharmonise.him.actions.file.ActionChangeUserPassword,  org.openharmonise.him.actions.move.ActionCancel,  org.openharmonise.him.actions.move.ActionCopy,  org.openharmonise.him.actions.system.ActionPreviewSettings,  org.openharmonise.him.actions.system.ActionExportContent,  org.openharmonise.him.actions.system.ActionChangeMyPassword,  org.openharmonise.him.actions.file.ActionUnlock,  org.openharmonise.him.actions.file.ActionOpen,  org.openharmonise.him.actions.sync.ActionDiscard,  org.openharmonise.him.actions.publish.ActionPublishToInternet,  org.openharmonise.him.actions.system.ActionExitReject,  org.openharmonise.him.actions.publish.ActionRetrieve,  org.openharmonise.him.actions.publish.ActionPreview,  org.openharmonise.him.actions.system.ActionCustomise,  org.openharmonise.him.actions.file.ActionNewCollection,  org.openharmonise.him.actions.system.ActionRefresh,  org.openharmonise.him.actions.file.ActionSynchronise,  org.openharmonise.him.actions.file.ActionLock,  org.openharmonise.him.actions.move.ActionMove,  org.openharmonise.him.actions.messages.ActionSetFilters,  org.openharmonise.him.actions.file.ActionCreateCopy,  org.openharmonise.him.actions.system.ActionExitCommit,  org.openharmonise.him.actions.publish.ActionArchive,  org.openharmonise.him.actions.sync.ActionSynchronize,  org.openharmonise.him.actions.help.ActionKeyboardShortcuts,  org.openharmonise.him.actions.move.ActionAlias,  org.openharmonise.him.actions.system.ActionSyncWithServer,  org.openharmonise.him.actions.system.ActionSystemSettings,  org.openharmonise.him.actions.file.ActionUpload,  org.openharmonise.him.actions.help.ActionAbout,  org.openharmonise.him.actions.publish.ActionExport,  org.openharmonise.him.actions.file.ActionNewFile,  org.openharmonise.him.actions.file.ActionRename,  org.openharmonise.him.actions.messages.ActionClear,  org.openharmonise.him.actions.xslt.ActionDownloadImports,  org.openharmonise.him.actions.help.ActionHelp,
AbstractHIMAction
abstract public class AbstractHIMAction implements ActionListener(Code)
Class to make development of Actions within Harmonise Information Manager easier.
author:
   Matthew Large
version:
   $Revision: 1.4 $


Field Summary
protected  booleanm_bShow
     true if the current user has permissions to see this action.
protected  booleanm_bUserChecked
     true if the current user's persmissions have been checked.

Constructor Summary
public  AbstractHIMAction()
    
public  AbstractHIMAction(VirtualFile vfFile)
     Constructs a new abstract action.

Method Summary
abstract public  voidactionPerformed(ActionEvent arg0)
    
protected  voidaddEnableRule(EnableRule rule)
     Adds a rule to action.
protected  voidcheckUser()
     Checks the current user's permissions to see if they are allowed to see this action.
protected  voidfireSessionEvent(String sMessage, AbstractVirtualFileSystem vfs, String sPath, String sSessionEventType)
     Utility method to help implementors fire session events.
public  JButtongetButton()
    
abstract public  IcongetIcon()
     Returns the icon for the action.
protected  VirtualFilegetLastContextDirectory()
     Returns the virtual file from the last collection context event.
protected  VirtualFilegetLastContextFile()
     Returns the virtual file from the last file context event.
public  JMenuItemgetMenuItem()
    
abstract public  StringgetMnemonic()
     Returns the Mnemonic for the action.
protected  VirtualFilegetPrimaryDirectory()
     Returns the collection that the action is focused on.
protected  VirtualFilegetPrimaryFile()
     Returns the virtual file that the action is focused on.
abstract public  StringgetText()
     Returns the text name of the action.
abstract public  StringgetToolTip()
     Returns the tooltip text for the action.
public  booleanisEnabled(ContextEvent ce)
     Checks if an action, and therefore its buttons and menu items, is enabled.
public  voidsetEnabled(boolean bEnabled)
     Sets whether the action is enabled or not.

Field Detail
m_bShow
protected boolean m_bShow(Code)
true if the current user has permissions to see this action.



m_bUserChecked
protected boolean m_bUserChecked(Code)
true if the current user's persmissions have been checked.




Constructor Detail
AbstractHIMAction
public AbstractHIMAction()(Code)



AbstractHIMAction
public AbstractHIMAction(VirtualFile vfFile)(Code)
Constructs a new abstract action.
Parameters:
  vfFile - Virtual file that action will focus on




Method Detail
actionPerformed
abstract public void actionPerformed(ActionEvent arg0)(Code)



addEnableRule
protected void addEnableRule(EnableRule rule)(Code)
Adds a rule to action.
Parameters:
  rule - Rule to add



checkUser
protected void checkUser()(Code)
Checks the current user's permissions to see if they are allowed to see this action.



fireSessionEvent
protected void fireSessionEvent(String sMessage, AbstractVirtualFileSystem vfs, String sPath, String sSessionEventType)(Code)
Utility method to help implementors fire session events.
Parameters:
  sMessage - Message
Parameters:
  vfs - Virtual file system
Parameters:
  sPath - Full path
Parameters:
  sSessionEventType - Event type



getButton
public JButton getButton()(Code)



getIcon
abstract public Icon getIcon()(Code)
Returns the icon for the action. Icon



getLastContextDirectory
protected VirtualFile getLastContextDirectory()(Code)
Returns the virtual file from the last collection context event. Last collection context virtual file



getLastContextFile
protected VirtualFile getLastContextFile()(Code)
Returns the virtual file from the last file context event. Last file context virtual file



getMenuItem
public JMenuItem getMenuItem()(Code)



getMnemonic
abstract public String getMnemonic()(Code)
Returns the Mnemonic for the action. Mnemonic



getPrimaryDirectory
protected VirtualFile getPrimaryDirectory()(Code)
Returns the collection that the action is focused on. Collection



getPrimaryFile
protected VirtualFile getPrimaryFile()(Code)
Returns the virtual file that the action is focused on. Virtual file



getText
abstract public String getText()(Code)
Returns the text name of the action. Name



getToolTip
abstract public String getToolTip()(Code)
Returns the tooltip text for the action. Tooltip text



isEnabled
public boolean isEnabled(ContextEvent ce)(Code)
Checks if an action, and therefore its buttons and menu items, is enabled. This is based on the file that the action is focuesed on, the context and the enable rules.
Parameters:
  ce - Context event to check against true if the action is enabled



setEnabled
public void setEnabled(boolean bEnabled)(Code)
Sets whether the action is enabled or not.
Parameters:
  bEnabled - true to set the action to be enabled



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

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