edu.stanford.smi.protege.action
Class ProjectAction
java.lang.Object
javax.swing.AbstractAction
edu.stanford.smi.protege.util.StandardAction
edu.stanford.smi.protege.action.ProjectAction
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action
- Direct Known Subclasses:
- AutosynchronizeTrees, BuildProject, CascadeWindows, Clear, CloseAllWindows, CloseCurrentView, CloseProject, ConfigureProject, Copy, CreateProject, Cut, DetachCurrentView, ExitApplication, ExportPluginAction, ImportPluginAction, LocalProjectAction, LookAndFeelAction, OpenProject, OpenRemoteProject, Paste, RedoAction, ShowAboutBox, ShowAboutPluginsBox, ShowCommandHistoryAction, ShowEncodingAndLocales, ShowIconDialog, ShowIncludedProjects, ShowMetrics, SynchronizeTrees, UndoAction
public abstract class ProjectAction
- extends StandardAction
Base class for actions that access the current project. By default instances of this class are disabled
if no project is loaded. To override this call #setEnabled(boolean) in the constructor.
- Author:
- Ray Fergerson
- See Also:
- Serialized Form
Methods inherited from class edu.stanford.smi.protege.util.StandardAction |
equals, getIcon, getName, getName, initialize, setDescription, setDescription, setDisabledIcon, setDisabledIcon, setIcon, setIcon, setMnemonic, setMnemonic, setName, setName, setShortcut, setShortcut, substituteIntoName |
ProjectAction
protected ProjectAction(String text)
ProjectAction
protected ProjectAction(String label,
Icon icon)
ProjectAction
protected ProjectAction(ResourceKey key)
ProjectAction
protected ProjectAction(ResourceKey key,
boolean useLargeIcon)
getProjectManager
protected static ProjectManager getProjectManager()
getProject
protected static Project getProject()
getKnowledgeBase
protected static KnowledgeBase getKnowledgeBase()
getProjectView
protected static ProjectView getProjectView()
getCommandManager
protected static CommandManager getCommandManager()
getMainPanel
protected static JComponent getMainPanel()
Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2011 Stanford University.