mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-14 06:18:12 +00:00
Cleaner style for the splitters in the data mining UI
This commit is contained in:
1 parent
67c2700dfd
commit
063366a80a
3 files changed
+31
-9
No files matched your search
@@ -269,4 +269,27 @@ input.magnifier {
|
||||
|
||||
.dimensionFilterSelectionTable {
|
||||
border-top: 2px solid #6f7277;
|
||||
}
|
||||
|
||||
.gwt-SplitLayoutPanel-VDragger {
|
||||
background: #fff url(images/thumb_horz.png) center center no-repeat;
|
||||
width: 100% !important;
|
||||
height: 100% !important;
|
||||
left: 0 !important;
|
||||
top: 0 !important;
|
||||
border: none;
|
||||
border-radius: 0px;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.gwt-SplitLayoutPanel-HDragger {
|
||||
background: #fff url(images/thumb_vertical.png) center center no-repeat;
|
||||
width: 100% !important;
|
||||
height: 100% !important;
|
||||
left: 0 !important;
|
||||
top: 0 !important;
|
||||
border: none;
|
||||
border-radius: 0px;
|
||||
margin: 0px;
|
||||
opacity: 1;
|
||||
}
|
||||
+1
-1
@@ -89,7 +89,7 @@ public class DataMiningEntryPoint extends AbstractSailingEntryPoint {
|
||||
* automatic execution of queries. Re-enable this, when this functionality is desired again.
|
||||
*/
|
||||
// settingsControl.addSettingsComponent(queryRunner);
|
||||
SplitLayoutPanel splitPanel = new SplitLayoutPanel(15);
|
||||
SplitLayoutPanel splitPanel = new SplitLayoutPanel(10);
|
||||
splitPanel.addSouth(resultsPresenter.getEntryWidget(), 350);
|
||||
splitPanel.add(selectionDockPanel);
|
||||
return splitPanel;
|
||||
|
||||
+7
-8
@@ -56,8 +56,9 @@ import com.sap.sse.gwt.client.shared.settings.ComponentContext;
|
||||
public class QueryDefinitionProviderWithControls extends AbstractQueryDefinitionProvider<AdvancedDataMiningSettings>
|
||||
implements WithControls {
|
||||
|
||||
private static final double headerPanelHeight = 45;
|
||||
private static final double footerPanelHeight = 50;
|
||||
private static final double HeaderPanelHeight = 45;
|
||||
private static final double FooterPanelHeight = 50;
|
||||
private static final int SplitterSize = 10;
|
||||
|
||||
private final DockLayoutPanel mainPanel;
|
||||
private final FlowPanel controlsPanel;
|
||||
@@ -136,24 +137,22 @@ public class QueryDefinitionProviderWithControls extends AbstractQueryDefinition
|
||||
errorReporter, statisticProvider);
|
||||
groupingProvider.addGroupingChangedListener(providerListener);
|
||||
|
||||
// filterSelectionProvider = new ListRetrieverChainFilterSelectionProvider(parent, context, session,
|
||||
// stringMessages, dataMiningService, errorReporter, statisticProvider);
|
||||
filterSelectionProvider = new HierarchicalDimensionListFilterSelectionProvider(
|
||||
parent, context, session, getDataMiningStringMessages(), dataMiningService, errorReporter, statisticProvider);
|
||||
filterSelectionProvider.addSelectionChangedListener(providerListener);
|
||||
|
||||
filterSplitPanel = new SplitLayoutPanel(15);
|
||||
filterSplitPanel.addSouth(groupingProvider.getEntryWidget(), footerPanelHeight);
|
||||
filterSplitPanel = new SplitLayoutPanel(SplitterSize);
|
||||
filterSplitPanel.addSouth(groupingProvider.getEntryWidget(), FooterPanelHeight);
|
||||
filterSplitPanel.addEast(queryDefinitionViewer.getEntryWidget(), 600);
|
||||
filterSplitPanel.setWidgetHidden(queryDefinitionViewer.getEntryWidget(), true);
|
||||
filterSplitPanel.add(filterSelectionProvider.getEntryWidget());
|
||||
|
||||
SplitLayoutPanel headerPanel = new SplitLayoutPanel(15);
|
||||
SplitLayoutPanel headerPanel = new SplitLayoutPanel(SplitterSize);
|
||||
headerPanel.addWest(statisticProvider.getEntryWidget(), 800);
|
||||
headerPanel.add(controlsPanel);
|
||||
|
||||
mainPanel = new DockLayoutPanel(Unit.PX);
|
||||
mainPanel.addNorth(headerPanel, headerPanelHeight);
|
||||
mainPanel.addNorth(headerPanel, HeaderPanelHeight);
|
||||
mainPanel.add(filterSplitPanel);
|
||||
|
||||
// Storing the different component providers in a list
|
||||
|
||||
Reference in new issue
Block a user