update RCP to 2019-12
This commit is contained in:
parent
150c404cdb
commit
e5bcb25d24
|
@ -7,8 +7,7 @@ Bundle-Vendor: MINRES Technologies GmbH
|
||||||
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
|
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
|
||||||
Import-Package: org.osgi.framework;version="1.3.0"
|
Import-Package: org.osgi.framework;version="1.3.0"
|
||||||
Require-Bundle: com.minres.scviewer.database,
|
Require-Bundle: com.minres.scviewer.database,
|
||||||
org.codehaus.groovy;bundle-version="2.5.8",
|
org.codehaus.groovy;bundle-version="2.5.0",
|
||||||
org.eclipse.equinox.ds;bundle-version="1.4.200",
|
|
||||||
org.eclipse.osgi.services;bundle-version="3.4.0",
|
org.eclipse.osgi.services;bundle-version="3.4.0",
|
||||||
com.google.guava;bundle-version="15.0.0"
|
com.google.guava;bundle-version="15.0.0"
|
||||||
Service-Component: OSGI-INF/component.xml
|
Service-Component: OSGI-INF/component.xml
|
||||||
|
|
|
@ -6,7 +6,6 @@ Bundle-Version: 2.0.2.qualifier
|
||||||
Bundle-Vendor: MINRES Technologies GmbH
|
Bundle-Vendor: MINRES Technologies GmbH
|
||||||
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
|
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
|
||||||
Require-Bundle: com.minres.scviewer.database;bundle-version="1.0.0",
|
Require-Bundle: com.minres.scviewer.database;bundle-version="1.0.0",
|
||||||
org.eclipse.equinox.ds;bundle-version="1.4.200",
|
|
||||||
org.eclipse.osgi.services;bundle-version="3.4.0",
|
org.eclipse.osgi.services;bundle-version="3.4.0",
|
||||||
com.google.guava;bundle-version="15.0.0"
|
com.google.guava;bundle-version="15.0.0"
|
||||||
Service-Component: OSGI-INF/component.xml
|
Service-Component: OSGI-INF/component.xml
|
||||||
|
|
|
@ -17,7 +17,6 @@ Require-Bundle: javax.inject;bundle-version="1.0.0",
|
||||||
com.minres.scviewer.database.ui.swt;bundle-version="1.0.0",
|
com.minres.scviewer.database.ui.swt;bundle-version="1.0.0",
|
||||||
com.minres.scviewer.database.ui,
|
com.minres.scviewer.database.ui,
|
||||||
com.minres.scviewer.database;bundle-version="1.0.0",
|
com.minres.scviewer.database;bundle-version="1.0.0",
|
||||||
org.eclipse.equinox.ds;bundle-version="1.4.300",
|
|
||||||
org.eclipse.osgi.services;bundle-version="3.5.0",
|
org.eclipse.osgi.services;bundle-version="3.5.0",
|
||||||
org.eclipse.e4.core.services;bundle-version="2.0.0",
|
org.eclipse.e4.core.services;bundle-version="2.0.0",
|
||||||
org.eclipse.osgi.services;bundle-version="3.5.0",
|
org.eclipse.osgi.services;bundle-version="3.5.0",
|
||||||
|
|
|
@ -46,7 +46,6 @@ import com.minres.scviewer.e4.application.options.Options.Separator;
|
||||||
* <em>org.eclipse.core.runtime.products' extension point</em>) that references
|
* <em>org.eclipse.core.runtime.products' extension point</em>) that references
|
||||||
* this class.
|
* this class.
|
||||||
**/
|
**/
|
||||||
@SuppressWarnings("restriction")
|
|
||||||
public class E4LifeCycle {
|
public class E4LifeCycle {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -12,7 +12,6 @@ package com.minres.scviewer.e4.application.parts;
|
||||||
|
|
||||||
import java.util.AbstractMap;
|
import java.util.AbstractMap;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.HashMap;
|
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.TreeMap;
|
import java.util.TreeMap;
|
||||||
import java.util.Vector;
|
import java.util.Vector;
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
|
|
||||||
<product name="SCViewer" uid="scviewer" id="com.minres.scviewer.e4.application.product" application="org.eclipse.e4.ui.workbench.swt.E4Application" version="2.6.0.qualifier" useFeatures="false" includeLaunchers="true">
|
<product name="SCViewer" uid="scviewer" id="com.minres.scviewer.e4.application.product" application="org.eclipse.e4.ui.workbench.swt.E4Application" version="2.6.0.qualifier" useFeatures="false" includeLaunchers="true">
|
||||||
|
|
||||||
|
|
||||||
<configIni use="default">
|
<configIni use="default">
|
||||||
</configIni>
|
</configIni>
|
||||||
|
|
||||||
|
@ -19,6 +20,7 @@
|
||||||
|
|
||||||
<windowImages/>
|
<windowImages/>
|
||||||
|
|
||||||
|
|
||||||
<launcher name="scviewer">
|
<launcher name="scviewer">
|
||||||
<linux icon="icons/SCViewer_512x512.xpm"/>
|
<linux icon="icons/SCViewer_512x512.xpm"/>
|
||||||
<macosx icon="icons/SCViewer.icns"/>
|
<macosx icon="icons/SCViewer.icns"/>
|
||||||
|
@ -35,6 +37,7 @@
|
||||||
</win>
|
</win>
|
||||||
</launcher>
|
</launcher>
|
||||||
|
|
||||||
|
|
||||||
<vm>
|
<vm>
|
||||||
<linux include="false">org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8</linux>
|
<linux include="false">org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8</linux>
|
||||||
<macos include="false">org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8</macos>
|
<macos include="false">org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8</macos>
|
||||||
|
@ -78,7 +81,6 @@
|
||||||
<plugin id="org.eclipse.core.expressions"/>
|
<plugin id="org.eclipse.core.expressions"/>
|
||||||
<plugin id="org.eclipse.core.filesystem"/>
|
<plugin id="org.eclipse.core.filesystem"/>
|
||||||
<plugin id="org.eclipse.core.filesystem.linux.x86_64" fragment="true"/>
|
<plugin id="org.eclipse.core.filesystem.linux.x86_64" fragment="true"/>
|
||||||
<plugin id="org.eclipse.core.filesystem.macosx" fragment="true"/>
|
|
||||||
<plugin id="org.eclipse.core.filesystem.win32.x86_64" fragment="true"/>
|
<plugin id="org.eclipse.core.filesystem.win32.x86_64" fragment="true"/>
|
||||||
<plugin id="org.eclipse.core.jobs"/>
|
<plugin id="org.eclipse.core.jobs"/>
|
||||||
<plugin id="org.eclipse.core.resources"/>
|
<plugin id="org.eclipse.core.resources"/>
|
||||||
|
@ -97,6 +99,7 @@
|
||||||
<plugin id="org.eclipse.e4.ui.css.swt"/>
|
<plugin id="org.eclipse.e4.ui.css.swt"/>
|
||||||
<plugin id="org.eclipse.e4.ui.css.swt.theme"/>
|
<plugin id="org.eclipse.e4.ui.css.swt.theme"/>
|
||||||
<plugin id="org.eclipse.e4.ui.di"/>
|
<plugin id="org.eclipse.e4.ui.di"/>
|
||||||
|
<plugin id="org.eclipse.e4.ui.dialogs"/>
|
||||||
<plugin id="org.eclipse.e4.ui.model.workbench"/>
|
<plugin id="org.eclipse.e4.ui.model.workbench"/>
|
||||||
<plugin id="org.eclipse.e4.ui.services"/>
|
<plugin id="org.eclipse.e4.ui.services"/>
|
||||||
<plugin id="org.eclipse.e4.ui.swt.gtk" fragment="true"/>
|
<plugin id="org.eclipse.e4.ui.swt.gtk" fragment="true"/>
|
||||||
|
@ -104,7 +107,6 @@
|
||||||
<plugin id="org.eclipse.e4.ui.workbench"/>
|
<plugin id="org.eclipse.e4.ui.workbench"/>
|
||||||
<plugin id="org.eclipse.e4.ui.workbench.addons.swt"/>
|
<plugin id="org.eclipse.e4.ui.workbench.addons.swt"/>
|
||||||
<plugin id="org.eclipse.e4.ui.workbench.renderers.swt"/>
|
<plugin id="org.eclipse.e4.ui.workbench.renderers.swt"/>
|
||||||
<plugin id="org.eclipse.e4.ui.workbench.renderers.swt.cocoa" fragment="true"/>
|
|
||||||
<plugin id="org.eclipse.e4.ui.workbench.swt"/>
|
<plugin id="org.eclipse.e4.ui.workbench.swt"/>
|
||||||
<plugin id="org.eclipse.e4.ui.workbench3"/>
|
<plugin id="org.eclipse.e4.ui.workbench3"/>
|
||||||
<plugin id="org.eclipse.emf.common"/>
|
<plugin id="org.eclipse.emf.common"/>
|
||||||
|
@ -117,7 +119,6 @@
|
||||||
<plugin id="org.eclipse.equinox.event"/>
|
<plugin id="org.eclipse.equinox.event"/>
|
||||||
<plugin id="org.eclipse.equinox.preferences"/>
|
<plugin id="org.eclipse.equinox.preferences"/>
|
||||||
<plugin id="org.eclipse.equinox.registry"/>
|
<plugin id="org.eclipse.equinox.registry"/>
|
||||||
<plugin id="org.eclipse.equinox.util"/>
|
|
||||||
<plugin id="org.eclipse.jface"/>
|
<plugin id="org.eclipse.jface"/>
|
||||||
<plugin id="org.eclipse.jface.databinding"/>
|
<plugin id="org.eclipse.jface.databinding"/>
|
||||||
<plugin id="org.eclipse.osgi"/>
|
<plugin id="org.eclipse.osgi"/>
|
||||||
|
@ -147,6 +148,7 @@
|
||||||
</preferencesInfo>
|
</preferencesInfo>
|
||||||
|
|
||||||
<cssInfo>
|
<cssInfo>
|
||||||
|
<file path="/com.minres.scviewer.e4.application/css/default.css"/>
|
||||||
</cssInfo>
|
</cssInfo>
|
||||||
|
|
||||||
</product>
|
</product>
|
||||||
|
|
|
@ -86,21 +86,21 @@
|
||||||
</artifact>
|
</artifact>
|
||||||
</target>
|
</target>
|
||||||
<environments>
|
<environments>
|
||||||
<environment>
|
<!-- <environment> -->
|
||||||
<os>linux</os>
|
<!-- <os>linux</os> -->
|
||||||
<ws>gtk</ws>
|
<!-- <ws>gtk</ws> -->
|
||||||
<arch>x86</arch>
|
<!-- <arch>x86</arch> -->
|
||||||
</environment>
|
<!-- </environment> -->
|
||||||
<environment>
|
<environment>
|
||||||
<os>linux</os>
|
<os>linux</os>
|
||||||
<ws>gtk</ws>
|
<ws>gtk</ws>
|
||||||
<arch>x86_64</arch>
|
<arch>x86_64</arch>
|
||||||
</environment>
|
</environment>
|
||||||
<environment>
|
<!-- <environment> -->
|
||||||
<os>win32</os>
|
<!-- <os>win32</os> -->
|
||||||
<ws>win32</ws>
|
<!-- <ws>win32</ws> -->
|
||||||
<arch>x86</arch>
|
<!-- <arch>x86</arch> -->
|
||||||
</environment>
|
<!-- </environment> -->
|
||||||
<environment>
|
<environment>
|
||||||
<os>win32</os>
|
<os>win32</os>
|
||||||
<ws>win32</ws>
|
<ws>win32</ws>
|
||||||
|
|
|
@ -3,23 +3,21 @@
|
||||||
<target name="com.minres.scviewer.target" sequenceNumber="138">
|
<target name="com.minres.scviewer.target" sequenceNumber="138">
|
||||||
<locations>
|
<locations>
|
||||||
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
|
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
|
||||||
|
<repository location="http://download.eclipse.org/releases/2019-12/"/>
|
||||||
<unit id="org.eclipse.equinox.executable.feature.group" version="0.0.0"/>
|
<unit id="org.eclipse.equinox.executable.feature.group" version="0.0.0"/>
|
||||||
|
<unit id="org.eclipse.equinox.p2.sdk.feature.jar" version="0.0.0"/> <!-- needed by Linux exectable-->
|
||||||
|
<unit id="org.eclipse.equinox.sdk.feature.group" version="0.0.0"/>
|
||||||
<unit id="org.eclipse.platform.sdk" version="0.0.0"/>
|
<unit id="org.eclipse.platform.sdk" version="0.0.0"/>
|
||||||
<unit id="org.eclipse.sdk.feature.group" version="0.0.0"/>
|
<unit id="org.eclipse.sdk.feature.group" version="0.0.0"/> <!-- org.junit for testing -->
|
||||||
<unit id="org.eclipse.rcp.sdk.id" version="0.0.0"/>
|
<unit id="org.eclipse.rcptt.core.feature.group" version="0.0.0"/><!-- com.google.guave-->
|
||||||
<unit id="org.eclipse.rcptt.core.feature.group" version="0.0.0"/>
|
|
||||||
<unit id="org.eclipse.e4.rcp.feature.group" version="0.0.0"/>
|
|
||||||
<unit id="org.eclipse.platform.feature.group" version="0.0.0"/>
|
|
||||||
<repository location="http://download.eclipse.org/releases/photon"/>
|
|
||||||
</location>
|
</location>
|
||||||
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
|
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
|
||||||
<unit id="org.codehaus.groovy24.feature.feature.group" version="3.5.1.v201909291550-e48"/>
|
<repository location="https://www.opcoach.com/repository/2019-12/"/>
|
||||||
<repository location="http://dist.springsource.org/snapshot/GRECLIPSE/e4.8/"/>
|
<unit id="com.opcoach.e4.preferences.feature.feature.group" version="0.0.0"/>
|
||||||
<unit id="org.codehaus.groovy25.feature.feature.group" version="3.5.1.v201909291550-e48"/>
|
|
||||||
</location>
|
</location>
|
||||||
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
|
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
|
||||||
<repository location="https://www.opcoach.com/repository/2018-12"/>
|
<repository location="http://dist.springsource.org/snapshot/GRECLIPSE/e4.14/"/>
|
||||||
<unit id="com.opcoach.e4.preferences.feature.feature.group" version="1.3.0.201903181741"/>
|
<unit id="org.codehaus.groovy25.feature.feature.group" version="3.8.0.v202005090048-e1912"/>
|
||||||
</location>
|
</location>
|
||||||
</locations>
|
</locations>
|
||||||
<environment>
|
<environment>
|
||||||
|
|
|
@ -15,6 +15,7 @@ import java.util.MissingResourceException;
|
||||||
import java.util.ResourceBundle;
|
import java.util.ResourceBundle;
|
||||||
|
|
||||||
import org.eclipse.jface.resource.ImageDescriptor;
|
import org.eclipse.jface.resource.ImageDescriptor;
|
||||||
|
import org.eclipse.jface.resource.ResourceLocator;
|
||||||
import org.eclipse.swt.SWT;
|
import org.eclipse.swt.SWT;
|
||||||
import org.eclipse.swt.graphics.Color;
|
import org.eclipse.swt.graphics.Color;
|
||||||
import org.eclipse.swt.graphics.Image;
|
import org.eclipse.swt.graphics.Image;
|
||||||
|
@ -93,7 +94,7 @@ public class TxEditorPlugin extends AbstractUIPlugin {
|
||||||
*/
|
*/
|
||||||
public static ImageDescriptor getImageDescriptor(String path) {
|
public static ImageDescriptor getImageDescriptor(String path) {
|
||||||
String fullpath = File.separator+"res"+File.separator+"images"+File.separator+path;
|
String fullpath = File.separator+"res"+File.separator+"images"+File.separator+path;
|
||||||
return imageDescriptorFromPlugin(PLUGIN_ID, fullpath);
|
return ResourceLocator.imageDescriptorFromBundle(PLUGIN_ID, fullpath).orElse(null);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static Image createImage(String name) {
|
public static Image createImage(String name) {
|
||||||
|
|
Loading…
Reference in New Issue