Commit 876c62fe authored by Alvaro Veizaga's avatar Alvaro Veizaga
Browse files

Updating xtext rimay code

parent 50e24f7d
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="src-gen"/>
<classpathentry kind="src" path="xtend-gen"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="output" path="bin"/>
</classpath>
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.xtext.dsl_rimay.ide</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.xtext.ui.shared.xtextBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.SchemaBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.xtext.ui.shared.xtextNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.pde.PluginNature</nature>
</natures>
</projectDescription>
Manifest-Version: 1.0
Automatic-Module-Name: org.xtext.dsl_rimay.ide
Bundle-ManifestVersion: 2
Bundle-Name: org.xtext.dsl_rimay.ide
Bundle-Vendor: My Company
Bundle-Version: 1.0.0.qualifier
Bundle-SymbolicName: org.xtext.dsl_rimay.ide; singleton:=true
Bundle-ActivationPolicy: lazy
Require-Bundle: org.xtext.dsl_rimay,
org.eclipse.xtext.ide,
org.eclipse.xtext.xbase.ide,
org.antlr.runtime;bundle-version="[3.2.0,3.2.1)"
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Export-Package: org.xtext.ide.contentassist.antlr,
org.xtext.ide.contentassist.antlr.internal
source.. = src/,\
src-gen/,\
xtend-gen/
bin.includes = .,\
META-INF/
bin.excludes = **/*.xtend
/*
* generated by Xtext 2.17.0
*/
package org.xtext.ide
/**
* Use this class to register ide components.
*/
class Dsl_rimayIdeModule extends AbstractDsl_rimayIdeModule {
}
/*
* generated by Xtext 2.17.0
*/
package org.xtext.ide
import com.google.inject.Guice
import org.eclipse.xtext.util.Modules2
import org.xtext.Dsl_rimayRuntimeModule
import org.xtext.Dsl_rimayStandaloneSetup
/**
* Initialization support for running Xtext languages as language servers.
*/
class Dsl_rimayIdeSetup extends Dsl_rimayStandaloneSetup {
override createInjector() {
Guice.createInjector(Modules2.mixin(new Dsl_rimayRuntimeModule, new Dsl_rimayIdeModule))
}
}
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="src-gen"/>
<classpathentry kind="src" path="xtend-gen"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="output" path="bin"/>
</classpath>
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.xtext.dsl_rimay.ui</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.xtext.ui.shared.xtextBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.SchemaBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.xtext.ui.shared.xtextNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.pde.PluginNature</nature>
</natures>
</projectDescription>
Manifest-Version: 1.0
Automatic-Module-Name: org.xtext.dsl_rimay.ui
Bundle-ManifestVersion: 2
Bundle-Name: org.xtext.dsl_rimay.ui
Bundle-Vendor: My Company
Bundle-Version: 1.0.0.qualifier
Bundle-SymbolicName: org.xtext.dsl_rimay.ui; singleton:=true
Bundle-ActivationPolicy: lazy
Require-Bundle: org.xtext.dsl_rimay,
org.xtext.dsl_rimay.ide,
org.eclipse.xtext.ui,
org.eclipse.xtext.ui.shared,
org.eclipse.xtext.ui.codetemplates.ui,
org.eclipse.ui.editors;bundle-version="3.5.0",
org.eclipse.ui.ide;bundle-version="3.5.0",
org.eclipse.ui,
org.eclipse.compare,
org.eclipse.xtext.builder,
org.eclipse.xtext.xbase.lib;bundle-version="2.14.0",org.eclipse.xtend.lib;bundle-version="2.14.0";resolution:=optional
Import-Package: org.apache.log4j
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Export-Package: org.xtext.ui.contentassist,
org.xtext.dsl_rimay.ui.internal,
org.xtext.ui.quickfix
Bundle-Activator: org.xtext.dsl_rimay.ui.internal.Dsl_rimayActivator
source.. = src/,\
src-gen/,\
xtend-gen/
bin.includes = .,\
META-INF/,\
plugin.xml
bin.excludes = **/*.xtend
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin>
<extension
point="org.eclipse.ui.editors">
<editor
class="org.xtext.ui.Dsl_rimayExecutableExtensionFactory:org.eclipse.xtext.ui.editor.XtextEditor"
contributorClass="org.eclipse.ui.editors.text.TextEditorActionContributor"
default="true"
extensions="rimay"
id="org.xtext.Dsl_rimay"
name="Dsl_rimay Editor">
</editor>
</extension>
<extension
point="org.eclipse.ui.handlers">
<handler
class="org.xtext.ui.Dsl_rimayExecutableExtensionFactory:org.eclipse.xtext.ui.editor.hyperlinking.OpenDeclarationHandler"
commandId="org.eclipse.xtext.ui.editor.hyperlinking.OpenDeclaration">
<activeWhen>
<reference
definitionId="org.xtext.Dsl_rimay.Editor.opened">
</reference>
</activeWhen>
</handler>
<handler
class="org.xtext.ui.Dsl_rimayExecutableExtensionFactory:org.eclipse.xtext.ui.editor.handler.ValidateActionHandler"
commandId="org.xtext.Dsl_rimay.validate">
<activeWhen>
<reference
definitionId="org.xtext.Dsl_rimay.Editor.opened">
</reference>
</activeWhen>
</handler>
<!-- copy qualified name -->
<handler
class="org.xtext.ui.Dsl_rimayExecutableExtensionFactory:org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedNameHandler"
commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedName">
<activeWhen>
<reference definitionId="org.xtext.Dsl_rimay.Editor.opened" />
</activeWhen>
</handler>
<handler
class="org.xtext.ui.Dsl_rimayExecutableExtensionFactory:org.eclipse.xtext.ui.editor.copyqualifiedname.OutlineCopyQualifiedNameHandler"
commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.OutlineCopyQualifiedName">
<activeWhen>
<and>
<reference definitionId="org.xtext.Dsl_rimay.XtextEditor.opened" />
<iterate>
<adapt type="org.eclipse.xtext.ui.editor.outline.IOutlineNode" />
</iterate>
</and>
</activeWhen>
</handler>
</extension>
<extension point="org.eclipse.core.expressions.definitions">
<definition id="org.xtext.Dsl_rimay.Editor.opened">
<and>
<reference definitionId="isActiveEditorAnInstanceOfXtextEditor"/>
<with variable="activeEditor">
<test property="org.eclipse.xtext.ui.editor.XtextEditor.languageName"
value="org.xtext.Dsl_rimay"
forcePluginActivation="true"/>
</with>
</and>
</definition>
<definition id="org.xtext.Dsl_rimay.XtextEditor.opened">
<and>
<reference definitionId="isXtextEditorActive"/>
<with variable="activeEditor">
<test property="org.eclipse.xtext.ui.editor.XtextEditor.languageName"
value="org.xtext.Dsl_rimay"
forcePluginActivation="true"/>
</with>
</and>
</definition>
</extension>
<extension
point="org.eclipse.ui.preferencePages">
<page
class="org.xtext.ui.Dsl_rimayExecutableExtensionFactory:org.eclipse.xtext.ui.editor.preferences.LanguageRootPreferencePage"
id="org.xtext.Dsl_rimay"
name="Dsl_rimay">
<keywordReference id="org.xtext.ui.keyword_Dsl_rimay"/>
</page>
<page
category="org.xtext.Dsl_rimay"
class="org.xtext.ui.Dsl_rimayExecutableExtensionFactory:org.eclipse.xtext.ui.editor.syntaxcoloring.SyntaxColoringPreferencePage"
id="org.xtext.Dsl_rimay.coloring"
name="Syntax Coloring">
<keywordReference id="org.xtext.ui.keyword_Dsl_rimay"/>
</page>
<page
category="org.xtext.Dsl_rimay"
class="org.xtext.ui.Dsl_rimayExecutableExtensionFactory:org.eclipse.xtext.ui.editor.templates.XtextTemplatePreferencePage"
id="org.xtext.Dsl_rimay.templates"
name="Templates">
<keywordReference id="org.xtext.ui.keyword_Dsl_rimay"/>
</page>
</extension>
<extension
point="org.eclipse.ui.propertyPages">
<page
class="org.xtext.ui.Dsl_rimayExecutableExtensionFactory:org.eclipse.xtext.ui.editor.preferences.LanguageRootPreferencePage"
id="org.xtext.Dsl_rimay"
name="Dsl_rimay">
<keywordReference id="org.xtext.ui.keyword_Dsl_rimay"/>
<enabledWhen>
<adapt type="org.eclipse.core.resources.IProject"/>
</enabledWhen>
<filter name="projectNature" value="org.eclipse.xtext.ui.shared.xtextNature"/>
</page>
</extension>
<extension
point="org.eclipse.ui.keywords">
<keyword
id="org.xtext.ui.keyword_Dsl_rimay"
label="Dsl_rimay"/>
</extension>
<extension
point="org.eclipse.ui.commands">
<command
description="Trigger expensive validation"
id="org.xtext.Dsl_rimay.validate"
name="Validate">
</command>
<!-- copy qualified name -->
<command
id="org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedName"
categoryId="org.eclipse.ui.category.edit"
description="Copy the qualified name for the selected element"
name="Copy Qualified Name">
</command>
<command
id="org.eclipse.xtext.ui.editor.copyqualifiedname.OutlineCopyQualifiedName"
categoryId="org.eclipse.ui.category.edit"
description="Copy the qualified name for the selected element"
name="Copy Qualified Name">
</command>
</extension>
<extension point="org.eclipse.ui.menus">
<menuContribution
locationURI="popup:#TextEditorContext?after=group.edit">
<command
commandId="org.xtext.Dsl_rimay.validate"
style="push"
tooltip="Trigger expensive validation">
<visibleWhen checkEnabled="false">
<reference
definitionId="org.xtext.Dsl_rimay.Editor.opened">
</reference>
</visibleWhen>
</command>
</menuContribution>
<!-- copy qualified name -->
<menuContribution locationURI="popup:#TextEditorContext?after=copy">
<command commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedName"
style="push" tooltip="Copy Qualified Name">
<visibleWhen checkEnabled="false">
<reference definitionId="org.xtext.Dsl_rimay.Editor.opened" />
</visibleWhen>
</command>
</menuContribution>
<menuContribution locationURI="menu:edit?after=copy">
<command commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedName"
style="push" tooltip="Copy Qualified Name">
<visibleWhen checkEnabled="false">
<reference definitionId="org.xtext.Dsl_rimay.Editor.opened" />
</visibleWhen>
</command>
</menuContribution>
<menuContribution locationURI="popup:org.eclipse.xtext.ui.outline?after=additions">
<command commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.OutlineCopyQualifiedName"
style="push" tooltip="Copy Qualified Name">
<visibleWhen checkEnabled="false">
<and>
<reference definitionId="org.xtext.Dsl_rimay.XtextEditor.opened" />
<iterate>
<adapt type="org.eclipse.xtext.ui.editor.outline.IOutlineNode" />
</iterate>
</and>
</visibleWhen>
</command>
</menuContribution>
</extension>
<extension point="org.eclipse.ui.menus">
<menuContribution locationURI="popup:#TextEditorContext?endof=group.find">
<command commandId="org.eclipse.xtext.ui.editor.FindReferences">
<visibleWhen checkEnabled="false">
<reference definitionId="org.xtext.Dsl_rimay.Editor.opened">
</reference>
</visibleWhen>
</command>
</menuContribution>
</extension>
<extension point="org.eclipse.ui.handlers">
<handler
class="org.xtext.ui.Dsl_rimayExecutableExtensionFactory:org.eclipse.xtext.ui.editor.findrefs.FindReferencesHandler"
commandId="org.eclipse.xtext.ui.editor.FindReferences">
<activeWhen>
<reference
definitionId="org.xtext.Dsl_rimay.Editor.opened">
</reference>
</activeWhen>
</handler>
</extension>
<extension point="org.eclipse.core.contenttype.contentTypes">
<content-type
base-type="org.eclipse.core.runtime.text"
file-extensions="rimay"
id="org.xtext.Dsl_rimay.contenttype"
name="Dsl_rimay File"
priority="normal">
</content-type>
</extension>
<!-- adding resource factories -->
<extension
point="org.eclipse.emf.ecore.extension_parser">
<parser
class="org.xtext.ui.Dsl_rimayExecutableExtensionFactory:org.eclipse.xtext.resource.IResourceFactory"
type="rimay">
</parser>
</extension>
<extension point="org.eclipse.xtext.extension_resourceServiceProvider">
<resourceServiceProvider
class="org.xtext.ui.Dsl_rimayExecutableExtensionFactory:org.eclipse.xtext.ui.resource.IResourceUIServiceProvider"
uriExtension="rimay">
</resourceServiceProvider>
</extension>
<!-- marker definitions for org.xtext.Dsl_rimay -->
<extension
id="dsl_rimay.check.fast"
name="Dsl_rimay Problem"
point="org.eclipse.core.resources.markers">
<super type="org.eclipse.xtext.ui.check.fast"/>
<persistent value="true"/>
</extension>
<extension
id="dsl_rimay.check.normal"
name="Dsl_rimay Problem"
point="org.eclipse.core.resources.markers">
<super type="org.eclipse.xtext.ui.check.normal"/>
<persistent value="true"/>
</extension>
<extension
id="dsl_rimay.check.expensive"
name="Dsl_rimay Problem"
point="org.eclipse.core.resources.markers">
<super type="org.eclipse.xtext.ui.check.expensive"/>
<persistent value="true"/>
</extension>
<extension point="org.eclipse.ui.preferencePages">
<page
category="org.xtext.Dsl_rimay"
class="org.xtext.ui.Dsl_rimayExecutableExtensionFactory:org.eclipse.xtext.ui.validation.ValidatorPreferencePage"
id="org.xtext.Dsl_rimay.validator.preferencePage"
name="Errors/Warnings">
<keywordReference id="org.xtext.ui.keyword_Dsl_rimay"/>
</page>
</extension>
<extension point="org.eclipse.xtext.builder.participant">
<participant
class="org.xtext.ui.Dsl_rimayExecutableExtensionFactory:org.eclipse.xtext.builder.IXtextBuilderParticipant"
fileExtensions="rimay"/>
</extension>
<extension point="org.eclipse.ui.preferencePages">
<page
category="org.xtext.Dsl_rimay"
class="org.xtext.ui.Dsl_rimayExecutableExtensionFactory:org.eclipse.xtext.builder.preferences.BuilderPreferencePage"
id="org.xtext.Dsl_rimay.compiler.preferencePage"
name="Compiler">
<keywordReference id="org.xtext.ui.keyword_Dsl_rimay"/>
</page>
</extension>
<extension point="org.eclipse.ui.propertyPages">
<page
category="org.xtext.Dsl_rimay"
class="org.xtext.ui.Dsl_rimayExecutableExtensionFactory:org.eclipse.xtext.builder.preferences.BuilderPreferencePage"
id="org.xtext.Dsl_rimay.compiler.propertyPage"
name="Compiler">
<keywordReference id="org.xtext.ui.keyword_Dsl_rimay"/>
<enabledWhen>
<adapt type="org.eclipse.core.resources.IProject"/>
</enabledWhen>
<filter name="projectNature" value="org.eclipse.xtext.ui.shared.xtextNature"/>
</page>
</extension>
<extension point="org.eclipse.ui.menus">
<menuContribution locationURI="popup:#TextEditorContext?after=xtext.ui.openDeclaration">
<command
commandId="org.eclipse.xtext.ui.OpenGeneratedFileCommand"
id="org.xtext.Dsl_rimay.OpenGeneratedCode"
style="push">
<visibleWhen checkEnabled="false">
<reference definitionId="org.xtext.Dsl_rimay.Editor.opened" />
</visibleWhen>
</command>
</menuContribution>
</extension>
<extension point="org.eclipse.ui.handlers">
<handler
class="org.xtext.ui.Dsl_rimayExecutableExtensionFactory:org.eclipse.xtext.ui.generator.trace.OpenGeneratedFileHandler"
commandId="org.eclipse.xtext.ui.OpenGeneratedFileCommand">
<activeWhen>
<reference definitionId="org.xtext.Dsl_rimay.Editor.opened" />
</activeWhen>
</handler>
</extension>
<!-- Quick Outline -->
<extension
point="org.eclipse.ui.handlers">
<handler
class="org.xtext.ui.Dsl_rimayExecutableExtensionFactory:org.eclipse.xtext.ui.editor.outline.quickoutline.ShowQuickOutlineActionHandler"
commandId="org.eclipse.xtext.ui.editor.outline.QuickOutline">
<activeWhen>
<reference
definitionId="org.xtext.Dsl_rimay.Editor.opened">
</reference>
</activeWhen>
</handler>
</extension>
<extension
point="org.eclipse.ui.commands">
<command
description="Open the quick outline."
id="org.eclipse.xtext.ui.editor.outline.QuickOutline"
name="Quick Outline">
</command>
</extension>
<extension point="org.eclipse.ui.menus">
<menuContribution
locationURI="popup:#TextEditorContext?after=group.open">
<command commandId="org.eclipse.xtext.ui.editor.outline.QuickOutline"
style="push"
tooltip="Open Quick Outline">
<visibleWhen checkEnabled="false">
<reference definitionId="org.xtext.Dsl_rimay.Editor.opened"/>
</visibleWhen>
</command>
</menuContribution>
</extension>
<!-- quickfix marker resolution generator for org.xtext.Dsl_rimay -->
<extension
point="org.eclipse.ui.ide.markerResolution">
<markerResolutionGenerator
class="org.xtext.ui.Dsl_rimayExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator"
markerType="org.xtext.dsl_rimay.ui.dsl_rimay.check.fast">
<attribute
name="FIXABLE_KEY"
value="true">
</attribute>
</markerResolutionGenerator>
<markerResolutionGenerator
class="org.xtext.ui.Dsl_rimayExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator"
markerType="org.xtext.dsl_rimay.ui.dsl_rimay.check.normal">
<attribute
name="FIXABLE_KEY"
value="true">
</attribute>
</markerResolutionGenerator>
<markerResolutionGenerator
class="org.xtext.ui.Dsl_rimayExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator"
markerType="org.xtext.dsl_rimay.ui.dsl_rimay.check.expensive">
<attribute
name="FIXABLE_KEY"
value="true">
</attribute>
</markerResolutionGenerator>
</extension>
<!-- Rename Refactoring -->
<extension point="org.eclipse.ui.handlers">
<handler
class="org.xtext.ui.Dsl_rimayExecutableExtensionFactory:org.eclipse.xtext.ui.refactoring.ui.DefaultRenameElementHandler"
commandId="org.eclipse.xtext.ui.refactoring.RenameElement">
<activeWhen>
<reference
definitionId="org.xtext.Dsl_rimay.Editor.opened">
</reference>
</activeWhen>
</handler>
</extension>
<extension point="org.eclipse.ui.menus">
<menuContribution
locationURI="popup:#TextEditorContext?after=group.edit">
<command commandId="org.eclipse.xtext.ui.refactoring.RenameElement"
style="push">
<visibleWhen checkEnabled="false">
<reference
definitionId="org.xtext.Dsl_rimay.Editor.opened">
</reference>
</visibleWhen>
</command>
</menuContribution>
</extension>
<extension point="org.eclipse.ui.preferencePages">
<page
category="org.xtext.Dsl_rimay"
class="org.xtext.ui.Dsl_rimayExecutableExtensionFactory:org.eclipse.xtext.ui.refactoring.ui.RefactoringPreferencePage"
id="org.xtext.Dsl_rimay.refactoring"
name="Refactoring">
<keywordReference id="org.xtext.ui.keyword_Dsl_rimay"/>
</page>
</extension>
<extension point="org.eclipse.compare.contentViewers">
<viewer id="org.xtext.Dsl_rimay.compare.contentViewers"
class="org.xtext.ui.Dsl_rimayExecutableExtensionFactory:org.eclipse.xtext.ui.compare.InjectableViewerCreator"
extensions="rimay">
</viewer>
<contentTypeBinding
contentTypeId="org.xtext.Dsl_rimay.contenttype"
contentViewerId="org.xtext.Dsl_rimay.compare.contentViewers" />
</extension>
<extension point="org.eclipse.compare.contentMergeViewers">
<viewer id="org.xtext.Dsl_rimay.compare.contentMergeViewers"
class="org.xtext.ui.Dsl_rimayExecutableExtensionFactory:org.eclipse.xtext.ui.compare.InjectableViewerCreator"
extensions="rimay" label="Dsl_rimay Compare">
</viewer>
<contentTypeBinding
contentTypeId="org.xtext.Dsl_rimay.contenttype"
contentMergeViewerId="org.xtext.Dsl_rimay.compare.contentMergeViewers" />
</extension>
<extension point="org.eclipse.ui.editors.documentProviders">
<provider id="org.xtext.Dsl_rimay.editors.documentProviders"
class="org.xtext.ui.Dsl_rimayExecutableExtensionFactory:org.eclipse.xtext.ui.editor.model.XtextDocumentProvider"
extensions="rimay">
</provider>
</extension>
<extension point="org.eclipse.team.core.fileTypes">
<fileTypes
extension="rimay"
type="text">
</fileTypes>