From 721641de8d3fb5f3bf487a37108f4ff98ded8a7d Mon Sep 17 00:00:00 2001 From: Niraj Modi <92304759+niraj-modi@users.noreply.github.com> Date: Thu, 31 Mar 2022 15:37:12 +0530 Subject: [PATCH] Bug 579509 - IES423:(ICT) Missing space between two strings (#14) * Bug 579509 - IES423:(ICT) Missing space between two strings - Fixed missing space between strings - Added missing Eclipse Copy right note Change-Id: Ie3bbd2ff42172d1cd5beb0269900cda1039e07d4 Signed-off-by: Niraj Modi * Bug 579509 - IES423:(ICT) Missing space between two strings - Fixed missing space between strings - Added missing Eclipse Copy right note Change-Id: Ie3bbd2ff42172d1cd5beb0269900cda1039e07d4 Signed-off-by: Niraj Modi --- .../META-INF/MANIFEST.MF | 2 +- .../org.eclipse.e4.tools.emf.editor3x/pom.xml | 2 +- .../editor3x/ModelEditorPreferencePage.java | 18 +++++++++++++++--- 3 files changed, 17 insertions(+), 5 deletions(-) diff --git a/bundles/org.eclipse.e4.tools.emf.editor3x/META-INF/MANIFEST.MF b/bundles/org.eclipse.e4.tools.emf.editor3x/META-INF/MANIFEST.MF index 81cdf2e552d..fd70161e8ac 100644 --- a/bundles/org.eclipse.e4.tools.emf.editor3x/META-INF/MANIFEST.MF +++ b/bundles/org.eclipse.e4.tools.emf.editor3x/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: %Bundle-Name Bundle-SymbolicName: org.eclipse.e4.tools.emf.editor3x;singleton:=true -Bundle-Version: 4.8.0.qualifier +Bundle-Version: 4.8.1.qualifier Bundle-RequiredExecutionEnvironment: JavaSE-11 Require-Bundle: org.eclipse.ui;bundle-version="3.6.0", org.eclipse.core.runtime;bundle-version="3.6.0", diff --git a/bundles/org.eclipse.e4.tools.emf.editor3x/pom.xml b/bundles/org.eclipse.e4.tools.emf.editor3x/pom.xml index 605a37912d0..fcb25da4d61 100644 --- a/bundles/org.eclipse.e4.tools.emf.editor3x/pom.xml +++ b/bundles/org.eclipse.e4.tools.emf.editor3x/pom.xml @@ -10,7 +10,7 @@ eclipse.platform.ui.tools org.eclipse.e4.tools.emf.editor3x - 4.8.0-SNAPSHOT + 4.8.1-SNAPSHOT eclipse-plugin diff --git a/bundles/org.eclipse.e4.tools.emf.editor3x/src/org/eclipse/e4/tools/emf/editor3x/ModelEditorPreferencePage.java b/bundles/org.eclipse.e4.tools.emf.editor3x/src/org/eclipse/e4/tools/emf/editor3x/ModelEditorPreferencePage.java index f8e0a3ae344..cc8b7debcc3 100644 --- a/bundles/org.eclipse.e4.tools.emf.editor3x/src/org/eclipse/e4/tools/emf/editor3x/ModelEditorPreferencePage.java +++ b/bundles/org.eclipse.e4.tools.emf.editor3x/src/org/eclipse/e4/tools/emf/editor3x/ModelEditorPreferencePage.java @@ -1,4 +1,12 @@ /******************************************************************************* + * Copyright (c) 2022 IBM Corporation and others. + * + * This program and the accompanying materials + * are made available under the terms of the Eclipse Public License 2.0 + * which accompanies this distribution, and is available at + * https://www.eclipse.org/legal/epl-2.0/ + * + * SPDX-License-Identifier: EPL-2.0 * * Contributors: * Steven Spungin - Bug 431735, Bug 437890, Bug 440469 @@ -114,9 +122,13 @@ protected Control createContents(Composite parent) { { final Composite container = new Composite(group, SWT.NONE); container.setLayoutData(new GridData(GridData.FILL, GridData.CENTER, false, false, 2, 1)); - fShowSearch = new BooleanFieldEditor(ModelEditorPreferences.TAB_FORM_SEARCH_SHOW, - Messages.ModelEditorPreferencePage_SearchableTree - + Messages.ModelEditorPreferencePage_ForcesReadOnlyXMITab + Messages.ModelEditorPreferencePage_RequiresReopeningModel, container); + StringBuilder buffer = new StringBuilder(Messages.ModelEditorPreferencePage_SearchableTree); + buffer.append(" "); //$NON-NLS-1$ + buffer.append(Messages.ModelEditorPreferencePage_ForcesReadOnlyXMITab); + buffer.append(" "); //$NON-NLS-1$ + buffer.append(Messages.ModelEditorPreferencePage_RequiresReopeningModel); + fShowSearch = new BooleanFieldEditor(ModelEditorPreferences.TAB_FORM_SEARCH_SHOW, buffer.toString(), + container); fShowSearch.setPage(this); fShowSearch.setPreferenceStore(getPreferenceStore()); fShowSearch.load();