| 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 boolean | m_bShow true if the current user has permissions to see this action. | protected boolean | m_bUserChecked true if the current user's persmissions have been checked. |
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.
|
AbstractHIMAction | public AbstractHIMAction()(Code) | | |
AbstractHIMAction | public AbstractHIMAction(VirtualFile vfFile)(Code) | | Constructs a new abstract action.
Parameters: vfFile - Virtual file that action will focus on |
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 |
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 |
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 |
|
|