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:
- Action, ActionListener, Cloneable, EventListener, Serializable
- Direct Known Subclasses:
- AutosynchronizeTrees, BuildProject, CascadeWindows, Clear, CloseAllWindows, CloseCurrentView, CloseProject, ConfigureProject, Copy, CreateProject, CreateProject2, Cut, DetachCurrentView, ExitApplication, ExportPluginAction, GenerateHtml, 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
public ProjectAction(String text)
ProjectAction
public ProjectAction(String label,
Icon icon)
ProjectAction
public ProjectAction(ResourceKey key)
ProjectAction
public ProjectAction(ResourceKey key,
boolean useLargeIcon)
getProjectManager
protected ProjectManager getProjectManager()
getProject
protected Project getProject()
getKnowledgeBase
protected KnowledgeBase getKnowledgeBase()
getProjectView
protected ProjectView getProjectView()
getCommandManager
protected CommandManager getCommandManager()
getMainPanel
protected JComponent getMainPanel()
Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2005 Stanford University.