diff --git a/e4tools/bundles/org.eclipse.e4.tools.emf.ui/META-INF/MANIFEST.MF b/e4tools/bundles/org.eclipse.e4.tools.emf.ui/META-INF/MANIFEST.MF index 1b1dd862b4..e93a68e6c9 100644 --- a/e4tools/bundles/org.eclipse.e4.tools.emf.ui/META-INF/MANIFEST.MF +++ b/e4tools/bundles/org.eclipse.e4.tools.emf.ui/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: %pluginName Bundle-SymbolicName: org.eclipse.e4.tools.emf.ui;singleton:=true -Bundle-Version: 4.8.400.qualifier +Bundle-Version: 4.8.500.qualifier Bundle-Vendor: %providerName Bundle-Localization: plugin Bundle-RequiredExecutionEnvironment: JavaSE-17 diff --git a/e4tools/bundles/org.eclipse.e4.tools.emf.ui/pom.xml b/e4tools/bundles/org.eclipse.e4.tools.emf.ui/pom.xml index fd52716645..7cc90b02ff 100644 --- a/e4tools/bundles/org.eclipse.e4.tools.emf.ui/pom.xml +++ b/e4tools/bundles/org.eclipse.e4.tools.emf.ui/pom.xml @@ -21,7 +21,7 @@ eclipse.platform.ui org.eclipse.e4.tools.emf.ui - 4.8.400-SNAPSHOT + 4.8.500-SNAPSHOT eclipse-plugin diff --git a/e4tools/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/common/Util.java b/e4tools/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/common/Util.java index d2b7280888..dab72947e3 100644 --- a/e4tools/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/common/Util.java +++ b/e4tools/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/common/Util.java @@ -326,7 +326,7 @@ private void checkDeltaContainsE4xmi(IResourceDelta delta) { IResource r = rd.getResource(); if (r instanceof IFile) { - if ("e4xmi".equals(((IFile) r).getFileExtension())) { //$NON-NLS-1$ + if ("e4xmi".equals(r.getFileExtension())) { //$NON-NLS-1$ modelResourceSet = null; break; } diff --git a/e4tools/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/ControlFactory.java b/e4tools/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/ControlFactory.java index 2ef98c72e4..50efbccffa 100644 --- a/e4tools/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/ControlFactory.java +++ b/e4tools/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/ControlFactory.java @@ -865,7 +865,7 @@ public static void createClassURIField(Composite parent, final Messages Messages }); @SuppressWarnings("unchecked") final Binding binding = context.bindValue(textProp.observeDelayed(200, t), - ((IValueProperty) EMFEditProperties.value(editor.getEditingDomain(), feature)) + EMFEditProperties.value(editor.getEditingDomain(), feature) .observeDetail(editor.getMaster()), new UpdateValueStrategy<>().setAfterConvertValidator(new ContributionURIValidator()), new UpdateValueStrategy<>()); diff --git a/e4tools/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/MenuEditor.java b/e4tools/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/MenuEditor.java index 63ef464328..df31b03642 100644 --- a/e4tools/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/MenuEditor.java +++ b/e4tools/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/MenuEditor.java @@ -455,7 +455,7 @@ protected void handleAdd(EClass eClass, boolean separator) { public List getActions(Object element) { final ArrayList l = new ArrayList<>(super.getActions(element)); l.addAll(actions); - if (((MUIElement) getMaster().getValue()).getVisibleWhen() == null) { + if (getMaster().getValue().getVisibleWhen() == null) { l.add(addExpression); } return l; diff --git a/e4tools/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/MenuItemEditor.java b/e4tools/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/MenuItemEditor.java index 894ca89457..30d3e09190 100644 --- a/e4tools/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/MenuItemEditor.java +++ b/e4tools/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/MenuItemEditor.java @@ -386,7 +386,7 @@ public FeaturePath[] getLabelProperties() { @Override public List getActions(Object element) { final ArrayList l = new ArrayList<>(super.getActions(element)); - if (((MUIElement) getMaster().getValue()).getVisibleWhen() == null) { + if (getMaster().getValue().getVisibleWhen() == null) { l.add(addExpression); } return l; diff --git a/features/org.eclipse.e4.core.tools.feature/feature.xml b/features/org.eclipse.e4.core.tools.feature/feature.xml index ae0005bbca..5f9b6df946 100644 --- a/features/org.eclipse.e4.core.tools.feature/feature.xml +++ b/features/org.eclipse.e4.core.tools.feature/feature.xml @@ -2,7 +2,7 @@