From 4ef0222bac5406f37616a220e71f1cc9f59d989b Mon Sep 17 00:00:00 2001 From: jsimomaa Date: Fri, 11 Jul 2014 10:50:20 +0000 Subject: [PATCH] refs #5091 Change subclasses that extend LabelPropertyTabContributor to call superclasses constructor git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29863 ac1ea38d-2e2b-0410-8846-a27921b304fc --- .../ui/properties/ArrayDependencyTab.java | 7 +- .../sysdyn/ui/properties/ArrayFlowTab.java | 5 +- .../sysdyn/ui/properties/ArrayIndexesTab.java | 8 ++- .../sysdyn/ui/properties/CommentTab.java | 6 +- .../ui/properties/ConfigurationTab.java | 6 +- .../sysdyn/ui/properties/DependencyTab.java | 4 ++ .../sysdyn/ui/properties/EnumerationTab.java | 8 ++- .../sysdyn/ui/properties/EquationTab.java | 6 +- .../sysdyn/ui/properties/ExperimentTab.java | 4 ++ .../ui/properties/ExternalFilesTab.java | 6 +- .../sysdyn/ui/properties/FlowTab.java | 4 ++ .../ui/properties/FunctionLibraryTab.java | 6 +- .../sysdyn/ui/properties/FunctionTab.java | 6 +- .../ui/properties/GameExperimentTab.java | 6 +- .../sysdyn/ui/properties/HistoryDataTab.java | 4 ++ .../ui/properties/InputVariableTab.java | 6 +- .../sysdyn/ui/properties/LookupTableTab.java | 6 +- .../sysdyn/ui/properties/LoopTab.java | 11 +-- .../sysdyn/ui/properties/ModuleInputTab.java | 4 ++ .../sysdyn/ui/properties/ModuleOutputTab.java | 4 ++ .../ui/properties/ModuleParameterTab.java | 4 ++ .../sysdyn/ui/properties/ModuleTab.java | 7 +- .../sysdyn/ui/properties/ModuleTypeTab.java | 4 ++ .../ui/properties/PlaybackExperimentTab.java | 4 ++ .../ui/properties/ReferenceDependencyTab.java | 4 ++ .../ResourceSelectionProcessor.java | 72 +++++++++---------- .../sysdyn/ui/properties/ResultTab.java | 4 ++ .../SensitivityAnalysisExperimentTab.java | 4 ++ .../SharedFunctionLibrariesTab.java | 7 +- .../ui/properties/VariableInformationTab.java | 7 +- .../SensitivityChartAxisAndVariablesTab.java | 3 +- 31 files changed, 176 insertions(+), 61 deletions(-) diff --git a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/ArrayDependencyTab.java b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/ArrayDependencyTab.java index bd1c1bfd..1e780884 100644 --- a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/ArrayDependencyTab.java +++ b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/ArrayDependencyTab.java @@ -268,7 +268,11 @@ public class ArrayDependencyTab extends AdjustableTab { } } - @Override + public ArrayDependencyTab(Object dependencies) { + super(dependencies); + } + + @Override protected void createAndAddControls(Composite body, IWorkbenchSite site, ISessionContext context, WidgetSupport support) { composite = new Composite(body, SWT.NONE); @@ -387,5 +391,4 @@ public class ArrayDependencyTab extends AdjustableTab { GridDataFactory.fillDefaults().span(1, 1).applyTo(lineThicknessGroup); GridLayoutFactory.fillDefaults().applyTo(lineThicknessGroup); } - } diff --git a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/ArrayFlowTab.java b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/ArrayFlowTab.java index ad02e9ad..47238fb4 100644 --- a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/ArrayFlowTab.java +++ b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/ArrayFlowTab.java @@ -42,6 +42,10 @@ public class ArrayFlowTab extends LabelPropertyTabContributor { private Scale lineThicknessScale; + public ArrayFlowTab(Object input) { + super(input); + } + @Override public void createControls(Composite body, IWorkbenchSite site, ISessionContext context, WidgetSupport support) { Composite composite = new Composite(body, SWT.NONE); @@ -102,5 +106,4 @@ public class ArrayFlowTab extends LabelPropertyTabContributor { return (int)Math.round(FlowConnectionStyle.DEFAULT_LINE_WIDTH * 3); } } - } diff --git a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/ArrayIndexesTab.java b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/ArrayIndexesTab.java index e97de85e..cd1f9971 100644 --- a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/ArrayIndexesTab.java +++ b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/ArrayIndexesTab.java @@ -51,7 +51,12 @@ public class ArrayIndexesTab extends LabelPropertyTabContributor implements Widg private WidgetSupportImpl buttonSupport; private org.simantics.browsing.ui.swt.widgets.Label usedEnumerationsLabel; - @Override + public ArrayIndexesTab(Object variables) { + super(variables); + } + + + @Override public void createControls(Composite body, IWorkbenchSite site, ISessionContext context, WidgetSupport support) { support.register(this); @@ -406,5 +411,4 @@ public class ArrayIndexesTab extends LabelPropertyTabContributor implements Widg } - } diff --git a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/CommentTab.java b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/CommentTab.java index 0b6c00c1..cc4838c7 100644 --- a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/CommentTab.java +++ b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/CommentTab.java @@ -34,7 +34,11 @@ import org.simantics.jfreechart.chart.properties.LabelPropertyTabContributor; */ public class CommentTab extends LabelPropertyTabContributor { - @Override + public CommentTab(Object id) { + super(id); + } + + @Override public String getPartName(ISelection forSelection) { return "Comment"; } diff --git a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/ConfigurationTab.java b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/ConfigurationTab.java index 33ad0ea6..31ad9e7a 100644 --- a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/ConfigurationTab.java +++ b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/ConfigurationTab.java @@ -59,7 +59,11 @@ import org.simantics.sysdyn.ui.properties.widgets.factories.ModelNameInputValida */ public class ConfigurationTab extends AdjustableTab { - private ScrolledComposite sc; + public ConfigurationTab(Object id) { + super(id); + } + + private ScrolledComposite sc; private Label nameLabel, startTimeLabel, stopTimeLabel, stepLengthLabel, outputIntervalLabel, methodLabel, toleranceLabel, variableFilterLabel; private TrackedText name, startTime, stopTime, stepLength, outputInterval, tolerance, variableFilter; diff --git a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/DependencyTab.java b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/DependencyTab.java index 1acc0212..194c0df1 100644 --- a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/DependencyTab.java +++ b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/DependencyTab.java @@ -50,6 +50,10 @@ import org.simantics.utils.datastructures.Triple; */ public class DependencyTab extends AdjustableTab { + public DependencyTab(Object id) { + super(id); + } + Button none, plus, minus, other, inside, outside; TrackedText polarityText, polarityLocationText; Scale lineThicknessScale; diff --git a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/EnumerationTab.java b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/EnumerationTab.java index 833a6261..7514f47c 100644 --- a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/EnumerationTab.java +++ b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/EnumerationTab.java @@ -60,15 +60,19 @@ import org.simantics.sysdyn.manager.SysdynModel; import org.simantics.sysdyn.manager.SysdynModelManager; import org.simantics.sysdyn.ui.properties.widgets.arrays.EnumerationIndexNode; import org.simantics.sysdyn.ui.properties.widgets.arrays.ReplaceableIndexesWidget; -import org.simantics.sysdyn.ui.properties.widgets.factories.VariableNamePropertyModifier; import org.simantics.sysdyn.ui.properties.widgets.factories.VariableNameInputValidator; +import org.simantics.sysdyn.ui.properties.widgets.factories.VariableNamePropertyModifier; import org.simantics.ui.SimanticsUI; import org.simantics.utils.datastructures.ArrayMap; import org.simantics.utils.ui.AdaptionUtils; public class EnumerationTab extends LabelPropertyTabContributor implements Widget { - GraphExplorerComposite indexExplorer; + public EnumerationTab(Object id) { + super(id); + } + + GraphExplorerComposite indexExplorer; Button showAll; Variable variable; diff --git a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/EquationTab.java b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/EquationTab.java index 633cdfa3..429014df 100644 --- a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/EquationTab.java +++ b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/EquationTab.java @@ -104,7 +104,11 @@ public class EquationTab extends AdjustableTab implements Widget { private Label unitLabel; private IsOutputWidget isOutput; - @Override + public EquationTab(Object input) { + super(input); + } + + @Override public void createControls(Composite body, IWorkbenchSite site, ISessionContext context, WidgetSupport _support) { _support.register(this); setSupport(); diff --git a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/ExperimentTab.java b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/ExperimentTab.java index 0c291db7..d1bb32f5 100644 --- a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/ExperimentTab.java +++ b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/ExperimentTab.java @@ -19,6 +19,10 @@ import org.simantics.jfreechart.chart.properties.LabelPropertyTabContributor; public class ExperimentTab extends LabelPropertyTabContributor { + public ExperimentTab(Object id) { + super(id); + } + @Override public void createControls(Composite body, IWorkbenchSite site, ISessionContext context, WidgetSupport support) { diff --git a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/ExternalFilesTab.java b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/ExternalFilesTab.java index a4a91c9f..f2a98f76 100644 --- a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/ExternalFilesTab.java +++ b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/ExternalFilesTab.java @@ -55,7 +55,11 @@ import org.simantics.utils.datastructures.Pair; */ public class ExternalFilesTab extends LabelPropertyTabContributor implements Widget { - GraphExplorerComposite externalFilesExplorer; + public ExternalFilesTab(Object id) { + super(id); + } + + GraphExplorerComposite externalFilesExplorer; Button importButton, exportButton, removeButton; @Override diff --git a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/FlowTab.java b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/FlowTab.java index 885d4ab9..1eee34ca 100644 --- a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/FlowTab.java +++ b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/FlowTab.java @@ -33,6 +33,10 @@ import org.simantics.sysdyn.ui.elements.connections.FlowConnectionStyle; public class FlowTab extends LabelPropertyTabContributor { + public FlowTab(Object id) { + super(id); + } + Scale lineThicknessScale; @Override diff --git a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/FunctionLibraryTab.java b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/FunctionLibraryTab.java index 9704d074..567d57bb 100644 --- a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/FunctionLibraryTab.java +++ b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/FunctionLibraryTab.java @@ -27,7 +27,11 @@ import org.simantics.sysdyn.ui.properties.widgets.factories.FunctionLibraryNameI public class FunctionLibraryTab extends LabelPropertyTabContributor { - @Override + public FunctionLibraryTab(Object id) { + super(id); + } + + @Override public void createControls(Composite body, IWorkbenchSite site, ISessionContext context, WidgetSupport support) { Composite composite = new Composite(body, SWT.NONE); diff --git a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/FunctionTab.java b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/FunctionTab.java index c20ede21..e50e110a 100644 --- a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/FunctionTab.java +++ b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/FunctionTab.java @@ -32,7 +32,11 @@ import org.simantics.sysdyn.ui.properties.widgets.functions.FunctionCodeWidget; public class FunctionTab extends AdjustableTab { - ExpressionField modelicaCode; + public FunctionTab(Object id) { + super(id); + } + + ExpressionField modelicaCode; private TrackedText nameText; private Group modelicaGroup; private Label startLabel; diff --git a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/GameExperimentTab.java b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/GameExperimentTab.java index 8e26cc3f..ea4941fe 100644 --- a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/GameExperimentTab.java +++ b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/GameExperimentTab.java @@ -29,7 +29,11 @@ import org.simantics.utils.ui.validators.DoubleValidator; */ public class GameExperimentTab extends LabelPropertyTabContributor { - @Override + public GameExperimentTab(Object id) { + super(id); + } + + @Override public void createControls(Composite body, IWorkbenchSite site, ISessionContext context, WidgetSupport support) { diff --git a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/HistoryDataTab.java b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/HistoryDataTab.java index ceed5ad2..2b4883ea 100644 --- a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/HistoryDataTab.java +++ b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/HistoryDataTab.java @@ -63,6 +63,10 @@ import org.simantics.utils.ui.ISelectionUtils; */ public class HistoryDataTab extends LabelPropertyTabContributor { + public HistoryDataTab(Object id) { + super(id); + } + @Override public void createControls(Composite body, IWorkbenchSite site, ISessionContext context, WidgetSupport support) { diff --git a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/InputVariableTab.java b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/InputVariableTab.java index fd5480ee..5da056d0 100644 --- a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/InputVariableTab.java +++ b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/InputVariableTab.java @@ -41,8 +41,8 @@ import org.simantics.sysdyn.ui.properties.widgets.IsOutputWidget; import org.simantics.sysdyn.ui.properties.widgets.UnitComboWidget; import org.simantics.sysdyn.ui.properties.widgets.factories.DoublePropertyFactory; import org.simantics.sysdyn.ui.properties.widgets.factories.DoublePropertyModifier; -import org.simantics.sysdyn.ui.properties.widgets.factories.VariableNamePropertyModifier; import org.simantics.sysdyn.ui.properties.widgets.factories.VariableNameInputValidator; +import org.simantics.sysdyn.ui.properties.widgets.factories.VariableNamePropertyModifier; import org.simantics.utils.datastructures.Pair; import org.simantics.utils.ui.validators.DoubleValidator; @@ -55,6 +55,10 @@ import org.simantics.utils.ui.validators.DoubleValidator; public class InputVariableTab extends LabelPropertyTabContributor { + public InputVariableTab(Object id) { + super(id); + } + @Override public void createControls(Composite body, IWorkbenchSite site, ISessionContext context, WidgetSupport support) { Composite composite = new Composite(body, SWT.NONE); diff --git a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/LookupTableTab.java b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/LookupTableTab.java index 25de7c92..ec059e69 100644 --- a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/LookupTableTab.java +++ b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/LookupTableTab.java @@ -28,7 +28,11 @@ import org.simantics.sysdyn.ui.properties.widgets.factories.DoublePropertyFactor import org.simantics.sysdyn.ui.properties.widgets.factories.DoublePropertyModifier; public class LookupTableTab extends LabelPropertyTabContributor { - + + public LookupTableTab(Object id) { + super(id); + } + @Override public void createControls(Composite body, IWorkbenchSite site, ISessionContext context, WidgetSupport support) { diff --git a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/LoopTab.java b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/LoopTab.java index ee43cbb4..ffec528d 100644 --- a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/LoopTab.java +++ b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/LoopTab.java @@ -56,7 +56,11 @@ import org.simantics.utils.datastructures.Triple; */ public class LoopTab extends AdjustableTab { - private Label loopItemsLabel; + public LoopTab(Object id) { + super(id); + } + + private Label loopItemsLabel; private TrackedCombo loopItemsDropdown; Button auto, balancing, reinforcing, other, inside, outside; TrackedText loopComment, polarityLocationText; @@ -64,8 +68,8 @@ public class LoopTab extends AdjustableTab { Group commentGroup, rotationGroup; protected Resource resource; public static final String AUTO = "$$AUTO$$"; - - @Override + + @Override protected void createAndAddControls(Composite body, IWorkbenchSite site, ISessionContext context, WidgetSupport support) { composite = new Composite(body, SWT.NONE); @@ -402,5 +406,4 @@ public class LoopTab extends AdjustableTab { return true; } } - } diff --git a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/ModuleInputTab.java b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/ModuleInputTab.java index 320fb907..0455d0e3 100644 --- a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/ModuleInputTab.java +++ b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/ModuleInputTab.java @@ -36,6 +36,10 @@ import org.simantics.sysdyn.ui.properties.widgets.modules.RowProvider; public class ModuleInputTab extends LabelPropertyTabContributor { + public ModuleInputTab(Object id) { + super(id); + } + public static final String FIRSTCOLUMN = "Input in Module"; public static final String SECONDCOLUMN = "Refers to output"; diff --git a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/ModuleOutputTab.java b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/ModuleOutputTab.java index 9691f7e7..d35bc406 100644 --- a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/ModuleOutputTab.java +++ b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/ModuleOutputTab.java @@ -36,6 +36,10 @@ import org.simantics.sysdyn.ui.properties.widgets.modules.RowProvider; public class ModuleOutputTab extends LabelPropertyTabContributor { + public ModuleOutputTab(Object id) { + super(id); + } + public static final String FIRSTCOLUMN = "Output in module"; public static final String SECONDCOLUMN = "Referes to input"; diff --git a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/ModuleParameterTab.java b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/ModuleParameterTab.java index 5e3f1246..e80cf205 100644 --- a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/ModuleParameterTab.java +++ b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/ModuleParameterTab.java @@ -30,6 +30,10 @@ import org.simantics.utils.datastructures.ArrayMap; public class ModuleParameterTab extends LabelPropertyTabContributor { + public ModuleParameterTab(Object id) { + super(id); + } + GraphExplorerComposite explorer; @Override diff --git a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/ModuleTab.java b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/ModuleTab.java index 64a558bf..0a6ed536 100644 --- a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/ModuleTab.java +++ b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/ModuleTab.java @@ -37,7 +37,12 @@ import org.simantics.utils.datastructures.ArrayMap; public class ModuleTab extends LabelPropertyTabContributor implements Widget { - GraphExplorerComposite enumerationRedeclarationExplorer; + public ModuleTab(Object id) { + super(id); + } + + + GraphExplorerComposite enumerationRedeclarationExplorer; @Override public void createControls(Composite body, IWorkbenchSite site, ISessionContext context, WidgetSupport support) { diff --git a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/ModuleTypeTab.java b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/ModuleTypeTab.java index 918dafd2..69976cc3 100644 --- a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/ModuleTypeTab.java +++ b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/ModuleTypeTab.java @@ -27,6 +27,10 @@ import org.simantics.sysdyn.ui.properties.widgets.factories.ModuleTypeNameInputV public class ModuleTypeTab extends LabelPropertyTabContributor { + public ModuleTypeTab(Object id) { + super(id); + } + @Override public void createControls(Composite body, IWorkbenchSite site, ISessionContext context, WidgetSupport support) { Composite composite = new Composite(body, SWT.NONE); diff --git a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/PlaybackExperimentTab.java b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/PlaybackExperimentTab.java index a1038bc5..0c595db9 100644 --- a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/PlaybackExperimentTab.java +++ b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/PlaybackExperimentTab.java @@ -43,6 +43,10 @@ import org.simantics.utils.ui.color.ColorValue; public class PlaybackExperimentTab extends LabelPropertyTabContributor { + public PlaybackExperimentTab(Object id) { + super(id); + } + private static int gradientWidth = 250; private static int gradientHeight = 20; diff --git a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/ReferenceDependencyTab.java b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/ReferenceDependencyTab.java index 55c4ce95..369a8da4 100644 --- a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/ReferenceDependencyTab.java +++ b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/ReferenceDependencyTab.java @@ -19,6 +19,10 @@ import org.simantics.jfreechart.chart.properties.LabelPropertyTabContributor; public class ReferenceDependencyTab extends LabelPropertyTabContributor { + public ReferenceDependencyTab(Object id) { + super(id); + } + @Override public void createControls(Composite body, IWorkbenchSite site, ISessionContext context, WidgetSupport support) { } diff --git a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/ResourceSelectionProcessor.java b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/ResourceSelectionProcessor.java index 49407d6b..11ef3069 100644 --- a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/ResourceSelectionProcessor.java +++ b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/ResourceSelectionProcessor.java @@ -114,14 +114,14 @@ public class ResourceSelectionProcessor implements SelectionProcessor