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