Skip to content
Snippets Groups Projects
Commit 7b4aab43 authored by Daniel Plagge's avatar Daniel Plagge
Browse files

Merge branch 'develop' of github.com:bendisposto/prob into develop

parents 6aa6e464 16931c3a
Branches
Tags
No related merge requests found
Showing
with 3081 additions and 3088 deletions
......@@ -6,9 +6,9 @@
package de.bmotionstudio.gef.editor.observer;
import org.eclipse.jface.wizard.Wizard;
import org.eclipse.swt.graphics.Point;
import de.bmotionstudio.gef.editor.BMotionAbstractWizard;
import de.bmotionstudio.gef.editor.model.BControl;
/**
......@@ -20,22 +20,17 @@ import de.bmotionstudio.gef.editor.model.BControl;
* @author Lukas Ladenberger
*
*/
public abstract class ObserverWizard extends Wizard {
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;
}
......@@ -44,17 +39,15 @@ public abstract class ObserverWizard extends Wizard {
this.observerDelete = b;
}
protected abstract Boolean prepareToFinish();
@Override
public boolean performFinish() {
return prepareToFinish();
}
public Boolean isObserverDelete() {
return this.observerDelete;
}
public abstract Point getSize();
@Override
public String getName() {
return observer.getName();
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment