Skip to content
Snippets Groups Projects
Commit 4109b63f authored by Gregory Viguier's avatar Gregory Viguier Committed by Patrick MADELA
Browse files

- new method initDockingCoreArea()

- removed resetLayout() at init
parent d26d898b
Branches
Tags
No related merge requests found
......@@ -43,12 +43,7 @@ public abstract class ADockingManager implements PropertyChangeListener {
this.viewFactory.addPropertyChangeListener(this);
this.perspectiveFactory = perspectiveFactory;
this.perspectiveFactory.addPropertyChangeListener(this);
this.getDockingArea();
try {
this.resetLayout();
} catch (DockingException e) {
e.printStackTrace();
}
this.initDockingArea();
}
public List<Action> getActionList() {
......@@ -62,6 +57,12 @@ public abstract class ADockingManager implements PropertyChangeListener {
return result;
}
/**
* initialize this {@link ADockingManager}'s main docking area
*
*/
protected abstract void initDockingArea();
/**
* Returns this {@link ADockingManager}'s main docking area
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment