added viz feature

parent 82d43ac5
......@@ -3,4 +3,5 @@ source.. = src/,\
xtend-gen/
bin.includes = .,\
META-INF/,\
plugin.xml
plugin.xml,\
icons/
......@@ -23,36 +23,15 @@ Require-Bundle: org.eclipse.xtext,
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Export-Package: de.cau.se.teetime.configuration.dsl,
de.cau.se.teetime.configuration.dsl.config;uses:="org.eclipse.emf.ecore,org.eclipse.emf.common.util",
de.cau.se.teetime.configuration.dsl.config.impl;
uses:="org.eclipse.emf.ecore,
org.eclipse.emf.ecore.impl,
org.eclipse.emf.common.util,
de.cau.se.teetime.configuration.dsl.config,
org.eclipse.emf.common.notify",
de.cau.se.teetime.configuration.dsl.config.util;
uses:="org.eclipse.emf.ecore,
org.eclipse.emf.common.notify,
de.cau.se.teetime.configuration.dsl.config,
org.eclipse.emf.common.notify.impl,
org.eclipse.emf.ecore.util",
de.cau.se.teetime.configuration.dsl.config.impl; uses:="org.eclipse.emf.ecore, org.eclipse.emf.ecore.impl, org.eclipse.emf.common.util, de.cau.se.teetime.configuration.dsl.config, org.eclipse.emf.common.notify",
de.cau.se.teetime.configuration.dsl.config.util; uses:="org.eclipse.emf.ecore, org.eclipse.emf.common.notify, de.cau.se.teetime.configuration.dsl.config, org.eclipse.emf.common.notify.impl, org.eclipse.emf.ecore.util",
de.cau.se.teetime.configuration.dsl.generator;uses:="org.eclipse.xtext.generator,org.eclipse.emf.ecore.resource,de.cau.se.teetime.configuration.dsl.config",
de.cau.se.teetime.configuration.dsl.parser.antlr;uses:="de.cau.se.teetime.configuration.dsl.parser.antlr.internal,org.eclipse.xtext.parser.antlr,de.cau.se.teetime.configuration.dsl.services",
de.cau.se.teetime.configuration.dsl.parser.antlr.internal;
uses:="org.eclipse.emf.ecore,
org.eclipse.xtext.parser.antlr,
de.cau.se.teetime.configuration.dsl.services,
org.antlr.runtime",
de.cau.se.teetime.configuration.dsl.parser.antlr.internal; uses:="org.eclipse.emf.ecore, org.eclipse.xtext.parser.antlr, de.cau.se.teetime.configuration.dsl.services, org.antlr.runtime",
de.cau.se.teetime.configuration.dsl.scoping;uses:="org.eclipse.emf.ecore,org.eclipse.xtext.scoping",
de.cau.se.teetime.configuration.dsl.serializer;
uses:="org.eclipse.emf.ecore,
org.eclipse.xtext.nodemodel,
org.eclipse.xtext.serializer.analysis,
de.cau.se.teetime.configuration.dsl.services,
de.cau.se.teetime.configuration.dsl.config,
org.eclipse.xtext.serializer.sequencer,
org.eclipse.xtext,
org.eclipse.xtext.serializer",
de.cau.se.teetime.configuration.dsl.serializer; uses:="org.eclipse.emf.ecore, org.eclipse.xtext.nodemodel, org.eclipse.xtext.serializer.analysis, de.cau.se.teetime.configuration.dsl.services, de.cau.se.teetime.configuration.dsl.config, org.eclipse.xtext.serializer.sequencer, org.eclipse.xtext, org.eclipse.xtext.serializer",
de.cau.se.teetime.configuration.dsl.services;uses:="org.eclipse.xtext.common.services,org.eclipse.xtext.service,org.eclipse.xtext",
de.cau.se.teetime.configuration.dsl.util;uses:="de.cau.se.teetime.configuration.dsl.config",
de.cau.se.teetime.configuration.dsl.validation;uses:="de.cau.se.teetime.configuration.dsl.config"
de.cau.se.teetime.configuration.dsl.validation;uses:="de.cau.se.teetime.configuration.dsl.config",
de.cau.se.teetime.configuration.dsl.formatting2
Import-Package: org.apache.log4j
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>de.cau.se.teetime</groupId>
<artifactId>bundles</artifactId>
<version>0.1.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>de.cau.se.teetime</groupId>
<artifactId>bundles</artifactId>
<version>0.1.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<groupId>de.cau.se.teetime</groupId>
<artifactId>de.cau.se.teetime.configuration.dsl</artifactId>
<version>0.1.0-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
<build>
<sourceDirectory>src</sourceDirectory>
<plugins>
<!-- Generate Xtend code. -->
<plugin>
<groupId>org.eclipse.xtend</groupId>
<artifactId>xtend-maven-plugin</artifactId>
<version>${xtend.compiler.version}</version>
</plugin>
</plugins>
</build>
<groupId>de.cau.se.teetime</groupId>
<artifactId>de.cau.se.teetime.configuration.dsl</artifactId>
<packaging>eclipse-plugin</packaging>
<build>
<sourceDirectory>src</sourceDirectory>
<plugins>
<!-- Generate Xtend code. -->
<plugin>
<groupId>org.eclipse.xtend</groupId>
<artifactId>xtend-maven-plugin</artifactId>
<version>${xtend.compiler.version}</version>
</plugin>
</plugins>
</build>
<version>0.1.0-SNAPSHOT</version>
</project>
\ No newline at end of file
......@@ -2,11 +2,38 @@ module de.cau.se.teetime.configuration.dsl.GenerateConfig
import org.eclipse.xtext.xtext.generator.*
import org.eclipse.xtext.xtext.generator.model.project.*
import org.eclipse.emf.mwe.utils.*
var rootPath = ".."
var runtimeProject = "../de.cau.se.teetime.configuration.dsl"
Workflow {
bean = StandaloneSetup {
// use an XtextResourceset throughout the process, which is able to resolve classpath:/ URIs.
resourceSet = org.eclipse.xtext.resource.XtextResourceSet:theResourceSet {}
// add mappings from platform:/resource to classpath:/
uriMap = {
from = "platform:/resource/org.eclipse.xtext.xbase/"
to = "classpath:/"
}
uriMap = {
from = "platform:/resource/org.eclipse.xtext.common.types/"
to = "classpath:/"
}
// for builds without .project file
// projectMapping = {
// projectName = '${projectName}'
// path = '${runtimeProject}'
// }
// register current projects and its siblings for platform URI map, as they are not on the classpath.
platformUri = "${runtimeProject}/.."
// The following two lines can be removed, if Xbase is not used.
registerGeneratedEPackage = "org.eclipse.xtext.xbase.XbasePackage"
registerGenModelFile = "platform:/resource/org.eclipse.xtext.xbase/model/Xbase.genmodel"
}
component = XtextGenerator {
configuration = {
project = StandardProjectConfig {
......
<?xml version="1.0" encoding="UTF-8"?>
<feature
id="de.cau.se.teetime.configuration.dsl.feature"
label="TeeTime Eclipse Plug-In"
label="TeeTime Configuration DSL"
version="0.1.0.qualifier">
<description url="http://www.teetime-framework.net">
......@@ -67,22 +67,8 @@
<import plugin="org.eclipse.compare"/>
<import plugin="org.eclipse.xtext.builder"/>
<import plugin="org.eclipse.jdt.ui" version="3.11.2" match="greaterOrEqual"/>
<import plugin="org.eclipse.jdt.core" version="3.11.2" match="greaterOrEqual"/>
<import plugin="javax.inject"/>
<import plugin="com.google.inject"/>
<import plugin="org.eclipse.elk.core"/>
<import plugin="org.eclipse.elk.graph"/>
<import plugin="org.eclipse.elk.alg.layered"/>
<import plugin="de.cau.cs.kieler.klighd.krendering.extensions"/>
<import plugin="de.cau.cs.kieler.klighd"/>
<import plugin="de.cau.cs.kieler.klighd.ui"/>
<import plugin="de.cau.cs.kieler.klighd.piccolo"/>
<import plugin="org.eclipse.ui.ide.application"/>
<import plugin="org.eclipse.ui.navigator.resources"/>
<import plugin="org.eclipse.ui.views.log"/>
<import plugin="org.eclipse.emf"/>
<import plugin="de.cau.cs.kieler.klighd.ui.contrib3x"/>
<import plugin="de.cau.cs.kieler.klighd.krendering"/>
<import plugin="de.cau.se.teetime.configuration.dsl" version="0.1.0" match="greaterOrEqual"/>
<import plugin="org.eclipse.jdt.core" version="3.11.0" match="greaterOrEqual"/>
</requires>
<plugin
......@@ -106,11 +92,4 @@
version="0.0.0"
unpack="false"/>
<plugin
id="de.cau.se.teetime.configuration.viz"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
</feature>
......@@ -7,7 +7,7 @@
<relativePath>../pom.xml</relativePath>
</parent>
<groupId>de.cau.se.teetime</groupId>
<artifactId>dsl.feature</artifactId>
<artifactId>de.cau.se.teetime.configuration.dsl.feature</artifactId>
<version>0.1.0-SNAPSHOT</version>
<packaging>eclipse-feature</packaging>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>de.cau.se.teetime.configuration.viz.feature</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.pde.FeatureBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.pde.FeatureNature</nature>
</natures>
</projectDescription>
<?xml version="1.0" encoding="UTF-8"?>
<feature
id="de.cau.se.teetime.configuration.viz.feature"
label="TeeTime Configuration Visualization"
version="0.1.0.qualifier">
<description url="http://www.example.com/description">
[Enter Feature Description here.]
</description>
<copyright url="http://www.example.com/copyright">
[Enter Copyright Description here.]
</copyright>
<license url="http://www.example.com/license">
[Enter License Description here.]
</license>
<requires>
<import plugin="javax.inject"/>
<import plugin="com.google.inject"/>
<import plugin="org.eclipse.xtext.xbase.lib"/>
<import plugin="org.eclipse.elk.core"/>
<import plugin="org.eclipse.elk.graph"/>
<import plugin="org.eclipse.elk.alg.layered"/>
<import plugin="de.cau.cs.kieler.klighd.krendering.extensions"/>
<import plugin="de.cau.cs.kieler.klighd"/>
<import plugin="de.cau.cs.kieler.klighd.ui"/>
<import plugin="de.cau.cs.kieler.klighd.piccolo"/>
<import plugin="org.eclipse.ui"/>
<import plugin="org.eclipse.ui.ide.application"/>
<import plugin="org.eclipse.ui.navigator.resources"/>
<import plugin="org.eclipse.ui.views.log"/>
<import plugin="org.eclipse.core.resources"/>
<import plugin="org.eclipse.emf"/>
<import plugin="org.eclipse.xtext.ui"/>
<import plugin="de.cau.se.teetime.configuration.dsl" version="0.1.0" match="greaterOrEqual"/>
<import plugin="org.eclipse.jdt.core"/>
<import plugin="org.eclipse.core.contenttype"/>
<import plugin="de.cau.cs.kieler.klighd.krendering"/>
<import plugin="de.cau.cs.kieler.klighd.ui.contrib3x"/>
</requires>
<plugin
id="de.cau.se.teetime.configuration.viz"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
</feature>
<project>
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>de.cau.se.teetime</groupId>
<artifactId>features</artifactId>
<version>0.1.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<groupId>de.cau.se.teetime</groupId>
<version>0.1.0-SNAPSHOT</version>
<packaging>eclipse-feature</packaging>
<artifactId>de.cau.se.teetime.configuration.viz.feature</artifactId>
</project>
\ No newline at end of file
......@@ -14,6 +14,7 @@
<modules>
<module>de.cau.se.teetime.configuration.dsl.feature</module>
<module>de.cau.se.teetime.configuration.viz.feature</module>
</modules>
</project>
\ No newline at end of file
......@@ -3,6 +3,9 @@
<feature url="features/de.cau.se.teetime.configuration.dsl.feature_0.1.0.qualifier.jar" id="de.cau.se.teetime.configuration.dsl.feature" version="0.1.0.qualifier">
<category name="teetimeCat"/>
</feature>
<feature url="features/de.cau.se.teetime.configuration.viz.feature_0.1.0.qualifier.jar" id="de.cau.se.teetime.configuration.viz.feature" version="0.1.0.qualifier">
<category name="teetimeCat"/>
</feature>
<category-def name="teetimeCat" label="TeeTime">
<description>
Cool TeeTime stuff
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment