Skip to content

Commit

Permalink
Update of the IDE examples
Browse files Browse the repository at this point in the history
  • Loading branch information
vogella committed Nov 8, 2023
1 parent 854e24f commit 6871ceb
Show file tree
Hide file tree
Showing 33 changed files with 293 additions and 269 deletions.
2 changes: 1 addition & 1 deletion com.vogella.ide.editor.gradle/.classpath
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-14"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="output" path="bin"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.targetPlatform=14
org.eclipse.jdt.core.compiler.compliance=14
org.eclipse.jdt.core.compiler.codegen.targetPlatform=17
org.eclipse.jdt.core.compiler.compliance=17
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
org.eclipse.jdt.core.compiler.release=enabled
org.eclipse.jdt.core.compiler.source=14
org.eclipse.jdt.core.compiler.source=17
2 changes: 1 addition & 1 deletion com.vogella.ide.editor.gradle/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Bundle-SymbolicName: com.vogella.ide.editor.gradle;singleton:=true
Bundle-Version: 1.0.0.qualifier
Bundle-Vendor: VOGELLA
Automatic-Module-Name: com.vogella.ide.editor.gradle
Bundle-RequiredExecutionEnvironment: JavaSE-11
Bundle-RequiredExecutionEnvironment: JavaSE-17
Require-Bundle: org.eclipse.text,
org.eclipse.ui,
org.eclipse.ui.editors,
Expand Down
21 changes: 0 additions & 21 deletions com.vogella.ide.feature/feature.xml
Original file line number Diff line number Diff line change
Expand Up @@ -101,27 +101,6 @@
version="0.0.0"
unpack="false"/>

<plugin
id="ca.odell.glazedlists"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

<plugin
id="org.eclipse.nebula.widgets.nattable.extension.glazedlists"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

<plugin
id="org.eclipse.nebula.widgets.nattable.extension.e4"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

