26 #ifndef OPEN_WORKSPACEACTION_H
27 #define OPEN_WORKSPACEACTION_H
When triggered, the OpenWorkspaceAction automatically opens the given workspace file.
Definition: OpenWorkspaceAction.h:40
virtual QWidget * getWidget()
Returns NULL: no permanent widget for this action. The GUI is shown as a one-shot dialog in apply.
Definition: OpenWorkspaceAction.cpp:59
OpenWorkspaceAction(camitk::ActionExtension *)
Default Constructor.
Definition: OpenWorkspaceAction.cpp:38
virtual ~OpenWorkspaceAction()
Default Destructor.
Definition: OpenWorkspaceAction.cpp:55
virtual camitk::Action::ApplyStatus apply()
apply the action i.e. show a file dialog and open the selected file(s)
Definition: OpenWorkspaceAction.cpp:64
This class describes what is a generic Action extension.
Definition: ActionExtension.h:57
Action class is an abstract class that enables you to build a action (generally on a component).
Definition: Action.h:209
ApplyStatus
describes what happened during the application of an algorithm (i.e. results of the apply method)
Definition: Action.h:225