01: /**
02: *
03: */package core;
04:
05: import org.eclipse.gef.EditPart;
06:
07: /** <p>an info object that holds the information that is passed from
08: * the user to the refactoring.</p> Primarilly used by Model Refactoring.
09: *
10: * @author sh
11: */
12: public class ModelInfo {
13: // the old full qualified name of the implementation
14: private String oldImplementation;
15:
16: // the new full qualified name of the implementation
17: private String newImplementation;
18:
19: // the current selected EditPart
20: private EditPart selectedEditPart;
21:
22: public String getOldImplementation() {
23: return oldImplementation;
24: }
25:
26: public void setOldImplementation(final String oldImplementation) {
27: this .oldImplementation = oldImplementation;
28: }
29:
30: public String getNewImplementation() {
31: return newImplementation;
32: }
33:
34: public void setNewImplementation(final String newImplementation) {
35: this .newImplementation = newImplementation;
36: }
37:
38: public EditPart getSelectedEditPart() {
39: return selectedEditPart;
40: }
41:
42: public void setSelectedEditPart(final EditPart selectedEditPart) {
43: this.selectedEditPart = selectedEditPart;
44: }
45: }
|