Skip to content
Snippets Groups Projects
Commit 3a2cc4a5 authored by Raphael GIRARDOT's avatar Raphael GIRARDOT
Browse files

Some constructors added

parent c3427c20
Branches
Tags
No related merge requests found
......@@ -25,7 +25,9 @@ import com.vldocking.swing.docking.DockingPreferences;
import fr.soleil.docking.ADockingManager;
import fr.soleil.docking.exception.DockingException;
import fr.soleil.docking.perspective.IPerspective;
import fr.soleil.docking.perspective.IPerspectiveFactory;
import fr.soleil.docking.perspective.PerspectiveFactory;
import fr.soleil.docking.view.IViewFactory;
import fr.soleil.docking.vl.view.VlDockView;
import fr.soleil.docking.vl.view.VlDockViewFactory;
......@@ -33,7 +35,15 @@ public class VlDockDockingManager extends ADockingManager {
protected SoleilDockingDesktop mainDockingDesktop;
public VlDockDockingManager() {
super(new VlDockViewFactory(), new PerspectiveFactory());
this(new VlDockViewFactory(), new PerspectiveFactory());
}
public VlDockDockingManager(IViewFactory viewFactory) {
this(viewFactory, new PerspectiveFactory());
}
public VlDockDockingManager(IViewFactory viewFactory, IPerspectiveFactory perspectiveFactory) {
super(viewFactory, perspectiveFactory);
DockingPreferences.setShadowDesktopStyle();
UIManager.getDefaults().put("TabbedDockableContainer.tabPlacement", 1);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment