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
No related branches found
No related tags found
No related merge requests found
...@@ -43,12 +43,7 @@ public abstract class ADockingManager implements PropertyChangeListener { ...@@ -43,12 +43,7 @@ public abstract class ADockingManager implements PropertyChangeListener {
this.viewFactory.addPropertyChangeListener(this); this.viewFactory.addPropertyChangeListener(this);
this.perspectiveFactory = perspectiveFactory; this.perspectiveFactory = perspectiveFactory;
this.perspectiveFactory.addPropertyChangeListener(this); this.perspectiveFactory.addPropertyChangeListener(this);
this.getDockingArea(); this.initDockingArea();
try {
this.resetLayout();
} catch (DockingException e) {
e.printStackTrace();
}
} }
public List<Action> getActionList() { public List<Action> getActionList() {
...@@ -62,6 +57,12 @@ public abstract class ADockingManager implements PropertyChangeListener { ...@@ -62,6 +57,12 @@ public abstract class ADockingManager implements PropertyChangeListener {
return result; return result;
} }
/**
* initialize this {@link ADockingManager}'s main docking area
*
*/
protected abstract void initDockingArea();
/** /**
* Returns this {@link ADockingManager}'s main docking area * 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