Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcletavernie2013-04-23 07:15:37 -0400
committercletavernie2013-04-23 07:15:37 -0400
commit8db6778b4068826b332d22403bd993dac5491595 (patch)
treeca1d8c19f280dd95244f82a80cf7521ec52a3057 /plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css.configuration
parent68bf15098f6e3a76d1255b526746fb81318566e6 (diff)
downloadorg.eclipse.papyrus-8db6778b4068826b332d22403bd993dac5491595.tar.gz
org.eclipse.papyrus-8db6778b4068826b332d22403bd993dac5491595.tar.xz
org.eclipse.papyrus-8db6778b4068826b332d22403bd993dac5491595.zip
399869: [Widgets] Papyrus shall implement extension filters on the “import…” UI
https://bugs.eclipse.org/bugs/show_bug.cgi?id=399869
Diffstat (limited to 'plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css.configuration')
-rw-r--r--plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css.configuration/src/org/eclipse/papyrus/infra/gmfdiag/css/configuration/handler/StyleCreationDialog.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css.configuration/src/org/eclipse/papyrus/infra/gmfdiag/css/configuration/handler/StyleCreationDialog.java b/plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css.configuration/src/org/eclipse/papyrus/infra/gmfdiag/css/configuration/handler/StyleCreationDialog.java
index 003932ef801..99b19a7e4f5 100644
--- a/plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css.configuration/src/org/eclipse/papyrus/infra/gmfdiag/css/configuration/handler/StyleCreationDialog.java
+++ b/plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css.configuration/src/org/eclipse/papyrus/infra/gmfdiag/css/configuration/handler/StyleCreationDialog.java
@@ -109,6 +109,7 @@ public class StyleCreationDialog extends AbstractStyleDialog {
//Create or use an existing External Stylesheet
externalStylesheetEditor = new StringFileSelector(parent, SWT.NONE);
+ externalStylesheetEditor.setFilters(new String[]{ "*.css", "*" }, new String[]{ "CSS Stylesheets (*.css)", "All (*)" });
externalStylesheetEditor.setAllowFileSystem(false);
externalStylesheetEditor.setLabel("External stylesheet:");
externalStylesheetEditor.setToolTipText("Create or use an existing external CSS Stylesheet");

Back to the top