Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcletavernie2012-02-23 07:55:49 -0500
committercletavernie2012-02-23 07:55:49 -0500
commit547b02475bfff0f6af1c0d2cd20d802c7f0f8041 (patch)
treefac9c7c9475dff59337bd80e44623d008d1dbc60 /plugins
parente3a99923cf5f2ae9879c614ed0a0868215765a71 (diff)
downloadorg.eclipse.papyrus-547b02475bfff0f6af1c0d2cd20d802c7f0f8041.tar.gz
org.eclipse.papyrus-547b02475bfff0f6af1c0d2cd20d802c7f0f8041.tar.xz
org.eclipse.papyrus-547b02475bfff0f6af1c0d2cd20d802c7f0f8041.zip
364588: [Property view - Widgets] There should be a widget for editing a set of File paths
https://bugs.eclipse.org/bugs/show_bug.cgi?id=364588 Fixed the readonly display
Diffstat (limited to 'plugins')
-rw-r--r--plugins/infra/widget/org.eclipse.papyrus.infra.widgets/src/org/eclipse/papyrus/infra/widgets/editors/MultipleStringFileEditor.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/infra/widget/org.eclipse.papyrus.infra.widgets/src/org/eclipse/papyrus/infra/widgets/editors/MultipleStringFileEditor.java b/plugins/infra/widget/org.eclipse.papyrus.infra.widgets/src/org/eclipse/papyrus/infra/widgets/editors/MultipleStringFileEditor.java
index 24f30b39fb8..6a0de97016e 100644
--- a/plugins/infra/widget/org.eclipse.papyrus.infra.widgets/src/org/eclipse/papyrus/infra/widgets/editors/MultipleStringFileEditor.java
+++ b/plugins/infra/widget/org.eclipse.papyrus.infra.widgets/src/org/eclipse/papyrus/infra/widgets/editors/MultipleStringFileEditor.java
@@ -75,8 +75,8 @@ public class MultipleStringFileEditor extends MultipleValueEditor {
up.setEnabled(ordered && !readOnly);
down.setEnabled(ordered && !readOnly);
- browseWorkspace.setEnabled(allowBrowseWorkspace);
- browseFileSystem.setEnabled(allowBrowseFileSystem);
+ browseWorkspace.setEnabled(allowBrowseWorkspace && !readOnly);
+ browseFileSystem.setEnabled(allowBrowseFileSystem && !readOnly);
}
public void allowBrowseWorkspace(boolean allowBrowseWorkspace) {

Back to the top