Last change
on this file since 7a9881 was 536380, checked in by Tillmann Crueger <crueger@…>, 16 years ago |
Added a progress indicator for the text menu
|
-
Property mode
set to
100644
|
File size:
570 bytes
|
Line | |
---|
1 | // All rather small Actions should go into this file for simplicities sake
|
---|
2 |
|
---|
3 | #ifndef _SMALL_ACTIONS_HPP
|
---|
4 | #define _SMALL_ACTIONS_HPP
|
---|
5 |
|
---|
6 | #include "Actions/Action.hpp"
|
---|
7 | #include "Actions/Process.hpp"
|
---|
8 |
|
---|
9 | class MoleculeListClass;
|
---|
10 |
|
---|
11 | class ChangeMoleculeNameAction : public Action {
|
---|
12 | public:
|
---|
13 | ChangeMoleculeNameAction(MoleculeListClass*);
|
---|
14 | virtual ~ChangeMoleculeNameAction();
|
---|
15 |
|
---|
16 | void call();
|
---|
17 | void undo();
|
---|
18 | bool canUndo();
|
---|
19 | bool shouldUndo();
|
---|
20 |
|
---|
21 | virtual const std::string getName();
|
---|
22 | private:
|
---|
23 | MoleculeListClass *molecules;
|
---|
24 | static char NAME[];
|
---|
25 | };
|
---|
26 |
|
---|
27 |
|
---|
28 | #endif // _SMALL_ACTIONS_HPP
|
---|
Note:
See
TracBrowser
for help on using the repository browser.