Skip to content

Commit

Permalink
[contribs] Add UI for computing the experience index.
Browse files Browse the repository at this point in the history
close #554

Signed-off-by: Stéphane Galland <galland@arakhne.org>
  • Loading branch information
gallandarakhneorg committed Mar 31, 2017
1 parent bddb0f6 commit ea44e7c
Show file tree
Hide file tree
Showing 17 changed files with 616 additions and 68 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Expand Up @@ -35,6 +35,9 @@
**/io.sarl.lang.tests/src/main/generated-sources/
**/io.sarl.lang.tests/src/test/xtend-gen/
**/io.sarl.lang.tests/src/test/generated-sources/
**/io.sarl.experienceindex.plugin/xtend-gen/
**/io.sarl.experienceindex.plugin/src-gen/
**/io.sarl.experienceindex.plugin/src/main/generated-sources/

# Xtext templates
**/*.xml_gen
Expand Down
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<feature
id="io.janusproject.feature"
label="Janus SARL Runtime Environment"
id="io.sarl.experienceindex.feature"
label="SARL Experience Index"
version="0.6.0.qualifier"
plugin="io.janusproject.plugin">
plugin="io.sarl.experienceindex.plugin">

<description url="http://www.sarl.io/about/">
Provide the default runtime environment for the SARL language.
Provide the tools for computing the SARL Experience Index
</description>

<copyright url="http://www.sarl.io/about/">
Expand Down Expand Up @@ -222,8 +222,16 @@
</url>

<requires>
<import plugin="org.eclipse.osgi" version="3.11.3" match="greaterOrEqual"/>
<import plugin="io.sarl.lang.core" version="0.6.0" match="greaterOrEqual"/>
<import plugin="io.sarl.eclipse" version="0.6.0" match="greaterOrEqual"/>
<import plugin="org.eclipse.osgi" version="3.11.3" match="greaterOrEqual"/>
<import plugin="org.eclipse.core.commands" version="3.8.1" match="greaterOrEqual"/>
<import plugin="org.eclipse.core.runtime" version="3.12.0" match="greaterOrEqual"/>
<import plugin="org.eclipse.jface" version="3.12.2" match="greaterOrEqual"/>
<import plugin="org.eclipse.ui" version="3.108.1" match="greaterOrEqual"/>
<import plugin="io.sarl.lang.ui" version="0.6.0" match="greaterOrEqual"/>
<import plugin="org.eclipse.xtext.ui" version="2.11.0" match="greaterOrEqual"/>
<import plugin="com.google.inject" version="4.1.0" match="greaterOrEqual"/>
</requires>

<plugin
Expand Down
Expand Up @@ -6,6 +6,16 @@ Bundle-Vendor: %Bundle-Vendor
Bundle-Name: %Bundle-Name
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Bundle-ActivationPolicy: lazy
Export-Package: io.sarl.experienceindex
Export-Package: io.sarl.experienceindex,
io.sarl.experienceindex.eclipse
Require-Bundle: io.sarl.lang.core;bundle-version="0.6.0",
org.eclipse.osgi;bundle-version="3.11.3"
io.sarl.eclipse;bundle-version="0.6.0",
io.sarl.lang.ui;bundle-version="0.6.0",
org.eclipse.xtext.ui;bundle-version="2.11.0",
org.eclipse.osgi;bundle-version="3.11.3",
org.eclipse.core.commands;bundle-version="3.8.1",
org.eclipse.core.runtime;bundle-version="3.12.0",
org.eclipse.jface;bundle-version="3.12.2",
org.eclipse.ui;bundle-version="3.108.1",
com.google.inject;bundle-version="4.1.0"
Bundle-Activator: io.sarl.experienceindex.eclipse.SarlExperienceIndexPlugin
@@ -1,3 +1,3 @@
Bundle-Vendor = SARL.io
Bundle-Name = SARL Experience Index

action.sarlExperienceIndexEvaluator = Compute Experience Index...
@@ -1,7 +1,10 @@
source.. = src,\
src-gen
src.excludes = **/*.sarlbin
bin.includes = META-INF/,\
OSGI-INF/,\
plugin.xml,\
icons/,\
.
bin.excludes = **/*.java._trace,\
**/*.sarlbin,\
Expand Down
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -0,0 +1,22 @@
<?eclipse version="3.0"?>

<plugin>
<extension point="org.eclipse.ui.menus">
<menuContribution locationURI="menu:io.sarl.eclipse.mainMenu">
<command commandId="io.sarl.experienceindex.eclipse.sarlExperienceIndexEvaluator"
label="%action.sarlExperienceIndexEvaluator"
icon="icons/sei.png"
style="push">
</command>
</menuContribution>
</extension>
<extension point="org.eclipse.ui.commands">
<command id="io.sarl.experienceindex.eclipse.sarlExperienceIndexEvaluator"
name="%action.sarlExperienceIndexEvaluator" />
</extension>
<extension point="org.eclipse.ui.handlers">
<handler
class="io.sarl.experienceindex.eclipse.ExecutableExtensionFactory:io.sarl.experienceindex.eclipse.SarlExperienceIndexEvaluatorHandler"
commandId="io.sarl.experienceindex.eclipse.sarlExperienceIndexEvaluator" />
</extension>
</plugin>
Binary file not shown.
Binary file not shown.

0 comments on commit ea44e7c

Please sign in to comment.