<plugin
id="com.vogella.ide.editor.gradle"
download-size="0"
Expand Down
2 changes: 1 addition & 1 deletion com.vogella.swt.widgets/.classpath
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-14"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="output" path="bin"/>
Expand Down
6 changes: 3 additions & 3 deletions com.vogella.swt.widgets/.settings/org.eclipse.jdt.core.prefs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.targetPlatform=14
org.eclipse.jdt.core.compiler.compliance=14
org.eclipse.jdt.core.compiler.codegen.targetPlatform=17
org.eclipse.jdt.core.compiler.compliance=17
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
org.eclipse.jdt.core.compiler.release=enabled
org.eclipse.jdt.core.compiler.source=14
org.eclipse.jdt.core.compiler.source=17
2 changes: 1 addition & 1 deletion com.vogella.tasks.events/.classpath
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-14"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="output" path="bin"/>
Expand Down
6 changes: 3 additions & 3 deletions com.vogella.tasks.events/.settings/org.eclipse.jdt.core.prefs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.targetPlatform=14
org.eclipse.jdt.core.compiler.compliance=14
org.eclipse.jdt.core.compiler.codegen.targetPlatform=17
org.eclipse.jdt.core.compiler.compliance=17
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
org.eclipse.jdt.core.compiler.release=enabled
org.eclipse.jdt.core.compiler.source=14
org.eclipse.jdt.core.compiler.source=17
2 changes: 1 addition & 1 deletion com.vogella.tasks.services/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ Require-Bundle: org.eclipse.core.runtime,
org.eclipse.e4.core.di,
org.eclipse.e4.ui.model.workbench,
org.eclipse.osgi.services
Bundle-ActivationPolicy: lazy
Service-Component: OSGI-INF/com.vogella.tasks.services.internal.TaskServiceContextFunction.xml
Bundle-ActivationPolicy: lazy
5 changes: 5 additions & 0 deletions com.vogella.tasks.ui/.project
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.ds.core.builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.pde.PluginNature</nature>
Expand Down
6 changes: 5 additions & 1 deletion com.vogella.tasks.ui/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,14 @@ Require-Bundle: org.eclipse.core.runtime,
org.eclipse.e4.core.services;bundle-version="2.2.400",
org.eclipse.osgi.services;bundle-version="3.9.0",
com.vogella.swt.widgets;bundle-version="1.0.0",
org.eclipse.ui;bundle-version="3.118.0"
org.eclipse.ui;bundle-version="3.118.0",
org.eclipse.e4.core.contexts;bundle-version="1.12.100"
Bundle-RequiredExecutionEnvironment: JavaSE-17
Import-Package: com.vogella.tasks.events,
com.vogella.tasks.model,
javax.annotation;version="1.2.0",
javax.inject;version="1.0.0"
Automatic-Module-Name: com.vogella.tasks.ui
Bundle-ActivationPolicy: lazy
Service-Component: OSGI-INF/com.vogella.tasks.ui.parts.MeinServerConnection.xml,
OSGI-INF/com.vogella.tasks.ui.parts.ServerConnection.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.3.0" name="com.vogella.tasks.ui.parts.MeinServerConnection">
<reference cardinality="1..1" field="service" interface="com.vogella.tasks.ui.parts.IServerConnection" name="service"/>
<implementation class="com.vogella.tasks.ui.parts.MeinServerConnection"/>
</scr:component>
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0" name="com.vogella.tasks.ui.parts.ServerConnection">
<service>
<provide interface="com.vogella.tasks.ui.parts.IServerConnection"/>
</service>
<implementation class="com.vogella.tasks.ui.parts.ServerConnection"/>
</scr:component>
5 changes: 4 additions & 1 deletion com.vogella.tasks.ui/build.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,8 @@ bin.includes = META-INF/,\
fragment.e4xmi,\
plugin.xml,\
commands.e4xmi,\
testing.e4xmi
testing.e4xmi,\
icons/,\
OSGI-INF/com.vogella.tasks.ui.parts.MeinServerConnection.xml,\
OSGI-INF/com.vogella.tasks.ui.parts.ServerConnection.xml
source.. = src/
27 changes: 17 additions & 10 deletions com.vogella.tasks.ui/commands.e4xmi
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="ASCII"?>
<fragment:ModelFragments xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:application="http://www.eclipse.org/ui/2010/UIModel/application" xmlns:commands="http://www.eclipse.org/ui/2010/UIModel/application/commands" xmlns:fragment="http://www.eclipse.org/ui/2010/UIModel/fragment" xmlns:menu="http://www.eclipse.org/ui/2010/UIModel/application/ui/menu" xmi:id="_AG8wAPsAEeqkSvBVXszopA">
<fragments xsi:type="fragment:StringModelFragment" xmi:id="_bWXusPsAEeqkSvBVXszopA" featurename="commands" parentElementId="xpath:/">
<elements xsi:type="commands:Command" xmi:id="_dfYCkPsAEeqkSvBVXszopA" elementId="com.vogella.tasks.ui.command.testcommandj" commandName="BLABLABLA">
<elements xsi:type="commands:Command" xmi:id="_dfYCkPsAEeqkSvBVXszopA" elementId="com.vogella.tasks.ui.command.testcommandj" commandName="Do something">
<persistedState key="persistState" value="false"/>
</elements>
<elements xsi:type="commands:Command" xmi:id="_sgtIMPsKEeqkSvBVXszopA" elementId="com.vogella.tasks.ui.command.new" commandName="Create task">
Expand All @@ -11,6 +11,7 @@
<persistedState key="persistState" value="false"/>
</elements>
<elements xsi:type="commands:Command" xmi:id="_7XoIQCTPEeu5uu2CwVMkAg" elementId="com.vogella.tasks.ui.command.resize" commandName="Resize"/>
<elements xsi:type="commands:Command" xmi:id="_u1a8AH2qEe6PbdPE_yGgLA" elementId="com.vogella.tasks.ui.command.testing" commandName="Testing"/>
</fragments>
<fragments xsi:type="fragment:StringModelFragment" xmi:id="_k0YZ4PsDEeqkSvBVXszopA" featurename="handlers" parentElementId="xpath:/">
<elements xsi:type="commands:Handler" xmi:id="_nQoZ4PsDEeqkSvBVXszopA" elementId="com.vogella.tasks.ui.handler.jjj" contributionURI="bundleclass://com.vogella.tasks.ui/com.vogella.tasks.ui.handlers.TestHandler" command="_dfYCkPsAEeqkSvBVXszopA">
Expand All @@ -19,23 +20,21 @@
<elements xsi:type="commands:Handler" xmi:id="_om6zMPsKEeqkSvBVXszopA" elementId="com.vogella.tasks.ui.handler.1" contributionURI="bundleclass://com.vogella.tasks.ui/com.vogella.tasks.ui.handlers.NewTaskHandler" command="_sgtIMPsKEeqkSvBVXszopA">
<persistedState key="persistState" value="false"/>
</elements>
<elements xsi:type="commands:Handler" xmi:id="__xMsMPswEeqkSvBVXszopA" elementId="com.vogella.tasks.ui.handler.2" contributionURI="bundleclass://com.vogella.tasks.ui/com.vogella.tasks.ui.handlers.RemoveTodoHandler" command="_-3Ud4PswEeqkSvBVXszopA">
<elements xsi:type="commands:Handler" xmi:id="__xMsMPswEeqkSvBVXszopA" elementId="com.vogella.tasks.ui.handler.delete" contributionURI="bundleclass://com.vogella.tasks.ui/com.vogella.tasks.ui.handlers.RemoveTodoHandler" command="_-3Ud4PswEeqkSvBVXszopA">
<persistedState key="persistState" value="false"/>
</elements>
<elements xsi:type="commands:Handler" xmi:id="_9AVLcCTPEeu5uu2CwVMkAg" elementId="com.vogella.tasks.ui.handler.0" contributionURI="bundleclass://com.vogella.tasks.ui/com.vogella.tasks.ui.handlers.ResizePerspectiveHandler" command="_7XoIQCTPEeu5uu2CwVMkAg"/>
<elements xsi:type="commands:Handler" xmi:id="_QLMEgCTVEeu5uu2CwVMkAg" elementId="com.vogella.tasks.ui.handler.3" contributionURI="bundleclass://com.vogella.tasks.ui/com.vogella.tasks.ui.handlers.ResizePerspectiveHandler" command="_7XoIQCTPEeu5uu2CwVMkAg"/>
<elements xsi:type="commands:Handler" xmi:id="_9AVLcCTPEeu5uu2CwVMkAg" elementId="com.vogella.tasks.ui.handler.resize" contributionURI="bundleclass://com.vogella.tasks.ui/com.vogella.tasks.ui.handlers.ResizePerspectiveHandler" command="_7XoIQCTPEeu5uu2CwVMkAg"/>
<elements xsi:type="commands:Handler" xmi:id="_10r0MH2qEe6PbdPE_yGgLA" elementId="com.vogella.tasks.ui.handler.testing" contributionURI="bundleclass://com.vogella.tasks.ui/com.vogella.tasks.ui.handlers.TestHandler" command="_u1a8AH2qEe6PbdPE_yGgLA"/>
</fragments>
<fragments xsi:type="fragment:StringModelFragment" xmi:id="_bzE8APsEEeqkSvBVXszopA" featurename="menuContributions" parentElementId="xpath:/">
<elements xsi:type="menu:MenuContribution" xmi:id="_eg50MPsEEeqkSvBVXszopA" elementId="com.vogella.tasks.ui.menucontribution.dd" parentId="org.eclipse.ui.main.menu">
<persistedState key="persistState" value="false"/>
<children xsi:type="menu:Menu" xmi:id="_pItgYPsEEeqkSvBVXszopA" elementId="com.vogella.tasks.ui.menu.vogella" label="vogella">
<children xsi:type="menu:HandledMenuItem" xmi:id="_q5_30PsEEeqkSvBVXszopA" elementId="com.vogella.tasks.ui.handledmenuitem.testcommand777" label="Test command" command="_dfYCkPsAEeqkSvBVXszopA"/>
<children xsi:type="menu:HandledMenuItem" xmi:id="_6ee1MPsLEeqkSvBVXszopA" elementId="com.vogella.tasks.ui.handledmenuitem.0" command="_sgtIMPsKEeqkSvBVXszopA"/>
<children xsi:type="menu:HandledMenuItem" xmi:id="_X_gsYPzIEeq2IdzpSWmUtQ" elementId="com.vogella.tasks.ui.handledmenuitem.1" command="_-3Ud4PswEeqkSvBVXszopA"/>
<children xsi:type="menu:Menu" xmi:id="_uhkHACNqEeuY7YKff0pD3Q" elementId="com.vogella.tasks.ui.menu.0">
<children xsi:type="menu:HandledMenuItem" xmi:id="_40668CTPEeu5uu2CwVMkAg" elementId="com.vogella.tasks.ui.handledmenuitem.2" command="_7XoIQCTPEeu5uu2CwVMkAg"/>
</children>
<children xsi:type="menu:HandledMenuItem" xmi:id="_6ee1MPsLEeqkSvBVXszopA" elementId="com.vogella.tasks.ui.handledmenuitem.new" label="New" command="_sgtIMPsKEeqkSvBVXszopA"/>
<children xsi:type="menu:HandledMenuItem" xmi:id="_X_gsYPzIEeq2IdzpSWmUtQ" elementId="com.vogella.tasks.ui.handledmenuitem.delete" label="Delete" command="_-3Ud4PswEeqkSvBVXszopA"/>
<children xsi:type="menu:DynamicMenuContribution" xmi:id="_n4yfQCT2EeuKC72rQFGr3Q" elementId="com.vogella.tasks.ui.dynamicmenucontribution.0" label="Stuff" contributionURI="bundleclass://com.vogella.tasks.ui/com.vogella.nattable.parts.CreateDynamicMenus"/>
<children xsi:type="menu:HandledMenuItem" xmi:id="_40668CTPEeu5uu2CwVMkAg" elementId="com.vogella.tasks.ui.handledmenuitem.2" command="_7XoIQCTPEeu5uu2CwVMkAg"/>
</children>
</elements>
</fragments>
Expand All @@ -44,7 +43,7 @@
<persistedState key="persistState" value="false"/>
<children xsi:type="menu:ToolBar" xmi:id="_K1MzsPsGEeqkSvBVXszopA" elementId="com.vogella.tasks.ui.toolbar.0">
<children xsi:type="menu:HandledToolItem" xmi:id="_MBNT0PsGEeqkSvBVXszopA" elementId="com.vogella.tasks.ui.handledtoolitem.5" label="" iconURI="" command="_dfYCkPsAEeqkSvBVXszopA"/>
<children xsi:type="menu:HandledToolItem" xmi:id="_fJZgMPzIEeq2IdzpSWmUtQ" elementId="com.vogella.tasks.ui.handledtoolitem.0" iconURI="platform:/plugin/com.vogella.tasks.ui/icons/pinned_ovr@2x.png" command="_-3Ud4PswEeqkSvBVXszopA"/>
<children xsi:type="menu:HandledToolItem" xmi:id="_fJZgMPzIEeq2IdzpSWmUtQ" elementId="com.vogella.tasks.ui.handledtoolitem.delete" label="Delete" iconURI="platform:/plugin/com.vogella.tasks.ui/icons/pinned_ovr@2x.png" command="_-3Ud4PswEeqkSvBVXszopA"/>
</children>
</elements>
</fragments>
Expand All @@ -53,4 +52,12 @@
<persistedState key="persistState" value="false"/>
</elements>
</fragments>
<fragments xsi:type="fragment:StringModelFragment" xmi:id="_lX54sH2qEe6PbdPE_yGgLA" featurename="rootContext" parentElementId="xpath:/">
<elements xsi:type="commands:BindingContext" xmi:id="_lX54sX2qEe6PbdPE_yGgLA" elementId="com.vogella.tasks.ui.bindingcontext.part" name="TaskOverview Keybindings"/>
</fragments>
<fragments xsi:type="fragment:StringModelFragment" xmi:id="_j9izgH2qEe6PbdPE_yGgLA" featurename="bindingTables" parentElementId="xpath:/">
<elements xsi:type="commands:BindingTable" xmi:id="_j9izgX2qEe6PbdPE_yGgLA" elementId="com.vogella.tasks.ui.bindingtable.0" bindingContext="_lX54sX2qEe6PbdPE_yGgLA">
<bindings xmi:id="_tFzYgH2qEe6PbdPE_yGgLA" elementId="com.vogella.tasks.ui.keybinding.1" keySequence="SHIFT+ALT+G" command="_u1a8AH2qEe6PbdPE_yGgLA"/>
</elements>
</fragments>
</fragment:ModelFragments>
Loading

0 comments on commit 6871ceb

Please sign in to comment.