Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre-Charles David2016-03-08 15:40:19 +0000
committerPierre-Charles David2016-03-22 14:42:04 +0000
commit31ec36ba82679017a185c3a5b4e53f05878e306d (patch)
tree30e68e1b88338dfa6ac155c21ff1d43f225d8490
parent23dd4943ab8acb3ca78f66a9921dc8484bf4a7cf (diff)
downloadorg.eclipse.sirius-31ec36ba82679017a185c3a5b4e53f05878e306d.tar.gz
org.eclipse.sirius-31ec36ba82679017a185c3a5b4e53f05878e306d.tar.xz
org.eclipse.sirius-31ec36ba82679017a185c3a5b4e53f05878e306d.zip
[488759] Increase default size of PaneBasedSelectionWizard
Set a minimum height which guarantees that the widgets are fully visible and not cropped. Bug: 488759 Change-Id: I3a8e2e96cebb5456574ed951e014329f0d39c666 Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
-rw-r--r--plugins/org.eclipse.sirius.diagram.ui/src-diag/org/eclipse/sirius/diagram/ui/tools/internal/commands/emf/PaneBasedSelectionWizardCommand.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.sirius.diagram.ui/src-diag/org/eclipse/sirius/diagram/ui/tools/internal/commands/emf/PaneBasedSelectionWizardCommand.java b/plugins/org.eclipse.sirius.diagram.ui/src-diag/org/eclipse/sirius/diagram/ui/tools/internal/commands/emf/PaneBasedSelectionWizardCommand.java
index 95dfafb2d7..637526840d 100644
--- a/plugins/org.eclipse.sirius.diagram.ui/src-diag/org/eclipse/sirius/diagram/ui/tools/internal/commands/emf/PaneBasedSelectionWizardCommand.java
+++ b/plugins/org.eclipse.sirius.diagram.ui/src-diag/org/eclipse/sirius/diagram/ui/tools/internal/commands/emf/PaneBasedSelectionWizardCommand.java
@@ -96,11 +96,11 @@ public class PaneBasedSelectionWizardCommand extends AbstractSelectionWizardComm
createdShell = true;
}
final EObjectPaneBasedSelectionWizard wizard = new EObjectPaneBasedSelectionWizard(MessageTranslator.INSTANCE.getMessage(this.tool.getWindowTitle()),
- MessageTranslator.INSTANCE.getMessage(this.tool.getMessage()),
- getImage(), MessageTranslator.INSTANCE.getMessage(this.tool.getChoiceOfValuesMessage()),
+ MessageTranslator.INSTANCE.getMessage(this.tool.getMessage()), getImage(), MessageTranslator.INSTANCE.getMessage(this.tool.getChoiceOfValuesMessage()),
MessageTranslator.INSTANCE.getMessage(this.tool.getSelectedValuesMessage()), DiagramUIPlugin.getPlugin().getItemProvidersAdapterFactory());
wizard.init(input, preSelection);
final WizardDialog dlg = new WizardDialog(shell, wizard);
+ dlg.setMinimumPageSize(200, 300);
final int result = dlg.open();
if (result == Window.OK) {
final Collection<EObject> selectedElements = wizard.getSelectedEObjects();

Back to the top