-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: shiv12095 <[email protected]>
- Loading branch information
Showing
117 changed files
with
4,846 additions
and
657 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
bundles/org.eclipse.vorto.editor.functionblock.ide/META-INF/MANIFEST.MF
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
FManifest-Version: 1.0 | ||
Bundle-ManifestVersion: 2 | ||
Bundle-Name: org.eclipse.vorto.editor.functionblock.ide | ||
Bundle-Vendor: My Company | ||
Bundle-Version: 0.9.0.qualifier | ||
Bundle-SymbolicName: org.eclipse.vorto.editor.functionblock.ide;singleton:=true | ||
Bundle-ActivationPolicy: lazy | ||
Require-Bundle: org.eclipse.vorto.editor.functionblock, | ||
org.eclipse.xtext.ide, | ||
org.eclipse.xtext.xbase.ide | ||
Bundle-RequiredExecutionEnvironment: JavaSE-1.8 | ||
Export-Package: org.eclipse.vorto.editor.functionblock.ide.contentassist.antlr, | ||
org.eclipse.vorto.editor.functionblock.ide.contentassist.antlr.internal | ||
Import-Package: org.eclipse.vorto.editor.datatype.services, | ||
org.eclipse.vorto.editor.functionblock.services |
5 changes: 5 additions & 0 deletions
5
bundles/org.eclipse.vorto.editor.functionblock.ide/build.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
source.. = src/,\ | ||
src-gen/,\ | ||
xtend-gen/ | ||
bin.includes = .,\ | ||
META-INF/ |
25 changes: 25 additions & 0 deletions
25
bundles/org.eclipse.vorto.editor.functionblock.ide/pom.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<parent> | ||
<groupId>org.eclipse.vorto</groupId> | ||
<artifactId>bundles</artifactId> | ||
<version>0.9.0-SNAPSHOT</version> | ||
</parent> | ||
|
||
<artifactId>org.eclipse.vorto.editor.functionblock.ide</artifactId> | ||
<packaging>eclipse-plugin</packaging> | ||
|
||
<name>Function Block Editor Plugin IDE</name> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.eclipse.xtend</groupId> | ||
<artifactId>xtend-maven-plugin</artifactId> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
bundles/org.eclipse.vorto.editor.functionblock.tests/build.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
source.. = src/,\ | ||
xtend-gen/ | ||
xtend-gen/,\ | ||
src-gen/ | ||
bin.includes = META-INF/,\ | ||
.,\ | ||
about.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
60 changes: 0 additions & 60 deletions
60
...block.tests/src/org/eclipse/vorto/editor/functionblock/FunctionblockInjectorProvider.java
This file was deleted.
Oops, something went wrong.
30 changes: 15 additions & 15 deletions
30
.../editor/functionblock/AllEditorTests.java → ...r/functionblock/tests/AllEditorTests.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
51 changes: 51 additions & 0 deletions
51
...ock.tests/src/org/eclipse/vorto/editor/functionblock/tests/FunctionblockParsingTest.xtend
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2014 Bosch Software Innovations GmbH and others. | ||
* All rights reserved. This program and the accompanying materials | ||
* are made available under the terms of the Eclipse Public License v1.0 | ||
* and Eclipse Distribution License v1.0 which accompany this distribution. | ||
* | ||
* The Eclipse Public License is available at | ||
* http://www.eclipse.org/legal/epl-v10.html | ||
* The Eclipse Distribution License is available at | ||
* http://www.eclipse.org/org/documents/edl-v10.php. | ||
* | ||
* Contributors: | ||
* Bosch Software Innovations GmbH - Please refer to git log | ||
* | ||
*******************************************************************************/ | ||
/* | ||
* generated by Xtext | ||
*/ | ||
package org.eclipse.vorto.editor.functionblock.tests | ||
|
||
import com.google.inject.Inject | ||
import org.eclipse.vorto.core.api.model.functionblock.FunctionblockModel | ||
import org.eclipse.vorto.core.api.model.functionblock.impl.FunctionblockPackageImpl | ||
import org.eclipse.xtext.junit4.InjectWith | ||
import org.eclipse.xtext.junit4.XtextRunner | ||
import org.eclipse.xtext.junit4.util.ParseHelper | ||
import org.junit.Assert | ||
import org.junit.BeforeClass | ||
import org.junit.Test | ||
import org.junit.runner.RunWith | ||
|
||
@RunWith(typeof(XtextRunner)) | ||
@InjectWith(typeof(FunctionblockInjectorProvider)) | ||
class FunctionblockParsingTest{ | ||
|
||
@Inject extension ParseHelper<FunctionblockModel> parserHelper; | ||
|
||
@BeforeClass | ||
def static void initializeModel() { | ||
FunctionblockPackageImpl.init(); | ||
} | ||
|
||
@Test | ||
def void loadModel() { | ||
val result = parserHelper.parse(''' | ||
Hello Xtext! | ||
''') | ||
Assert.assertNotNull(result) | ||
} | ||
|
||
} |
4 changes: 2 additions & 2 deletions
4
.../eclipse/vorto/editor/functionblock/tests/formatter/FunctionblockModelFormatterTest.xtend
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
64 changes: 32 additions & 32 deletions
64
bundles/org.eclipse.vorto.editor.functionblock.ui/META-INF/MANIFEST.MF
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,32 @@ | ||
Manifest-Version: 1.0 | ||
Bundle-ManifestVersion: 2 | ||
Bundle-Name: Vorto Functionblock Editor UI (Incubation) | ||
Bundle-Vendor: Eclipse.org/Vorto | ||
Bundle-Version: 0.9.0.qualifier | ||
Bundle-SymbolicName: org.eclipse.vorto.editor.functionblock.ui;singleton:=true | ||
Bundle-ActivationPolicy: lazy | ||
Require-Bundle: org.eclipse.xtext.ui, | ||
org.eclipse.ui.editors;bundle-version="3.5.0", | ||
org.eclipse.ui.ide;bundle-version="3.5.0", | ||
org.eclipse.xtext.ui.shared, | ||
org.eclipse.ui, | ||
org.eclipse.xtext.builder, | ||
org.antlr.runtime, | ||
org.eclipse.xtext.common.types.ui, | ||
org.eclipse.xtext.ui.codetemplates.ui, | ||
org.eclipse.compare, | ||
org.eclipse.vorto.editor.datatype, | ||
org.eclipse.vorto.editor.datatype.ui, | ||
org.eclipse.vorto.editor.functionblock, | ||
org.eclipse.vorto.core, | ||
org.eclipse.xtext.xbase.lib | ||
Bundle-RequiredExecutionEnvironment: JavaSE-1.8 | ||
Export-Package: org.eclipse.vorto.editor.functionblock.ui,org.eclipse. | ||
vorto.editor.functionblock.ui.contentassist,org.eclipse.vorto.editor. | ||
functionblock.ui.contentassist.antlr,org.eclipse.vorto.editor.functio | ||
nblock.ui.contentassist.antlr.internal,org.eclipse.vorto.editor.funct | ||
ionblock.ui.internal,org.eclipse.vorto.editor.functionblock.ui.quickf | ||
ix | ||
Bundle-ClassPath: templates/,.,icons/ | ||
Import-Package: org.apache.log4j | ||
Bundle-Activator: org.eclipse.vorto.editor.functionblock.ui.internal.FunctionblockActivator | ||
Manifest-Version: 1.0 | ||
Bundle-ManifestVersion: 2 | ||
Bundle-Name: Vorto Functionblock Editor UI (Incubation) | ||
Bundle-Vendor: Eclipse.org/Vorto | ||
Bundle-Version: 0.9.0.qualifier | ||
Bundle-SymbolicName: org.eclipse.vorto.editor.functionblock.ui;singleton:=true | ||
Bundle-ActivationPolicy: lazy | ||
Require-Bundle: org.eclipse.xtext.ui, | ||
org.eclipse.ui.editors;bundle-version="3.5.0", | ||
org.eclipse.ui.ide;bundle-version="3.5.0", | ||
org.eclipse.xtext.ui.shared, | ||
org.eclipse.ui, | ||
org.eclipse.xtext.builder, | ||
org.antlr.runtime, | ||
org.eclipse.xtext.common.types.ui, | ||
org.eclipse.xtext.ui.codetemplates.ui, | ||
org.eclipse.compare, | ||
org.eclipse.vorto.editor.datatype, | ||
org.eclipse.vorto.editor.datatype.ui, | ||
org.eclipse.vorto.editor.functionblock, | ||
org.eclipse.vorto.editor.functionblock.ide, | ||
org.eclipse.vorto.core, | ||
org.eclipse.xtext.xbase.lib, | ||
org.eclipse.xtend.lib;resolution:=optional | ||
Bundle-RequiredExecutionEnvironment: JavaSE-1.8 | ||
Export-Package: org.eclipse.vorto.editor.functionblock.ui, | ||
org.eclipse.vorto.editor.functionblock.ui.contentassist, | ||
org.eclipse.vorto.editor.functionblock.ui.internal, | ||
org.eclipse.vorto.editor.functionblock.ui.quickfix | ||
Bundle-ClassPath: templates/,.,icons/ | ||
Import-Package: org.apache.log4j | ||
Bundle-Activator: org.eclipse.vorto.editor.functionblock.ui.internal.FunctionblockActivator |
22 changes: 9 additions & 13 deletions
22
...nctionblock/ui/FunctionblockUiModule.java → ...ctionblock/ui/FunctionblockUiModule.xtend
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,28 @@ | ||
/** | ||
* Copyright (c) 2015-2016 Bosch Software Innovations GmbH and others. | ||
/** | ||
* Copyright (c) 2015 Bosch Software Innovations GmbH and others. | ||
* All rights reserved. This program and the accompanying materials | ||
* are made available under the terms of the Eclipse Public License v1.0 | ||
* and Eclipse Distribution License v1.0 which accompany this distribution. | ||
* | ||
* The Eclipse Public License is available at | ||
* http://www.eclipse.org/legal/epl-v10.html | ||
* The Eclipse Distribution License is available at | ||
* http://www.eclipse.org/org/documents/edl-v10.php. | ||
* | ||
* Contributors: | ||
* Bosch Software Innovations GmbH - Please refer to git log | ||
*/ | ||
package | ||
/* | ||
* generated by Xtext | ||
*/ | ||
package org.eclipse.vorto.editor.functionblock.ui; | ||
org.eclipse.vorto.editor.functionblock.ui | ||
|
||
import org.eclipse.ui.plugin.AbstractUIPlugin; | ||
import org.eclipse.ui.plugin.AbstractUIPlugin | ||
|
||
/** | ||
* | ||
* | ||
/** | ||
* Use this class to register components to be used within the IDE. | ||
*/ | ||
public class FunctionblockUiModule extends | ||
org.eclipse.vorto.editor.functionblock.ui.AbstractFunctionblockUiModule { | ||
public FunctionblockUiModule(AbstractUIPlugin plugin) { | ||
super(plugin); | ||
class FunctionblockUiModule extends org.eclipse.vorto.editor.functionblock.ui.AbstractFunctionblockUiModule { | ||
new(AbstractUIPlugin plugin) { | ||
super(plugin) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/WebRoot/ |
Oops, something went wrong.