use of com.helospark.tactview.ui.javafx.tiwulfx.com.panemu.tiwulfx.control.SplitPaneElement in project tactview by helospark.
the class DefaultLayoutProvider method provideDefaultLayout.
public DetachableTabPaneLoadModel provideDefaultLayout() {
SplitPaneElement splitPaneElement = new SplitPaneElement();
splitPaneElement.isVertical = false;
splitPaneElement.size = new double[] { 0.2, 0.6, 0.2 };
DetachableTab propertyEditorTab = propertyEditorDockableTabFactory.createTab();
DetachableTab addableContentEditorTab = addableContentDockableTabFactory.createTab();
DetachableTab curveEditorTab = curveEditorDockableTabFactory.createTab();
DetachableTab previewTab = previewDockableTabFactory.createTab();
splitPaneElement.children.add(new LeafElement(List.of(propertyEditorTab)));
splitPaneElement.children.add(new LeafElement(List.of(addableContentEditorTab, curveEditorTab)));
splitPaneElement.children.add(new LeafElement(List.of(previewTab)));
return new DetachableTabPaneLoadModel(splitPaneElement);
}
Aggregations