Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcletavernie2012-09-18 09:02:51 +0000
committercletavernie2012-09-18 09:02:51 +0000
commit300374223a8e5dba57e4472b4e69ee39b5e86010 (patch)
tree06a14627eb6eec89f228293fd233460df86e7421 /plugins/infra/org.eclipse.papyrus.infra.hyperlink/src/org/eclipse/papyrus/infra/hyperlink/ui/AbstractLookForEditorShell.java
parentb7dd4dd65ca0e7c583b314aa57d4b9979f36e0f0 (diff)
downloadorg.eclipse.papyrus-300374223a8e5dba57e4472b4e69ee39b5e86010.tar.gz
org.eclipse.papyrus-300374223a8e5dba57e4472b4e69ee39b5e86010.tar.xz
org.eclipse.papyrus-300374223a8e5dba57e4472b4e69ee39b5e86010.zip
342653: [Hyperlink] Hyperlink dialogs too small. Editability of textfields is wrong. Tooltip incorrect.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=342653 Backport from 0.9.X
Diffstat (limited to 'plugins/infra/org.eclipse.papyrus.infra.hyperlink/src/org/eclipse/papyrus/infra/hyperlink/ui/AbstractLookForEditorShell.java')
-rw-r--r--plugins/infra/org.eclipse.papyrus.infra.hyperlink/src/org/eclipse/papyrus/infra/hyperlink/ui/AbstractLookForEditorShell.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/infra/org.eclipse.papyrus.infra.hyperlink/src/org/eclipse/papyrus/infra/hyperlink/ui/AbstractLookForEditorShell.java b/plugins/infra/org.eclipse.papyrus.infra.hyperlink/src/org/eclipse/papyrus/infra/hyperlink/ui/AbstractLookForEditorShell.java
index 6d4ed9d5060..a53b39a5120 100644
--- a/plugins/infra/org.eclipse.papyrus.infra.hyperlink/src/org/eclipse/papyrus/infra/hyperlink/ui/AbstractLookForEditorShell.java
+++ b/plugins/infra/org.eclipse.papyrus.infra.hyperlink/src/org/eclipse/papyrus/infra/hyperlink/ui/AbstractLookForEditorShell.java
@@ -39,7 +39,7 @@ import org.eclipse.ui.dialogs.PatternFilter;
* getter in order to connect behavior in subclasses
*/
public class AbstractLookForEditorShell {
-
+
/** The lookfor shell. */
private Shell lookforShell = null; // @jve:decl-index=0:visual-constraint="108,60"
@@ -95,7 +95,7 @@ public class AbstractLookForEditorShell {
gridLayout1.numColumns = 5;
gridLayout1.makeColumnsEqualWidth = true;
// this line has to be commented in order to open with VISUAL EDITOR
- lookforShell = new Shell(PlatformUI.getWorkbench().getDisplay().getActiveShell());
+ lookforShell = new Shell(PlatformUI.getWorkbench().getDisplay().getActiveShell(), SWT.DIALOG_TRIM | SWT.RESIZE);
// lookforShell = new Shell();
lookforShell.setBackground(Display.getCurrent().getSystemColor(SWT.COLOR_WHITE));

Back to the top