01: package org.concern.model;
02:
03: import javax.swing.JPanel;
04:
05: public abstract class AbstractCustomEditor extends JPanel {
06:
07: private Element element;
08:
09: public AbstractCustomEditor() {
10: super ();
11: }
12:
13: public abstract void init();
14:
15: public abstract void load();
16:
17: public abstract void save();
18:
19: public abstract void cancel();
20:
21: public Element getElement() {
22: return element;
23: }
24:
25: public void setElement(Element element) {
26: this.element = element;
27: }
28:
29: }
|