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 {
private BControl control;
public BMotionAbstractWizard(BControl control) {
this.control = control;
}
@Override
public boolean performFinish() {
return prepareToFinish();
}
public BControl getBControl() {
return this.control;
}
public abstract String getName();
protected abstract Boolean prepareToFinish();
......
......@@ -22,20 +22,15 @@ import de.bmotionstudio.gef.editor.model.BControl;
*/
public abstract class ObserverWizard extends BMotionAbstractWizard {
private BControl control;
private Observer observer;
protected Boolean observerDelete = false;
public ObserverWizard(BControl control, Observer observer) {
this.control = control;
super(control);
this.observer = observer;
}
public BControl getBControl() {
return this.control;
}
public Observer getObserver() {
return this.observer;
}
......
......@@ -22,20 +22,15 @@ import de.bmotionstudio.gef.editor.model.BControl;
*/
public abstract class SchedulerWizard extends BMotionAbstractWizard {
private BControl bcontrol;
private SchedulerEvent event;
protected Boolean eventDelete = false;
public SchedulerWizard(BControl bcontrol, SchedulerEvent scheduler) {
this.bcontrol = bcontrol;
public SchedulerWizard(BControl control, SchedulerEvent scheduler) {
super(control);
this.event = scheduler;
}
public BControl getBControl() {
return this.bcontrol;
}
public SchedulerEvent getScheduler() {
return this.event;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment