Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Belle2021-05-07 13:39:30 +0000
committerJan Belle2021-05-08 09:31:25 +0000
commitd0b4242624ff8aff482725def00f4c3c150644c6 (patch)
tree6c4ec4f9672cf45ea7026d19e157e1013c2f666e /plugins/org.eclipse.etrice.core.room.ui
parente949830678a8eb0d98ffe8ce6f4d8997b73da3b2 (diff)
downloadorg.eclipse.etrice-d0b4242624ff8aff482725def00f4c3c150644c6.tar.gz
org.eclipse.etrice-d0b4242624ff8aff482725def00f4c3c150644c6.tar.xz
org.eclipse.etrice-d0b4242624ff8aff482725def00f4c3c150644c6.zip
[core] Upgrade to Xtext 2.25.0 and Java 11
Diffstat (limited to 'plugins/org.eclipse.etrice.core.room.ui')
-rw-r--r--plugins/org.eclipse.etrice.core.room.ui/META-INF/MANIFEST.MF2
-rw-r--r--plugins/org.eclipse.etrice.core.room.ui/plugin.xml_gen46
-rw-r--r--plugins/org.eclipse.etrice.core.room.ui/src-gen/org/eclipse/etrice/core/ui/RoomExecutableExtensionFactory.java4
3 files changed, 26 insertions, 26 deletions
diff --git a/plugins/org.eclipse.etrice.core.room.ui/META-INF/MANIFEST.MF b/plugins/org.eclipse.etrice.core.room.ui/META-INF/MANIFEST.MF
index 6fa2bbfc5..02b8eb47f 100644
--- a/plugins/org.eclipse.etrice.core.room.ui/META-INF/MANIFEST.MF
+++ b/plugins/org.eclipse.etrice.core.room.ui/META-INF/MANIFEST.MF
@@ -29,7 +29,7 @@ Require-Bundle: org.eclipse.etrice.core.fsm.ui,
org.eclipse.etrice.generator.base,
org.eclipse.xtext.ui.codetemplates.ui
Import-Package: org.apache.log4j
-Bundle-RequiredExecutionEnvironment: JavaSE-1.8
+Bundle-RequiredExecutionEnvironment: JavaSE-11
Export-Package: org.eclipse.etrice.core.room.ui.internal,
org.eclipse.etrice.core.ui,
org.eclipse.etrice.core.ui.contentassist,
diff --git a/plugins/org.eclipse.etrice.core.room.ui/plugin.xml_gen b/plugins/org.eclipse.etrice.core.room.ui/plugin.xml_gen
index 480bf3371..ad9923510 100644
--- a/plugins/org.eclipse.etrice.core.room.ui/plugin.xml_gen
+++ b/plugins/org.eclipse.etrice.core.room.ui/plugin.xml_gen
@@ -26,11 +26,11 @@
<handler
class="org.eclipse.etrice.core.ui.RoomExecutableExtensionFactory:org.eclipse.xtext.ui.editor.handler.ValidateActionHandler"
commandId="org.eclipse.etrice.core.Room.validate">
- <activeWhen>
- <reference
+ <activeWhen>
+ <reference
definitionId="org.eclipse.etrice.core.Room.Editor.opened">
- </reference>
- </activeWhen>
+ </reference>
+ </activeWhen>
</handler>
<!-- copy qualified name -->
<handler
@@ -119,38 +119,38 @@
</extension>
<extension
point="org.eclipse.ui.commands">
- <command
+ <command
description="Trigger expensive validation"
id="org.eclipse.etrice.core.Room.validate"
name="Validate">
- </command>
- <!-- copy qualified name -->
- <command
+ </command>
+ <!-- copy qualified name -->
+ <command
id="org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedName"
categoryId="org.eclipse.ui.category.edit"
description="Copy the qualified name for the selected element"
name="Copy Qualified Name">
- </command>
- <command
+ </command>
+ <command
id="org.eclipse.xtext.ui.editor.copyqualifiedname.OutlineCopyQualifiedName"
categoryId="org.eclipse.ui.category.edit"
description="Copy the qualified name for the selected element"
name="Copy Qualified Name">
- </command>
+ </command>
</extension>
<extension point="org.eclipse.ui.menus">
<menuContribution
locationURI="popup:#TextEditorContext?after=group.edit">
- <command
- commandId="org.eclipse.etrice.core.Room.validate"
- style="push"
- tooltip="Trigger expensive validation">
- <visibleWhen checkEnabled="false">
- <reference
- definitionId="org.eclipse.etrice.core.Room.Editor.opened">
- </reference>
- </visibleWhen>
- </command>
+ <command
+ commandId="org.eclipse.etrice.core.Room.validate"
+ style="push"
+ tooltip="Trigger expensive validation">
+ <visibleWhen checkEnabled="false">
+ <reference
+ definitionId="org.eclipse.etrice.core.Room.Editor.opened">
+ </reference>
+ </visibleWhen>
+ </command>
</menuContribution>
<!-- copy qualified name -->
<menuContribution locationURI="popup:#TextEditorContext?after=copy">
@@ -300,7 +300,7 @@
<!-- Quick Outline -->
<extension
point="org.eclipse.ui.handlers">
- <handler
+ <handler
class="org.eclipse.etrice.core.ui.RoomExecutableExtensionFactory:org.eclipse.xtext.ui.editor.outline.quickoutline.ShowQuickOutlineActionHandler"
commandId="org.eclipse.xtext.ui.editor.outline.QuickOutline">
<activeWhen>
@@ -360,7 +360,7 @@
</extension>
<!-- Rename Refactoring -->
<extension point="org.eclipse.ui.handlers">
- <handler
+ <handler
class="org.eclipse.etrice.core.ui.RoomExecutableExtensionFactory:org.eclipse.xtext.ui.refactoring.ui.DefaultRenameElementHandler"
commandId="org.eclipse.xtext.ui.refactoring.RenameElement">
<activeWhen>
diff --git a/plugins/org.eclipse.etrice.core.room.ui/src-gen/org/eclipse/etrice/core/ui/RoomExecutableExtensionFactory.java b/plugins/org.eclipse.etrice.core.room.ui/src-gen/org/eclipse/etrice/core/ui/RoomExecutableExtensionFactory.java
index 10dfac476..2f4a69e93 100644
--- a/plugins/org.eclipse.etrice.core.room.ui/src-gen/org/eclipse/etrice/core/ui/RoomExecutableExtensionFactory.java
+++ b/plugins/org.eclipse.etrice.core.room.ui/src-gen/org/eclipse/etrice/core/ui/RoomExecutableExtensionFactory.java
@@ -4,10 +4,10 @@
package org.eclipse.etrice.core.ui;
import com.google.inject.Injector;
-import org.eclipse.core.runtime.Platform;
import org.eclipse.etrice.core.room.ui.internal.RoomActivator;
import org.eclipse.xtext.ui.guice.AbstractGuiceAwareExecutableExtensionFactory;
import org.osgi.framework.Bundle;
+import org.osgi.framework.FrameworkUtil;
/**
* This class was generated. Customizations should only happen in a newly
@@ -17,7 +17,7 @@ public class RoomExecutableExtensionFactory extends AbstractGuiceAwareExecutable
@Override
protected Bundle getBundle() {
- return Platform.getBundle(RoomActivator.PLUGIN_ID);
+ return FrameworkUtil.getBundle(RoomActivator.class);
}
@Override

Back to the top