edu.stanford.smi.protege.action
Class ProjectAction
java.lang.Object
javax.swing.AbstractAction
edu.stanford.smi.protege.action.ProjectAction
- All Implemented Interfaces:
- Action, ActionListener, Cloneable, EventListener, Serializable
- Direct Known Subclasses:
- AutosynchronizeTrees, BuildProject, CascadeWindows, CloseAllWindows, CloseProject, CollectGarbageAction, ConfigureProject, CreateProject, DetachCurrentTab, ExitApplication, ExportPluginAction, GenerateHtml, ImportPluginAction, LocalProjectAction, LookAndFeelAction, OpenProject, OpenRemoteProject, RedoAction, ShowAboutBox, ShowAboutPluginsBox, ShowCommandHistoryAction, ShowEncodingAndLocales, ShowIconDialog, ShowIncludedProjects, ShowMetrics, SynchronizeTrees, UndoAction
- public abstract class ProjectAction
- extends AbstractAction
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
ProjectAction
public ProjectAction(String label,
Icon icon)
getProjectManager
protected ProjectManager getProjectManager()
getProject
protected Project getProject()
getKnowledgeBase
protected KnowledgeBase getKnowledgeBase()
getProjectView
protected ProjectView getProjectView()
getCommandManager
protected CommandManager getCommandManager()
getMainPanel
protected JComponent getMainPanel()
equals
public static boolean equals(Object o1,
Object o2)
Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2004 Stanford University.