Skip to content
Snippets Groups Projects
Commit 16931c3a authored by Lukas Ladenberger's avatar Lukas Ladenberger
Browse files

implemented some missing methods

parent c14a448d
No related branches found
No related tags found
No related merge requests found
...@@ -14,11 +14,19 @@ public abstract class BMotionAbstractWizard extends Wizard { ...@@ -14,11 +14,19 @@ public abstract class BMotionAbstractWizard extends Wizard {
private BControl control; private BControl control;
public BMotionAbstractWizard(BControl control) {
this.control = control;
}
@Override @Override
public boolean performFinish() { public boolean performFinish() {
return prepareToFinish(); return prepareToFinish();
} }
public BControl getBControl() {
return this.control;
}
public abstract String getName(); public abstract String getName();
protected abstract Boolean prepareToFinish(); protected abstract Boolean prepareToFinish();
......
...@@ -22,20 +22,15 @@ import de.bmotionstudio.gef.editor.model.BControl; ...@@ -22,20 +22,15 @@ import de.bmotionstudio.gef.editor.model.BControl;
*/ */
public abstract class ObserverWizard extends BMotionAbstractWizard { public abstract class ObserverWizard extends BMotionAbstractWizard {
private BControl control;
private Observer observer; private Observer observer;
protected Boolean observerDelete = false; protected Boolean observerDelete = false;
public ObserverWizard(BControl control, Observer observer) { public ObserverWizard(BControl control, Observer observer) {
this.control = control; super(control);
this.observer = observer; this.observer = observer;
} }
public BControl getBControl() {
return this.control;
}
public Observer getObserver() { public Observer getObserver() {
return this.observer; return this.observer;
} }
......
...@@ -22,20 +22,15 @@ import de.bmotionstudio.gef.editor.model.BControl; ...@@ -22,20 +22,15 @@ import de.bmotionstudio.gef.editor.model.BControl;
*/ */
public abstract class SchedulerWizard extends BMotionAbstractWizard { public abstract class SchedulerWizard extends BMotionAbstractWizard {
private BControl bcontrol;
private SchedulerEvent event; private SchedulerEvent event;
protected Boolean eventDelete = false; protected Boolean eventDelete = false;
public SchedulerWizard(BControl bcontrol, SchedulerEvent scheduler) { public SchedulerWizard(BControl control, SchedulerEvent scheduler) {
this.bcontrol = bcontrol; super(control);
this.event = scheduler; this.event = scheduler;
} }
public BControl getBControl() {
return this.bcontrol;
}
public SchedulerEvent getScheduler() { public SchedulerEvent getScheduler() {
return this.event; return this.event;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment