You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by pk...@apache.org on 2013/07/17 10:28:08 UTC

svn commit: r1504047 [2/17] - in /uima/sandbox/ruta/trunk/ruta-ep-ide-ui: ./ icons/ schema/ src/ src/main/ src/main/java/ src/main/java/org/ src/main/java/org/apache/ src/main/java/org/apache/uima/ src/main/java/org/apache/uima/ruta/ src/main/java/org/...

Added: uima/sandbox/ruta/trunk/ruta-ep-ide-ui/plugin.xml
URL: http://svn.apache.org/viewvc/uima/sandbox/ruta/trunk/ruta-ep-ide-ui/plugin.xml?rev=1504047&view=auto
==============================================================================
--- uima/sandbox/ruta/trunk/ruta-ep-ide-ui/plugin.xml (added)
+++ uima/sandbox/ruta/trunk/ruta-ep-ide-ui/plugin.xml Wed Jul 17 08:28:02 2013
@@ -0,0 +1,1231 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<?eclipse version="3.4"?>
+<plugin
+>
+  <extension-point id="rutaCommandProcessor" name="rutaCommandProcessor" schema="schema/rutaCommandProcessor.exsd"/>
+   <extension-point id="rutaCommandDetector" name="rutaCommandDetector" schema="schema/rutaCommandDetector.exsd"/>
+   <extension-point id="rutakeywords" name="rutakeywords" schema="schema/rutakeywords.exsd"/>
+   <extension-point id="rutaExtension" name="rutaExtension" schema="schema/rutaExtension.exsd"/>
+   <extension-point id="conditionExtension" name="conditionExtension" schema="schema/conditionExtension.exsd"/>
+   <extension-point id="actionExtension" name="actionExtension" schema="schema/actionExtension.exsd"/>
+   <extension-point id="engineExtension" name="engineExtension" schema="schema/engineExtension.exsd"/>
+   <extension-point id="booleanFunctionExtension" name="booleanFunctionExtension" schema="schema/booleanFunctionExtension.exsd"/>
+   <extension-point id="typeFunctionExtension" name="typeFunctionExtension" schema="schema/typeFunctionExtension.exsd"/>
+   <extension-point id="numberFunctionExtension" name="numberFunctionExtension" schema="schema/numberFunctionExtension.exsd"/>
+   <extension-point id="stringFunctionExtension" name="stringFunctionExtension" schema="schema/stringFunctionExtension.exsd"/>
+   <extension-point id="rutaSemanticHighlighting" name="rutaSemanticHighlighting" schema="schema/rutaSemanticHighlighting.exsd"/>
+   <extension-point id="rutaTestEngine" name="rutaTestEngine" schema="schema/rutaTestEngine.exsd"/>
+   
+   <extension
+         point="org.eclipse.core.runtime.preferences">
+      <initializer
+            class="org.apache.uima.ruta.ide.debug.RutaDebugPreferenceInitializer">
+      </initializer>
+      <initializer
+            class="org.apache.uima.ruta.ide.ui.preferences.RutaConsolePreferenceInitializer">
+      </initializer>
+      <initializer
+            class="org.apache.uima.ruta.ide.ui.RutaUIPreferenceInitializer">
+      </initializer>
+   </extension>
+   <extension
+         point="org.eclipse.dltk.debug.scriptDebugModel">
+      <debugModel
+            debugModelId="org.eclipse.dltk.debug.rutaModel"
+            natureId="org.apache.uima.ruta.ide.core.RutaNature"
+            typeFactory="org.apache.uima.ruta.ide.debug.RutaTypeFactory">
+      </debugModel>
+   </extension>
+  
+  <extension point="org.eclipse.ui.viewActions">
+    <viewContribution
+      targetID="org.eclipse.debug.ui.VariableView"
+      id="org.eclipse.jdt.debug.ui.VariableViewActions">
+      <action
+        style="toggle"
+        id="org.eclipse.jdt.debug.ui.variableViewActions.ShowStatic"
+        class="org.apache.uima.ruta.ide.ui.console.ShowFunctionsAction"
+        helpContextId="show_functions_context"
+        icon="icons/ruta.png"
+        label="%showStaticAction.label"
+        menubarPath="org.apache.uima.ruta.ide.debug.ui.menu.VariableView/ruta"
+        tooltip="%showStaticAction.tooltip">
+      </action>
+    </viewContribution>
+  </extension>
+  
+  <extension point="org.eclipse.dltk.ui.editorTextHovers">
+    <hover
+      label="%RutaVariableHoverLabel"
+      description="%RutaVariableHoverDescription"
+      class="org.apache.uima.ruta.ide.debug.ui.RutaDebugHover"
+      id="org.apache.uima.ruta.ide.debug.ui.RutaDebugHover">
+    </hover>
+  </extension>
+
+  <extension point="org.eclipse.debug.ui.launchConfigurationTabGroups">
+    <launchConfigurationTabGroup
+      type="org.apache.uima.ruta.ide.launching.RutaLaunchConfigurationType"
+      class="org.apache.uima.ruta.ide.debug.ui.launchConfiguration.RutaTabGroup"
+      id="org.apache.uima.ruta.ide.debug.ui.launchConfiguration.RutaTabGroup">
+      <launchMode
+        mode="debug"
+        perspective="org.eclipse.debug.ui.DebugPerspective"
+        description="Debug Ruta">
+      </launchMode>
+      <launchMode
+        mode="run"
+        description="Run Ruta">
+      </launchMode>
+    </launchConfigurationTabGroup>
+  </extension>
+
+
+  <extension point="org.eclipse.debug.ui.launchConfigurationTypeImages">
+    <launchConfigurationTypeImage
+      icon="icons/ruta.png"
+      configTypeID="org.apache.uima.ruta.ide.launching.RutaLaunchConfigurationType"
+      id="org.apache.uima.ruta.ide.debug.ui.launchConfigurationTypeImage.localRutaScript">
+    </launchConfigurationTypeImage>
+    <!--launchConfigurationTypeImage
+      configTypeID="org.apache.uima.ruta.ide.launching.RutaRemoteLaunchConfigurationType"
+      icon="icons/ruta.png"
+      id="org.apache.uima.ruta.ide.debug.ui.launchConfigurationTypeImage.remoteRutaScript">
+      </launchConfigurationTypeImage-->
+  </extension>
+
+  <extension point="org.eclipse.debug.ui.launchShortcuts">
+    <shortcut
+      class="org.apache.uima.ruta.ide.debug.ui.launcher.RutaLaunchShortcut"
+      icon="icons/ruta.png"
+      id="org.apache.uima.ruta.ide.debug.ui.launchShortcut"
+      label="UIMA Ruta"
+      modes="run, debug">
+      <contextualLaunch>
+        <enablement>
+          <with variable="selection">
+            <count value="1" />
+            <iterate>
+              <or>
+                <test
+                  property="org.eclipse.dltk.launching.hasProjectNature"
+                  args="org.apache.uima.ruta.ide.nature" />
+              </or>
+            </iterate>
+          </with>
+        </enablement>
+      </contextualLaunch>
+      <perspective id="org.apache.uima.ruta.ide.ui.RutaPerspective">
+      </perspective>
+      <perspective id="org.eclipse.debug.ui.DebugPerspective"></perspective>
+    </shortcut>
+  </extension>
+
+  <extension point="org.eclipse.ui.popupMenus">
+    <objectContribution
+      adaptable="false"
+      id="org.apache.uima.ruta.ide.ui.console.objectContribution1"
+      nameFilter="*"
+      objectClass="org.eclipse.dltk.core.ISourceModule">
+      <action
+        class="org.apache.uima.ruta.ide.ui.console.PasteRutaToConsole"
+        id="org.apache.uima.ruta.ide.ui.console.PasteRutaTextToConsoleAction"
+        label="%RutaConsole.Actions.PasteToRutaConsole" />
+    </objectContribution>
+
+    <viewerContribution
+      id="org.apache.uima.ruta.ide.debug.ui.viewerContribution1"
+      targetID="#RutaEditorContext">
+      <!--action
+        class="org.eclipse.dltk.debug.ui.actions.WatchExpressionAction"
+        id="org.apache.uima.ruta.ide.debug.ui.WatchExpressionAction"
+        label="%WatchVariable"
+        menubarPath="additions"/-->
+      <action
+        id="org.apache.uima.ruta.ide.ui.console.PasteToRutaConsoleAction"
+        label="%RutaConsole.Actions.PasteToRutaConsole"
+        menubarPath="additions"
+        class="org.apache.uima.ruta.ide.ui.console.PasteRutaTextToConsoleAction">
+      </action>
+    </viewerContribution>
+    <viewerContribution
+      id="org.apache.uima.ruta.ide.debug.ui.rulerContribution"
+      targetID="#RutaRulerContext">
+      <action
+        class="org.eclipse.dltk.debug.ui.actions.RulerToggleWatchPointActionDelegate"
+        icon="icons/jwatch_obj.gif"
+        id="ruta.doubleClickWatchPointAction"
+        label="Toggle Watchpoint"
+        menubarPath="debug"
+        style="push">
+      </action>
+      <action
+        label="%EnableDisableBreakpoint.label"
+        id="org.apache.uima.ruta.ide.ui.actions.RulerEnableDisableBreakpointActionDelegate"
+        class="org.eclipse.debug.ui.actions.RulerEnableDisableBreakpointActionDelegate"
+        menubarPath="debug">
+      </action>
+
+      <action
+        label="%ToggleBreakpoint.label"
+        id="org.apache.uima.ruta.ide.ui.actions.RulerToggleBreakpointActionDelegate"
+        class="org.eclipse.debug.ui.actions.RulerToggleBreakpointActionDelegate"
+        menubarPath="debug">
+      </action>
+
+      <action
+        class="org.eclipse.dltk.debug.ui.actions.ScriptBreakpointPropertiesRulerActionDelegate"
+        id="org.apache.uima.ruta.ide.debug.ui.ScriptBreakpointPropertiesRulerActionDelegate"
+        label="%BreakpointProperties.label"
+        menubarPath="group.properties" />
+    </viewerContribution>
+    
+    <viewerContribution
+      targetID="#RutaEditorContext"
+      id="org.eclipse.dltk.debug.ui.DebugPopupActions">
+      <visibility>
+        <and>
+          <systemProperty
+            name="org.eclipse.dltk.debug.ui.debuggerActive"
+            value="true">
+          </systemProperty>
+          <objectClass name="org.eclipse.jface.text.ITextSelection">
+          </objectClass>
+        </and>
+      </visibility>
+      <action
+        label="%ScriptWatch.label"
+        icon="/icons/watch_exp.gif"
+        class="org.eclipse.dltk.internal.debug.ui.actions.ScriptWatchAction"
+        menubarPath="additions"
+        id="org.apache.uima.ruta.ide.debug.ui.ScriptWatch">
+      </action>
+      <action
+        label="%ScriptInspect.label"
+        icon="/icons/insp_sbook.gif"
+        definitionId="org.eclipse.dlkt.debug.ui.commands.ScriptInspect"
+        class="org.eclipse.dltk.internal.debug.ui.actions.PopupScriptInspectAction"
+        menubarPath="additions"
+        id="org.apache.uima.ruta.ide.debug.ui.ScriptInspect">
+      </action>
+      <action
+        label="%ScriptDisplay.label"
+        icon="/icons/disp_sbook.gif"
+        definitionId="org.eclipse.dlkt.debug.ui.commands.ScriptDisplay"
+        class="org.eclipse.dltk.internal.debug.ui.actions.PopupScriptDisplayAction"
+        menubarPath="additions"
+        id="org.apache.uima.ruta.ide.debug.ui.ScriptDisplay">
+      </action>
+    </viewerContribution>
+  </extension>
+
+  <extension point="org.eclipse.ui.actionSetPartAssociations">
+    <actionSetPartAssociation
+      targetID="org.eclipse.debug.ui.launchActionSet">
+      <part id="org.apache.uima.ruta.ide.ui.editor.RutaEditor"></part>
+    </actionSetPartAssociation>
+  </extension>
+  <extension point="org.eclipse.ui.actionSetPartAssociations">
+    <actionSetPartAssociation
+      targetID="org.eclipse.debug.ui.launchActionSet">
+      <part id="org.eclipse.dltk.ui.ScriptExplorer"></part>
+      <part id="org.apache.uima.ruta.ide.ui.editor.RutaEditor"></part>
+    </actionSetPartAssociation>
+  </extension>
+  <extension point="org.eclipse.ui.console.consolePatternMatchListeners">
+    <consolePatternMatchListener
+      class="org.apache.uima.ruta.ide.ui.console.RutaConsoleTracker"
+      regex="\(file &quot;.*&quot; line .*\)"
+      id="org.apache.uima.ruta.ide.debug.ui.RutaConsoleTracker">
+      <enablement>
+        <or>
+          <test
+            property="org.eclipse.debug.ui.processTypeTest"
+            value="rutaInterpreter" />
+        </or>
+      </enablement>
+    </consolePatternMatchListener>
+
+  </extension>
+  <!--extension
+    point="org.eclipse.debug.ui.launchConfigurationTabGroups">
+    <launchConfigurationTabGroup
+    type="org.apache.uima.ruta.ide.launching.localRutaApplication"
+    class="org.apache.uima.ruta.ide.debug.ui.launchConfiguration.RutaTabGroup"
+    id="org.apache.uima.ruta.ide.debug.ui.RutaTabGroup">
+    <launchMode 
+    mode="debug"
+    perspective="org.eclipse.debug.ui.DebugPerspective"
+    description="Debug">
+    </launchMode>
+    </launchConfigurationTabGroup>
+    </extension-->   
+
+  <extension point="org.eclipse.ui.editorActions">
+    <editorContribution
+      targetID="org.apache.uima.ruta.ide.ui.editor.RutaEditor"
+      id="org.apache.uima.ruta.ide.debug.RutaEditor.BreakpointRulerActions">
+
+      <action
+        label="Toggle Breakpoint"
+        class="org.eclipse.debug.ui.actions.RulerToggleBreakpointActionDelegate"
+        style="push"
+        actionID="RulerDoubleClick"
+        id="ruta.doubleClickBreakpointAction" />
+
+
+    </editorContribution>
+  </extension>
+  <extension point="org.eclipse.ui.console.consoleFactories">
+    <consoleFactory
+      class="org.apache.uima.ruta.ide.ui.console.RutaConsoleFactory"
+      label="%RutaConsole.Console" />
+  </extension>
+
+  <extension point="org.eclipse.dltk.console.ui.scriptConsole">
+    <scriptConsole
+      class="org.apache.uima.ruta.ide.ui.console.RutaConsoleFactory"
+      natureID="org.apache.uima.ruta.ide.nature" />
+  </extension>
+  <extension point="org.eclipse.dltk.ui.buildpathContainerPage">
+    <buildpathContainerPath
+      class="org.apache.uima.ruta.ide.debug.ui.interpreters.RutaInterpreterContainerWizardPage"
+      id="org.apache.uima.ruta.ide.launching.INTERPRETER_CONTAINER"
+      name="UIMA Ruta Interpreter Libraries"
+      nature="org.apache.uima.ruta.ide.nature" />
+  </extension>
+  <extension point="org.eclipse.ui.perspectiveExtensions">
+    <perspectiveExtension
+      targetID="org.apache.uima.ruta.ide.ui.RutaPerspective">
+      <actionSet id="org.eclipse.debug.ui.breakpointActionSet"></actionSet>
+    </perspectiveExtension>
+  </extension>
+
+  <extension point="org.eclipse.debug.ui.debugModelPresentations">
+    <debugModelPresentation
+      class="org.apache.uima.ruta.ide.debug.ui.RutaDebugModelPresentation"
+      id="org.eclipse.dltk.debug.rutaModel" />
+  </extension>
+
+  <extension point="org.eclipse.debug.core.watchExpressionDelegates">
+    <watchExpressionDelegate
+      debugModel="org.eclipse.dltk.debug.rutaModel"
+      delegateClass="org.eclipse.dltk.debug.internal.core.model.ScriptWatchExpressionDelegate">
+    </watchExpressionDelegate>
+  </extension>
+
+  <extension point="org.eclipse.debug.ui.debugModelContextBindings">
+    <modelContextBinding
+      contextId="org.eclipse.dltk.debug.ui.debugging"
+      debugModelId="org.eclipse.dltk.debug.rutaModel" />
+  </extension>
+
+  <extension point="org.eclipse.core.runtime.adapters">
+    <factory
+      adaptableType="org.apache.uima.ruta.ide.ui.editor.RutaEditor"
+      class="org.apache.uima.ruta.ide.debug.ui.RutaEditorDebugAdapterFactory">
+      <adapter type="org.eclipse.debug.ui.actions.IToggleBreakpointsTarget" />
+      <adapter type="org.eclipse.debug.ui.actions.IRunToLineTarget" />
+    </factory>
+  </extension>
+
+  <extension point="org.eclipse.ui.commands">
+    <command
+      id="org.apache.uima.ruta.ide.debug.ui.commands.toggleGlobalVariables"
+      description="%showGlobalVarsCommand.name"
+      name="%showGlobalVarsCommand.description" />
+    <command
+      id="org.apache.uima.ruta.ide.debug.ui.commands.toggleClassVariables"
+      description="%showClassVarsCommand.name"
+      name="%showClassVarsCommand.description" />
+    <command
+      id="org.apache.uima.ruta.ide.debug.ui.commands.toggleLocalVariables"
+      description="%showLocalVarsCommand.name"
+      name="%showLocalVarsCommand.description" />      
+  </extension>
+
+  <extension point="org.eclipse.ui.menus">
+    <menuContribution locationURI="menu:org.eclipse.debug.ui.VariableView">
+      <menu
+        label="%variablesViewMenu.name"
+        id="org.apache.uima.ruta.ide.debug.ui.menu.VariableView" />
+    </menuContribution>
+    <menuContribution locationURI="menu:org.apache.uima.ruta.ide.debug.ui.menu.VariableView">
+      <command 
+        commandId="org.apache.uima.ruta.ide.debug.ui.commands.toggleGlobalVariables"
+        tooltip="%showGlobalVarsCommand.tooltip"     
+        style="toggle" />
+      <command 
+        commandId="org.apache.uima.ruta.ide.debug.ui.commands.toggleClassVariables"
+        tooltip="%showClassVarsCommand.tooltip"      
+        style="toggle" />       
+      <command 
+        commandId="org.apache.uima.ruta.ide.debug.ui.commands.toggleLocalVariables"
+        tooltip="%showLocalVarsCommand.tooltip" 
+        style="toggle" />                      
+    </menuContribution>  
+  </extension>
+
+  <extension point="org.eclipse.ui.handlers">
+    <handler 
+      commandId="org.apache.uima.ruta.ide.debug.ui.commands.toggleGlobalVariables"
+      class="org.apache.uima.ruta.ide.debug.ui.handlers.ToggleGlobalVariablesHandler" />
+    <handler 
+      commandId="org.apache.uima.ruta.ide.debug.ui.commands.toggleClassVariables"
+      class="org.apache.uima.ruta.ide.debug.ui.handlers.ToggleClassVariablesHandler" />
+    <handler 
+      commandId="org.apache.uima.ruta.ide.debug.ui.commands.toggleLocalVariables"
+      class="org.apache.uima.ruta.ide.debug.ui.handlers.ToggleLocalVariablesHandler" />      
+  </extension>
+  <extension point="org.eclipse.dltk.launching.debuggingEngine">
+    <engineContribution natureId="org.apache.uima.ruta.ide.nature">
+      <engine
+        class="org.apache.uima.ruta.ide.debugger.RutaDebuggerRunnerFactory"
+        description="%DebuggingEngine.description"
+        id="org.apache.uima.ruta.ide.debugger"
+        name="%DebuggingEngine.name"
+        priority="0"
+        propertyPageId="org.apache.uima.ruta.ide.propertyPage.debug.engines.debugger"
+        preferencePageId="org.apache.uima.ruta.ide.preferences.debug.engines.debugger">
+      </engine>
+    </engineContribution>
+  </extension>
+  <extension
+        point="org.eclipse.dltk.launching.interpreterInstallTypes">
+     <interpreterInstallType
+           class="org.apache.uima.ruta.ide.launching.GenericRutaInstallType"
+           id="org.apache.uima.ruta.ide.debug.ui.launcher.GenericRutaInstallType">
+     </interpreterInstallType>
+  </extension>
+  <extension
+        point="org.eclipse.debug.core.launchDelegates">
+     <launchDelegate
+           delegate="org.apache.uima.ruta.ide.launching.JavaLocalApplicationLaunchConfigurationDelegate"
+           id="com.Instantiations.profiler.localJavaApplicationDelegate"
+           modes="debug"
+           name="Debugging with Ruta debug support"
+           type="org.eclipse.jdt.launching.localJavaApplication">
+     </launchDelegate>
+  </extension>
+  <extension
+        point="org.eclipse.dltk.console.scriptInterpreter">
+     <scriptInterpreter
+           class="org.apache.uima.ruta.ide.ui.console.RutaInterpreter"
+           natureID="org.apache.uima.ruta.ide.nature">
+     </scriptInterpreter>
+  </extension>
+  <extension
+        point="org.eclipse.debug.ui.launchConfigurationTypeImages">
+     <launchConfigurationTypeImage
+           configTypeID="org.apache.uima.ruta.ide.launching.RutaLaunchConfigurationType"
+           icon="$nl$/icons/ruta.png"
+           id="org.apache.uima.ruta.ide.launching.RutaLaunchConfigurationTypeImage">
+     </launchConfigurationTypeImage>
+  </extension>
+  <extension
+        point="org.eclipse.debug.core.launchConfigurationTypes">
+     <launchConfigurationType
+           delegate="org.apache.uima.ruta.ide.launching.RutaLaunchConfigurationDelegate"
+           id="org.apache.uima.ruta.ide.launching.RutaLaunchConfigurationType"
+           modes="run,debug"
+           name="UIMA Ruta"
+           public="true"
+           sourceLocatorId="rutaSourceLocator"
+           sourcePathComputerId="rutaSourcePathComputer">
+     </launchConfigurationType>
+  </extension>
+  <extension
+        point="org.eclipse.debug.core.sourcePathComputers">
+     <sourcePathComputer
+           class="org.apache.uima.ruta.ide.launching.RutaSourcePathComputer"
+           id="rutaSourcePathComputer">
+     </sourcePathComputer>
+  </extension>
+  <extension
+        point="org.eclipse.debug.core.sourceLocators">
+     <sourceLocator
+           class="org.apache.uima.ruta.ide.launching.RutaSourceLookupDirector"
+           id="rutaSourceLocator"
+           name="org.apache.uima.ruta.ide.launching.rutaSourceLocator">
+     </sourceLocator>
+  </extension>
+  <extension
+        point="org.eclipse.dltk.launching.debuggingEngine">
+     <engineContribution
+           natureId="org.apache.uima.ruta.ide.nature">
+        <selector
+              class="org.apache.uima.ruta.ide.launching.RutaDebuggingEngineSelector">
+        </selector>
+     </engineContribution>
+  </extension>
+  <extension
+        point="org.eclipse.dltk.launching.interpreterInstalls">
+     <interpreterInstall
+           home="${eclipse_home}"
+           id="org.apache.uima.ruta.ide.launching.embeddedRuta"
+           interpreterInstallType="org.apache.uima.ruta.ide.debug.ui.launcher.GenericRutaInstallType"
+           name="UIMA Ruta Interpreter">
+     </interpreterInstall>
+  </extension>
+  <extension
+        point="org.eclipse.core.runtime.preferences">
+     <initializer
+           class="org.apache.uima.ruta.ide.formatter.RutaFormatterPreferenceInitializer">
+     </initializer>
+  </extension>
+  <extension
+        point="org.eclipse.dltk.ui.formatterFactory">
+     <engineContribution
+           natureId="org.apache.uima.ruta.ide.nature">
+        <formatterFactory
+              class="org.apache.uima.ruta.ide.formatter.RutaFormatterFactory"
+              description="Default Ruta formatter providing whitespace control and line wrapping"
+              id="org.apache.uima.ruta.ide.formatter.formatterFactory"
+              name="Default Ruta Formatter"
+              priority="10">
+        </formatterFactory>
+     </engineContribution>
+  </extension>
+  <extension
+        id="org.apache.uima.ruta.ide.ui.editor.DocumentSetupParticipant"
+        name="%documentSetupParticipantName"
+        point="org.eclipse.core.filebuffers.documentSetup">
+     <participant
+           class="org.apache.uima.ruta.ide.ui.editor.RutaDocumentSetupParticipant">
+     </participant>
+  </extension>
+  <extension
+        point="org.eclipse.core.runtime.adapters">
+     <factory
+           adaptableType="org.apache.uima.ruta.ide.ui.navigation.ElementsView$ElementList"
+           class="org.apache.uima.ruta.ide.ui.navigation.ElementListAdapterFactory">
+        <adapter
+              type="org.eclipse.dltk.core.IModelElement">
+        </adapter>
+     </factory>
+  </extension>
+  <extension
+        point="org.eclipse.search.searchPages">
+     <page
+           canSearchEnclosingProjects="true"
+           class="org.apache.uima.ruta.ide.ui.search.RutaSearchPage"
+           enabled="true"
+           extensions="ruta:90, exp:30"
+           icon="$nl$/icons/search_obj.png"
+           id="org.eclipse.dltk.ui.RutaSearchPage"
+           label="%RutaSearchPage.label"
+           showScopeSection="true"
+           sizeHint="460,160">
+     </page>
+  </extension>
+  <extension
+        point="org.eclipse.ui.contexts">
+     <context
+           description="%RutaEditContext.description"
+           id="org.apache.uima.ruta.ide.ui.rutaEditorScope"
+           name="%RutaEditContext.name"
+           parentId="org.eclipse.dltk.ui.scriptEditorScope">
+     </context>
+  </extension>
+  <extension
+        point="org.eclipse.ui.perspectives">
+     <perspective
+           class="org.apache.uima.ruta.ide.ui.RutaPerspective"
+           icon="$nl$/icons/ruta_persp.png"
+           id="org.apache.uima.ruta.ide.ui.RutaPerspective"
+           name="%RutaPerspective.name">
+     </perspective>
+     <perspective
+           class="org.apache.uima.ruta.ide.ui.ExplainPerspective"
+           icon="icons/explain.png"
+           id="org.apache.uima.ruta.ide.ui.explainPerspective"
+           name="UIMA Ruta Explain">
+     </perspective>
+  </extension>
+  <extension
+        point="org.eclipse.ui.perspectiveExtensions">
+     <perspectiveExtension
+           targetID="org.eclipse.ui.resourcePerspective">
+        <perspectiveShortcut
+              id="org.apache.uima.ruta.ide.ui.RutaPerspective">
+        </perspectiveShortcut>
+     </perspectiveExtension>
+     <perspectiveExtension
+           targetID="org.apache.uima.ruta.ide.ui.RutaPerspective">
+        <perspectiveShortcut
+              id="org.apache.uima.ruta.ide.ui.RutaPerspective">
+        </perspectiveShortcut>
+     </perspectiveExtension>
+     <perspectiveExtension
+           targetID="org.apache.uima.ruta.ide.ui.RutaPerspective">
+        <perspectiveShortcut
+              id="org.eclipse.debug.ui.DebugPerspective">
+        </perspectiveShortcut>
+     </perspectiveExtension>
+     <perspectiveExtension
+           targetID="org.eclipse.debug.ui.DebugPerspective">
+        <perspectiveShortcut
+              id="org.apache.uima.ruta.ide.ui.RutaPerspective">
+        </perspectiveShortcut>
+     </perspectiveExtension>
+     <perspectiveExtension
+           targetID="org.eclipse.debug.ui.DebugPerspective">
+        <actionSet
+              id="org.eclipse.dltk.ui.DLTKActionSet">
+        </actionSet>
+     </perspectiveExtension>
+     <perspectiveExtension
+           targetID="org.apache.uima.ruta.ide.ui.RutaPerspective">
+        <showInPart
+              id="org.eclipse.dltk.ui.ScriptExplorer">
+        </showInPart>
+     </perspectiveExtension>
+     <perspectiveExtension
+           targetID="org.eclipse.debug.ui.DebugPerspective">
+        <showInPart
+              id="org.eclipse.dltk.ui.ScriptExplorer">
+        </showInPart>
+     </perspectiveExtension>
+  </extension>
+  <extension
+        point="org.eclipse.ui.newWizards">
+     <category
+           id="org.apache.uima.ruta.ide.ui"
+           name="%RutaWizardsCategory.name">
+     </category>
+     <wizard
+           category="org.apache.uima.ruta.ide.ui"
+           class="org.apache.uima.ruta.ide.ui.wizards.RutaProjectCreationWizard"
+           finalPerspective="org.apache.uima.ruta.ide.ui.RutaPerspective"
+           icon="$nl$/icons/newprj_wiz.png"
+           id="org.apache.uima.ruta.ide.ui.wizards.RutaProjectWizard"
+           name="UIMA Ruta Project"
+           preferredPerspectives="org.apache.uima.ruta.ide.ui.RutaPerspective"
+           project="true">
+        <description>
+           Creates new Ruta project.
+        </description>
+     </wizard>
+     <wizard
+           category="org.apache.uima.ruta.ide.ui"
+           class="org.apache.uima.ruta.ide.ui.wizards.RutaPackageCreationWizard"
+           icon="icons/newpack_wiz.gif"
+           id="org.apache.uima.ruta.ide.ui.wizards.NewPackageCreationWizard"
+           name="%NewRutaPackage.label">
+        <description>
+           %NewRutaPackage.description
+        </description>
+     </wizard>
+     <wizard
+           category="org.apache.uima.ruta.ide.ui"
+           class="org.apache.uima.ruta.ide.ui.wizards.RutaFileCreationWizard"
+           icon="$nl$/icons/newfile_wiz.png"
+           id="org.apache.uima.ruta.ide.ui.wizards.RutaFileCreationWizard"
+           name="%NewRutaFile.label">
+        <description></description>
+     </wizard>
+  </extension>
+  <extension
+        point="org.eclipse.ui.editors">
+     <editor
+           class="org.apache.uima.ruta.ide.ui.editor.RutaEditor"
+           contributorClass="org.eclipse.dltk.internal.ui.editor.SourceModuleEditorActionContributor"
+           default="true"
+           extensions="ruta"
+           icon="$nl$/icons/ruta_obj.png"
+           id="org.apache.uima.ruta.ide.ui.editor.RutaEditor"
+           name="%RutaEditor.name">
+        <contentTypeBinding
+              contentTypeId="org.apache.uima.ruta.ide.rutaContentType">
+        </contentTypeBinding>
+     </editor>
+  </extension>
+  <extension
+        point="org.eclipse.ui.editors.templates">
+     <contextType
+           class="org.apache.uima.ruta.ide.ui.templates.RutaUniversalTemplateContextType"
+           id="rutaUniversalTemplateContextType"
+           name="%RutaTemplateContext.name">
+     </contextType>
+     <include
+           file="templates/templates.xml">
+     </include>
+  </extension>
+  <extension
+        point="org.eclipse.ui.views">
+     <category
+           id="org.apache.uima.ruta.ide.ui"
+           name="%RutaViewsCategory.name">
+     </category>
+     <view
+           category="org.apache.uima.ruta.ide.ui"
+           class="org.apache.uima.ruta.ide.ui.infoviews.RutaDocumentationView"
+           icon="$nl$/icons/rutadoc.png"
+           id="org.apache.uima.ruta.ide.ui.RutaDocumentationView"
+           name="%RutaDocumentationView.name">
+     </view>
+  </extension>
+  <extension
+        point="org.eclipse.ui.actionSets">
+     <actionSet
+           description="%RutaActionSet.description"
+           id="org.apache.uima.ruta.ide.ui.RutaActionSet"
+           label="%RutaActionSet.label"
+           visible="false">
+        <action
+              class="org.apache.uima.ruta.ide.ui.actions.RutaOpenTypeAction"
+              definitionId="org.apache.uima.ruta.ide.ui.navigate.open.type"
+              icon="icons/opentype.gif"
+              id="openType"
+              label="%OpenTypeAction.label"
+              menubarPath="navigate/open.ext2"
+              toolbarPath="org.eclipse.search.searchActionSet/Search"
+              tooltip="%OpenTypeAction.tooltip">
+        </action>
+        <action
+              class="org.apache.uima.ruta.ide.ui.actions.RutaOpenTypeInHierarchyAction"
+              definitionId="org.apache.uima.ruta.ide.ui.navigate.open.type.in.hierarchy"
+              id="openTypeInHierarchy"
+              label="%OpenTypeInHierarchyAction.label"
+              menubarPath="navigate/open.ext2"
+              tooltip="%OpenTypeInHierarchyAction.tooltip">
+        </action>
+     </actionSet>
+  </extension>
+  <extension
+        point="org.eclipse.ui.actionSets">
+     <actionSet
+           description="%RutaSearchActionSet.description"
+           id="org.apache.uima.ruta.ide.ui.SearchActionSet"
+           label="%RutaSearchActionSet.label"
+           visible="false">
+        <menu
+              id="org.eclipse.search.menu"
+              label="%SearchMenu.label"
+              path="navigate">
+           <groupMarker
+                 name="dialogRutaGroup">
+           </groupMarker>
+        </menu>
+        <action
+              class="org.apache.uima.ruta.ide.ui.actions.OpenRutaSearchPageAction"
+              icon="$nl$/icons/search_obj.png"
+              id="org.apache.uima.ruta.ide.ui.actions.OpenRutaSearchPage"
+              label="%OpenRutaSearchPageAction.label"
+              menubarPath="org.eclipse.search.menu/dialogRutaGroup">
+        </action>
+     </actionSet>
+  </extension>
+  <extension
+        point="org.eclipse.ui.bindings">
+     <key
+           commandId="org.apache.uima.ruta.ide.ui.navigate.open.type"
+           contextId="org.apache.uima.ruta.ide.ui.rutaEditorScope"
+           schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
+           sequence="M1+M2+T">
+     </key>
+     <key
+           commandId="org.eclipse.dltk.ui.edit.text.script.format"
+           contextId="org.apache.uima.ruta.ide.ui.rutaEditorScope"
+           schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
+           sequence="M1+M2+F">
+     </key>
+     <key
+           commandId="org.eclipse.dltk.ui.edit.text.script.format"
+           contextId="org.apache.uima.ruta.ide.ui.rutaEditorScope"
+           platform="gtk"
+           schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
+           sequence="ESC CTRL+F">
+     </key>
+  </extension>
+  <extension
+        point="org.eclipse.ui.decorators">
+     <decorator
+           adaptable="false"
+           class="org.apache.uima.ruta.ide.ui.RutaProjectDecorator"
+           id="org.apache.uima.ruta.ide.decorators.projectdecorator"
+           label="%RutaProjectDecorator.name"
+           lightweight="true"
+           location="TOP_LEFT"
+           state="true">
+        <enablement>
+           <or>
+              <objectClass
+                    name="org.eclipse.core.resources.IProject">
+              </objectClass>
+              <objectClass
+                    name="org.eclipse.dltk.core.IScriptProject">
+              </objectClass>
+           </or>
+        </enablement>
+     </decorator>
+  </extension>
+  <extension
+        point="org.eclipse.ui.commands">
+     <command
+           categoryId="org.eclipse.ui.category.navigate"
+           description="%ActionDefinition.OpenType.description"
+           id="org.apache.uima.ruta.ide.ui.navigate.open.type"
+           name="%ActionDefinition.OpenType.name">
+     </command>
+  </extension>
+  <extension
+        point="org.eclipse.ui.menus">
+     <menuContribution
+           locationURI="menu:org.eclipse.dltk.ui.source.menu?after=editGroup">
+        <command
+              commandId="org.eclipse.dltk.ui.edit.text.script.format">
+           <visibleWhen>
+              <with
+                    variable="activeContexts">
+                 <iterate
+                       operator="or">
+                    <equals
+                          value="org.apache.uima.ruta.ide.ui.rutaEditorScope">
+                    </equals>
+                 </iterate>
+              </with>
+           </visibleWhen>
+        </command>
+     </menuContribution>
+  </extension>
+  <extension
+        point="org.eclipse.ui.actionSetPartAssociations">
+     <actionSetPartAssociation
+           targetID="org.eclipse.ui.edit.text.actionSet.presentation">
+        <part
+              id="org.apache.uima.ruta.ide.ui.editor.RutaEditor">
+        </part>
+     </actionSetPartAssociation>
+     <actionSetPartAssociation
+           targetID="org.eclipse.dltk.ui.A_OpenActionSet">
+        <part
+              id="org.apache.uima.ruta.ide.ui.editor.RutaEditor">
+        </part>
+     </actionSetPartAssociation>
+     <actionSetPartAssociation
+           targetID="org.eclipse.dltk.ui.ScriptCodingActionSet">
+        <part
+              id="org.apache.uima.ruta.ide.ui.editor.RutaEditor">
+        </part>
+     </actionSetPartAssociation>
+  </extension>
+  <extension
+        id="RutaScriptNoTypeCompletionProposalComputer"
+        point="org.eclipse.dltk.ui.scriptCompletionProposalComputer">
+     <scriptCompletionProposalComputer
+           categoryId="org.eclipse.dltk.ui.scriptNoTypeProposalCategory"
+           class="org.apache.uima.ruta.ide.ui.text.completion.RutaNoTypeCompletionProposalComputer"
+           toolkitId="org.apache.uima.ruta.ide.nature">
+        <partition
+              type="__dftl_partition_content_type">
+        </partition>
+        <partition
+              type="__ruta_string">
+        </partition>
+     </scriptCompletionProposalComputer>
+  </extension>
+  <extension
+        point="org.eclipse.dltk.ui.scriptDocumentationProviders">
+     <provider
+           class="org.apache.uima.ruta.ide.ui.documentation.RutaCommentDocumentationProvider"
+           id="org.apache.uima.ruta.ide.ui.RutaCommentDocumentationProvider"
+           nature="org.apache.uima.ruta.ide.nature">
+     </provider>
+     <provider
+           class="org.apache.uima.ruta.ide.ui.documentation.RutaPagesDocumentationProvider"
+           id="org.apache.uima.ruta.ide.ruta.ui.RutaPagesDocumentationProvider"
+           nature="org.apache.uima.ruta.ide.nature">
+     </provider>
+     <provider
+           class="org.apache.uima.ruta.ide.ui.documentation.RutaActionDocumentationProvider"
+           id="org.apache.uima.ruta.ide.ui.RutaActionDocumentationProvider"
+           nature="org.apache.uima.ruta.ide.nature">
+     </provider>
+     <provider
+           class="org.apache.uima.ruta.ide.ui.documentation.RutaConditionDocumentationProvider"
+           id="org.apache.uima.ruta.ide.ui.RutaConditionDocumentationProvider"
+           nature="org.apache.uima.ruta.ide.nature">
+     </provider>
+     <provider
+           class="org.apache.uima.ruta.ide.ui.documentation.RutaFunctionDocumentationProvider"
+           id="org.apache.uima.ruta.ide.ui.RutaFunctionDocumentationProvider"
+           nature="org.apache.uima.ruta.ide.nature">
+     </provider>
+  </extension>
+  <extension
+        point="org.eclipse.dltk.ui.language">
+     <language
+           class="org.apache.uima.ruta.ide.ui.RutaUILanguageToolkit"
+           nature="org.apache.uima.ruta.ide.nature">
+     </language>
+  </extension>
+  <extension
+        point="org.eclipse.ui.actionSetPartAssociations">
+     <actionSetPartAssociation
+           targetID="org.apache.uima.ruta.ide.ui.SearchActionSet">
+        <part
+              id="org.eclipse.dltk.ui.ScriptExplorer">
+        </part>
+        <part
+              id="org.apache.uima.ruta.ide.ui.editor.RutaEditor">
+        </part>
+        <part
+              id="org.eclipse.search.SearchResultView">
+        </part>
+     </actionSetPartAssociation>
+  </extension>
+  <extension
+        point="org.eclipse.ui.ide.markerResolution">
+     <markerResolutionGenerator
+           class="org.apache.uima.ruta.ide.ui.text.RutaRequireMarkerResolutionGenerator"
+           markerType="org.eclipse.dltk.core.problem">
+     </markerResolutionGenerator>
+  </extension>
+  <extension
+        point="org.eclipse.ui.editorActions">
+     <editorContribution
+           id="org.apache.uima.ruta.ide.ui.RutaEditor.ruler.actions"
+           targetID="org.apache.uima.ruta.ide.ui.editor.RutaEditor">
+        <action
+              actionID="RulerClick"
+              class="org.apache.uima.ruta.ide.ui.actions.RutaSelectRulerAction"
+              id="org.apache.uima.ruta.ide.ui.rutaeditor.RutaSelectRulerAction"
+              label="UIMA Ruta Selection Ruler action">
+        </action>
+     </editorContribution>
+  </extension>
+  <extension
+        point="org.eclipse.ui.commands">
+     <command
+           categoryId="org.eclipse.dltk.ui.category.source"
+           description="%ActionDefinition.addBlockComment.description"
+           id="org.eclipse.dltk.ui.edit.text.script.add.block.comment"
+           name="%ActionDefinition.addBlockComment.name">
+     </command>
+     <command
+           categoryId="org.eclipse.dltk.ui.category.source"
+           description="%ActionDefinition.removeBlockComment.description"
+           id="org.eclipse.dltk.ui.edit.text.script.remove.block.comment"
+           name="%ActionDefinition.removeBlockComment.name">
+     </command>
+     <command
+           categoryId="org.eclipse.dltk.ui.category.source"
+           description="%ActionDefinition.indent.description"
+           id="org.eclipse.dltk.ui.edit.text.script.indent"
+           name="%ActionDefinition.indent.name">
+     </command>
+     <command
+           categoryId="org.eclipse.dltk.ui.category.source"
+           description="%ActionDefinition.format.description"
+           id="org.eclipse.dltk.ui.edit.text.script.format"
+           name="%ActionDefinition.format.name">
+     </command>
+     <command
+           categoryId="org.eclipse.dltk.ui.category.source"
+           description="%ActionDefinition.quickformat.description"
+           id="org.eclipse.dltk.ui.edit.text.script.quick.format"
+           name="%ActionDefinition.quickformat.name">
+     </command>
+  </extension>
+  <extension
+        point="org.eclipse.dltk.ui.formatterFactory">
+     <engineContribution
+           natureId="org.apache.uima.ruta.ide.nature">
+        <selector
+              class="org.eclipse.dltk.core.PreferenceBasedContributionSelector">
+           <parameter
+                 name="qualifier"
+                 value="org.apache.uima.ruta.ide.ui">
+           </parameter>
+           <parameter
+                 name="key"
+                 value="formatterId">
+           </parameter>
+        </selector>
+     </engineContribution>
+  </extension>
+  <extension
+        point="org.eclipse.ui.propertyPages">
+     <page
+           category="org.apache.uima.ruta.ide.propertyPage"
+           class="org.apache.uima.ruta.ide.ui.preferences.RutaBuildpathPropertyPage"
+           id="org.apache.uima.ruta.ide.ui.BuildpathProperties"
+           name="%RutaBuildPathPropertyPage.name">
+        <enabledWhen>
+           <adapt
+                 type="org.eclipse.core.resources.IProject">
+              <test
+                    property="org.eclipse.core.resources.projectNature"
+                    value="org.apache.uima.ruta.ide.nature">
+              </test>
+           </adapt>
+        </enabledWhen>
+        <keywordReference
+              id="org.eclipse.dltk.ui.buildpath">
+        </keywordReference>
+     </page>
+     <page
+           class="org.apache.uima.ruta.ide.ui.preferences.RutaPropertyPage"
+           id="org.apache.uima.ruta.ide.propertyPage"
+           name="%RutaPropertyPage.name">
+        <enabledWhen>
+           <adapt
+                 type="org.eclipse.core.resources.IProject">
+              <test
+                    property="org.eclipse.core.resources.projectNature"
+                    value="org.apache.uima.ruta.ide.nature">
+              </test>
+           </adapt>
+        </enabledWhen>
+     </page>
+     <!--
+     <page
+           category="org.apache.uima.ruta.ide.propertyPage"
+           class="org.apache.uima.ruta.ide.ui.preferences.RutaTodoTaskPreferencePage"
+           id="org.apache.uima.ruta.ide.propertyPage.todo"
+           name="%RutaTodoPropertyPage.name">
+        <enabledWhen>
+           <adapt
+                 type="org.eclipse.core.resources.IProject">
+              <test
+                    property="org.eclipse.core.resources.projectNature"
+                    value="org.apache.uima.ruta.ide.nature">
+              </test>
+           </adapt>
+        </enabledWhen>
+     </page>
+     -->
+  </extension>
+  <extension
+        point="org.eclipse.ui.propertyPages">
+     <page
+           category="org.apache.uima.ruta.ide.propertyPage"
+           class="org.apache.uima.ruta.ide.ui.preferences.RutaFormatterPreferencePage"
+           id="org.apache.uima.ruta.ide.propertyPage.formatter"
+           name="UIMA Ruta Formatter">
+        <enabledWhen>
+           <adapt
+                 type="org.eclipse.core.resources.IProject">
+              <test
+                    property="org.eclipse.core.resources.projectNature"
+                    value="org.apache.uima.ruta.ide.nature">
+              </test>
+           </adapt>
+        </enabledWhen>
+     </page>
+  </extension>
+  <extension
+        point="org.eclipse.ui.preferencePages">
+     <page
+           class="org.apache.uima.ruta.ide.ui.preferences.RutaGlobalPreferencePage"
+           id="org.apache.uima.ruta.ide.preferences"
+           name="%RutaPreferencePage.name">
+     </page>
+     <page
+           category="org.apache.uima.ruta.ide.preferences"
+           class="org.apache.uima.ruta.ide.ui.preferences.RutaEditorPreferencesPage"
+           id="org.apache.uima.ruta.ide.preferences.editor"
+           name="%RutaEditorPreferencePage.name">
+     </page>
+     <page
+           category="org.apache.uima.ruta.ide.preferences.editor"
+           class="org.apache.uima.ruta.ide.ui.preferences.RutaEditorHoverPreferencePage"
+           id="org.apache.uima.ruta.ide.preferences.editor.hovers"
+           name="%RutaEditorHoversPreferencePage.name">
+     </page>
+     <page
+           category="org.apache.uima.ruta.ide.preferences.editor"
+           class="org.apache.uima.ruta.ide.ui.templates.RutaCodeTemplatesPreferencePage"
+           id="org.apache.uima.ruta.ide.preferences.templates"
+           name="%RutaCodeTemplatesPreferencePage.name">
+     </page>
+     <page
+           category="org.apache.uima.ruta.ide.preferences.editor"
+           class="org.apache.uima.ruta.ide.ui.preferences.RutaEditorSyntaxColoringPreferencePage"
+           id="org.apache.uima.ruta.ide.ui.editor.SyntaxColoring"
+           name="%RutaEditorSyntaxColoringPreferencePage.name">
+     </page>
+     <page
+           category="org.apache.uima.ruta.ide.preferences.editor"
+           class="org.apache.uima.ruta.ide.ui.preferences.RutaSmartTypingPreferencePage"
+           id="org.apache.uima.ruta.ide.ui.editor.SmartTyping"
+           name="%RutaEditorSmartTypingPreferencePage.name">
+     </page>
+     <page
+           category="org.apache.uima.ruta.ide.preferences.editor"
+           class="org.apache.uima.ruta.ide.ui.preferences.RutaFoldingPreferencePage"
+           id="org.apache.uima.ruta.ide.ui.editor.RutaFolding"
+           name="%RutaEditorFoldingPreferencePage.name">
+     </page>
+     <!--
+     <page
+           category="org.apache.uima.ruta.ide.preferences"
+           class="org.apache.uima.ruta.ide.ui.preferences.RutaTodoTaskPreferencePage"
+           id="org.apache.uima.ruta.ide.ui.editor.TodoTasks"
+           name="%RutaTaskTags.name">
+     </page>
+     -->
+     <page
+           category="org.apache.uima.ruta.ide.preferences.editor"
+           class="org.apache.uima.ruta.ide.ui.preferences.RutaEditorAssistancePreferencePage"
+           id="org.apache.uima.ruta.ide.ui.editor.Assistence"
+           name="%RutaEditorAssistancePreferencePage.name">
+     </page>
+     <page
+           category="org.apache.uima.ruta.ide.preferences"
+           class="org.apache.uima.ruta.ide.ui.preferences.RutaBuilderPreferencePage"
+           id="org.apache.uima.ruta.ide.preferences.builder"
+           name="Builder">
+     </page>
+     <page
+           category="org.apache.uima.ruta.ide.preferences.editor"
+           class="org.apache.uima.ruta.ide.ui.preferences.RutaFormatterPreferencePage"
+           id="org.apache.uima.ruta.ide.preferences.formatter"
+           name="Formatter">
+     </page>
+     <page
+           category="org.apache.uima.ruta.ide.preferences"
+           class="org.apache.uima.ruta.ide.ui.preferences.RutaProjectPreferencePage"
+           id="org.apache.uima.ruta.ide.preferences.project"
+           name="Project Management">
+     </page>
+  </extension>
+
+  <extension point="org.eclipse.ui.preferencePages">
+    <page
+      category="org.apache.uima.ruta.ide.preferences"
+      class="org.apache.uima.ruta.ide.debug.ui.interpreters.RutaInterpreterPreferencePage"
+      id="org.eclipse.dltk.debug.ui.RutaInterpreters"
+      name="%Interpreters.PreferencePage" />
+      <!--
+    <page
+      category="org.apache.uima.ruta.ide.preferences"
+      class="org.apache.uima.ruta.ide.debug.ui.preferences.RutaDebugPreferencePage"
+      id="org.apache.uima.ruta.ide.preferences.debug"
+      name="%Debug.PreferencePage" />
+    <page
+      category="org.apache.uima.ruta.ide.preferences.debug"
+      class="org.apache.uima.ruta.ide.debug.ui.preferences.RutaDebuggingEnginePreferencePage"
+      id="org.apache.uima.ruta.ide.preferences.debug.engines"
+      name="%Engines.PreferencePage" />
+    <page
+      category="org.apache.uima.ruta.ide.preferences"
+      class="org.apache.uima.ruta.ide.ui.preferences.RutaConsolePreferences"
+      id="org.apache.uima.ruta.ide.ui.console.preferences.RutaConsolePreferences"
+      name="%Console.PreferencePage" />
+    <page
+          category="org.apache.uima.ruta.ide.preferences.debug.engines"
+          class="org.apache.uima.ruta.ide.debugger.preferences.RutaDebuggerPreferencePage"
+          id="org.apache.uima.ruta.ide.preferences.debug.engines.debugger"
+          name="%PreferencePage.name">
+    </page>
+      -->
+  </extension>
+
+<!--
+  <extension point="org.eclipse.ui.propertyPages">
+    <page
+      class="org.apache.uima.ruta.ide.debugger.preferences.RutaDebuggerPreferencePage"
+      category="org.apache.uima.ruta.ide.propertyPage.debug.engines"
+      id="org.apache.uima.ruta.ide.propertyPage.debug.engines.debugger"
+      name="%PropertyPage.name">
+      <enabledWhen>
+        <adapt type="org.eclipse.core.resources.IProject">
+          <test
+            property="org.eclipse.core.resources.projectNature"
+            value="org.apache.uima.ruta.ide.nature" />
+        </adapt>
+      </enabledWhen>
+    </page>
+  </extension>
+  -->
+<!--
+  <extension
+        point="org.eclipse.ui.propertyPages">
+     <page
+           category="org.apache.uima.ruta.ide.propertyPage"
+           class="org.apache.uima.ruta.ide.debug.ui.preferences.RutaDebugPreferencePage"
+           id="org.apache.uima.ruta.ide.propertyPage.debug"
+           name="%Debug.PropertyPage">
+        <enabledWhen>
+           <adapt
+                 type="org.eclipse.core.resources.IProject">
+              <test
+                    property="org.eclipse.core.resources.projectNature"
+                    value="org.apache.uima.ruta.ide.nature">
+              </test>
+           </adapt>
+        </enabledWhen>
+     </page>
+     <page
+           category="org.apache.uima.ruta.ide.propertyPage.debug"
+           class="org.apache.uima.ruta.ide.debug.ui.preferences.RutaDebuggingEnginePreferencePage"
+           id="org.apache.uima.ruta.ide.propertyPage.debug.engines"
+           name="%Engines.PropertyPage">
+        <enabledWhen>
+           <adapt
+                 type="org.eclipse.core.resources.IProject">
+              <test
+                    property="org.eclipse.core.resources.projectNature"
+                    value="org.apache.uima.ruta.ide.nature">
+              </test>
+           </adapt>
+        </enabledWhen>
+     </page>
+  </extension>
+  -->
+  <extension
+        point="org.apache.uima.ruta.ide.rutaSemanticHighlighting">
+     <highlightingExtension
+           class="org.apache.uima.ruta.ide.ui.DefaultRutaSemanticHighlightingExtension">
+     </highlightingExtension>
+  </extension>
+     <extension
+         point="org.eclipse.dltk.validators.core.validator">
+      <validatorType
+            class="org.apache.uima.ruta.ide.validator.CheckValidator"
+            id="org.apache.uima.ruta.ide.validator.checkvalidator"
+            nature="org.apache.uima.ruta.ide.nature">
+      </validatorType>
+   </extension>
+     <extension
+           point="org.eclipse.dltk.core.buildParticipant">
+        <buildParticipant
+              class="org.apache.uima.ruta.ide.validator.CheckValidator"
+              id="org.apache.uima.ruta.ide.validator.Checker"
+              name="UIMA Ruta Validator"
+              nature="org.apache.uima.ruta.ide.nature">
+        </buildParticipant>
+     </extension>
+   <!--
+     <extension
+           point="org.eclipse.dltk.ui.buildpathContainerPage">
+        <buildpathContainerPage
+              class="org.apache.uima.ruta.ide.ui.wizards.RutaJavaContainerPage"
+              id="org.apache.uima.ruta.ide.java.page"
+              name="Java Library"
+              nature="org.apache.uima.ruta.ide.nature">
+        </buildpathContainerPage>
+     </extension>
+     -->
+</plugin>

Added: uima/sandbox/ruta/trunk/ruta-ep-ide-ui/pom.xml
URL: http://svn.apache.org/viewvc/uima/sandbox/ruta/trunk/ruta-ep-ide-ui/pom.xml?rev=1504047&view=auto
==============================================================================
--- uima/sandbox/ruta/trunk/ruta-ep-ide-ui/pom.xml (added)
+++ uima/sandbox/ruta/trunk/ruta-ep-ide-ui/pom.xml Wed Jul 17 08:28:02 2013
@@ -0,0 +1,350 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+   Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License.    
+-->
+
+<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>
+  <artifactId>ruta-ep-ide-ui</artifactId>
+  <version>2.0.2-SNAPSHOT</version>
+  <parent>
+    <groupId>org.apache.uima</groupId>
+    <artifactId>ruta-parent</artifactId>
+    <version>2.0.2-SNAPSHOT</version>
+    <relativePath>../ruta-parent/pom.xml</relativePath>
+  </parent>
+  <properties>
+    <uimaScmProject>${project.artifactId}</uimaScmProject>
+  </properties>
+  <name>Apache UIMA Ruta Eclipse: ${project.artifactId}</name>
+  <url>${uimaWebsiteUrl}</url>
+  <description>Provides the UIMA Ruta development environment for Eclipse</description>
+  <dependencies>
+    <!-- <dependency> <groupId>org.antlr</groupId> <artifactId>antlr-runtime</artifactId> <version>3.4</version> 
+      <scope>compile</scope> </dependency> -->
+    <dependency>
+      <groupId>org.eclipse.dltk</groupId>
+      <artifactId>core</artifactId>
+      <version>[3.0.1,5.0.0)</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.dltk</groupId>
+      <artifactId>ui</artifactId>
+      <version>[3.0.1,5.0.0)</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.dltk</groupId>
+      <artifactId>launching</artifactId>
+      <version>[3.0.0,5.0.0)</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.dltk.validators</groupId>
+      <artifactId>core</artifactId>
+      <version>[3.0.0,5.0.0)</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.dltk.validators</groupId>
+      <artifactId>ui</artifactId>
+      <version>[3.0.0,5.0.0)</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.dltk</groupId>
+      <artifactId>console</artifactId>
+      <version>[3.0.0,5.0.0)</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.dltk.console</groupId>
+      <artifactId>ui</artifactId>
+      <version>[3.0.0,5.0.0)</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.dltk</groupId>
+      <artifactId>debug</artifactId>
+      <version>[3.0.1,5.0.0)</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.dltk.debug</groupId>
+      <artifactId>ui</artifactId>
+      <version>[3.0.0,5.0.0)</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.dltk</groupId>
+      <artifactId>formatter</artifactId>
+      <version>[3.0.0,5.0.0)</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.dltk</groupId>
+      <artifactId>testing</artifactId>
+      <version>[3.0.0,5.0.0)</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.core</groupId>
+      <artifactId>runtime</artifactId>
+      <version>[3.3.0,5.0.0)</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.core</groupId>
+      <artifactId>jobs</artifactId>
+      <version>[3.3.0,5.0.0)</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.core</groupId>
+      <artifactId>resources</artifactId>
+      <version>[3.3.0,5.0.0)</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse</groupId>
+      <artifactId>search</artifactId>
+      <version>[3.2.0,5.0.0)</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse</groupId>
+      <artifactId>ui</artifactId>
+      <version>[3.3.0,5.0.0)</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.swt</groupId>
+      <artifactId>org.eclipse.swt.win32.win32.x86</artifactId>
+      <version>[3.2.0,5.0.0)</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.ui</groupId>
+      <artifactId>ide</artifactId>
+      <version>[3.3.0,5.0.0)</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.ui</groupId>
+      <artifactId>views</artifactId>
+      <version>[3.3.0,5.0.0)</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.ui</groupId>
+      <artifactId>console</artifactId>
+      <version>[3.2.0,5.0.0)</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.ui.workbench</groupId>
+      <artifactId>texteditor</artifactId>
+      <version>[3.3.0,5.0.0)</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.jface</groupId>
+      <artifactId>text</artifactId>
+      <version>[3.3.0,5.0.0)</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.core</groupId>
+      <artifactId>variables</artifactId>
+      <version>[3.2.0,5.0.0)</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.jdt</groupId>
+      <artifactId>launching</artifactId>
+      <version>[3.3.0,5.0.0)</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.jdt</groupId>
+      <artifactId>core</artifactId>
+      <version>[3.3.0,5.0.0)</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.jdt.debug</groupId>
+      <artifactId>ui</artifactId>
+      <version>[3.2.0,5.0.0)</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.core</groupId>
+      <artifactId>contenttype</artifactId>
+      <version>[3.4.0,5.0.0)</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.equinox</groupId>
+      <artifactId>preferences</artifactId>
+      <version>[3.3.0,5.0.0)</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.equinox</groupId>
+      <artifactId>app</artifactId>
+      <version>[1.3.0,2.0.0)</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.emf.ecore</groupId>
+      <artifactId>xmi</artifactId>
+      <version>[2.7.0,3.0.0)</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.uima</groupId>
+      <artifactId>ruta-core</artifactId>
+      <version>${project.parent.version}</version>
+      <scope>compile</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.uima</groupId>
+      <artifactId>ruta-ep-ide</artifactId>
+      <version>${project.parent.version}</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.commons</groupId>
+      <artifactId>commons-lang3</artifactId>
+      <version>3.1</version>
+    </dependency>
+  </dependencies>
+  <scm>
+    <url>http://svn.apache.org/viewvc/uima/sandbox/ruta/trunk/ruta-ep-ide-ui</url>
+    <connection>scm:svn:http://svn.apache.org/repos/asf/uima/sandbox/ruta/trunk/ruta-ep-ide-ui</connection>
+    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/uima/sandbox/ruta/trunk/ruta-ep-ide-ui</developerConnection>
+  </scm>
+  <build>
+    <!-- don't use artifactId as first part of finalName, follow instead the eclipse convention -->
+    <finalName>org.apache.uima.ruta.ide.ui_${parsedVersion.osgiVersion}</finalName>
+    <resources>
+      <resource>
+        <directory>.</directory>
+        <includes>
+          <include>plugin.xml</include>
+          <include>plugin.properties</include>
+          <include>icons/**/*.*</include>
+        </includes>
+      </resource>
+      <resource>
+        <directory>src/main/resources</directory>
+      </resource>
+      <resource>
+        <directory>src/main/readme_src</directory>
+      </resource>
+    </resources>
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <groupId>org.apache.rat</groupId>
+          <artifactId>apache-rat-plugin</artifactId>
+          <executions>
+            <execution>
+              <id>default-cli</id>
+              <configuration>
+                <excludes>
+                  <exclude>release.properties</exclude> <!-- release generated artifact -->
+                  <exclude>marker-file-identifying-*</exclude>
+                  <exclude>src/main/antlr3/org/apache/uima/ruta/ide/core/parser/RutaLexer.tokens</exclude> <!-- grammar tokens -->
+                  <exclude>src/main/antlr3/org/apache/uima/ruta/ide/core/parser/RutaParser.tokens</exclude> <!-- grammar tokens -->
+                  <exclude>src/main/resources/org/apache/uima/ruta/ide/formatter/*.ruta</exclude> <!-- preview file -->
+                  <exclude>src/main/resources/org/apache/uima/ruta/ide/formatter/preferences/*.ruta</exclude> <!-- preview file -->
+                  <exclude>src/main/resources/org/apache/uima/ruta/ide/launching/*.ruta</exclude> <!-- preview file -->
+                  <exclude>src/main/resources/org/apache/uima/ruta/ide/ui/documentation/*.html</exclude> <!-- hover documentation -->
+                  <exclude>src/main/resources/org/apache/uima/ruta/ide/ui/preferences/*.txt</exclude> <!-- preview file -->
+                  <exclude>issuesFixed/**</exclude>
+                </excludes>
+              </configuration>
+            </execution>
+          </executions>
+        </plugin>
+      </plugins>
+    </pluginManagement>
+
+    <plugins>
+      <plugin>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>uima-bundle</id>
+            <configuration>
+              <instructions>
+                <Bundle-SymbolicName>org.apache.uima.ruta.ide.ui;singleton:=true</Bundle-SymbolicName>
+                <Bundle-Activator>org.apache.uima.ruta.ide.RutaIdeUIPlugin</Bundle-Activator>
+                <Bundle-RequiredExecutionEnvironment>J2SE-1.5</Bundle-RequiredExecutionEnvironment>
+                <Bundle-ActivationPolicy>lazy</Bundle-ActivationPolicy>
+                <_nouses>true</_nouses>
+                <Export-Package>
+                  org.apache.uima.ruta.ide.*
+                </Export-Package>
+                <Require-Bundle>
+                  org.apache.uima.runtime,
+                  org.apache.uima.ruta.engine,
+                  org.apache.uima.ruta.ide,
+                  org.eclipse.core.runtime,
+                  org.eclipse.core.resources,
+                  org.eclipse.ui,
+                  org.eclipse.dltk.launching;bundle-version="[3.0.0,5.0.0)",
+                  org.eclipse.dltk.core;bundle-version="[3.0.0,5.0.0)",
+                  org.eclipse.dltk.validators.core;bundle-version="[3.0.0,5.0.0)",
+                  org.eclipse.dltk.console;bundle-version="[3.0.0,5.0.0)",
+                  org.eclipse.dltk.console.ui;bundle-version="[3.0.0,5.0.0)",
+                  org.eclipse.dltk;bundle-version="[3.0.0,5.0.0)",
+                  org.eclipse.dltk.debug;bundle-version="[3.0.0,5.0.0)",
+                  org.eclipse.dltk.debug.ui;bundle-version="[3.0.0,5.0.0)",
+                  org.eclipse.dltk.formatter;bundle-version="[3.0.0,5.0.0)",
+                  org.eclipse.dltk.testing;bundle-version="[3.0.0,5.0.0)",
+                  org.eclipse.dltk.ui;bundle-version="[3.0.0,5.0.0)",
+                  org.eclipse.dltk.validators.ui;bundle-version="[3.0.0,5.0.0)",
+                  org.eclipse.jface.text,
+                  org.eclipse.ui.editors,
+                  org.eclipse.ui.ide,
+                  org.eclipse.search,
+                  org.eclipse.debug.ui,
+                  org.eclipse.ui.console,
+                  org.eclipse.jdt.core,
+                  org.eclipse.jdt.debug.ui,
+                  org.eclipse.core.variables,
+                  org.eclipse.jdt.launching
+                </Require-Bundle>
+                <!-- <Bundle-ClassPath>.,antlr-runtime-3.4.jar,stringtemplate-3.2.1.jar</Bundle-ClassPath> 
+                  !org.eclipse.core.runtime, !org.antlr.runtime, !org.antlr.stringtemplate, * -->
+                <Import-Package>
+                </Import-Package>
+                <Bundle-Localization>plugin</Bundle-Localization>
+              </instructions>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+
+</project>
\ No newline at end of file

Added: uima/sandbox/ruta/trunk/ruta-ep-ide-ui/schema/rutaExtension.exsd
URL: http://svn.apache.org/viewvc/uima/sandbox/ruta/trunk/ruta-ep-ide-ui/schema/rutaExtension.exsd?rev=1504047&view=auto
==============================================================================
--- uima/sandbox/ruta/trunk/ruta-ep-ide-ui/schema/rutaExtension.exsd (added)
+++ uima/sandbox/ruta/trunk/ruta-ep-ide-ui/schema/rutaExtension.exsd Wed Jul 17 08:28:02 2013
@@ -0,0 +1,137 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<schema targetNamespace="org.apache.uima.ruta.ide">
+<annotation>
+      <appInfo>
+         <meta.schema plugin="org.apache.uima.ruta.ide" id="tmExtension" name="tmExtension"/>
+      </appInfo>
+      <documentation>
+         [Enter description of this extension point.]
+      </documentation>
+   </annotation>
+
+   <element name="extension">
+      <complexType>
+         <sequence>
+            <element ref="tmExtension" minOccurs="1" maxOccurs="unbounded"/>
+         </sequence>
+         <attribute name="point" type="string" use="required">
+            <annotation>
+               <documentation>
+                  
+               </documentation>
+            </annotation>
+         </attribute>
+         <attribute name="id" type="string">
+            <annotation>
+               <documentation>
+                  
+               </documentation>
+            </annotation>
+         </attribute>
+         <attribute name="name" type="string">
+            <annotation>
+               <documentation>
+                  
+               </documentation>
+               <appInfo>
+                  <meta.attribute translatable="true"/>
+               </appInfo>
+            </annotation>
+         </attribute>
+      </complexType>
+   </element>
+
+   <element name="tmExtension">
+      <complexType>
+         <attribute name="language" type="string" use="required">
+            <annotation>
+               <documentation>
+                  
+               </documentation>
+            </annotation>
+         </attribute>
+         <attribute name="class" type="string" use="required">
+            <annotation>
+               <documentation>
+                  
+               </documentation>
+               <appInfo>
+                  <meta.attribute kind="java" basedOn=":org.apache.uima.ruta.ide.core.extensions.IRutaLanguageExtension"/>
+               </appInfo>
+            </annotation>
+         </attribute>
+         <attribute name="priority" type="string" use="default" value="0">
+            <annotation>
+               <documentation>
+                  
+               </documentation>
+            </annotation>
+         </attribute>
+      </complexType>
+   </element>
+
+   <annotation>
+      <appInfo>
+         <meta.section type="since"/>
+      </appInfo>
+      <documentation>
+         [Enter the first release in which this extension point appears.]
+      </documentation>
+   </annotation>
+
+   <annotation>
+      <appInfo>
+         <meta.section type="examples"/>
+      </appInfo>
+      <documentation>
+         [Enter extension point usage example here.]
+      </documentation>
+   </annotation>
+
+   <annotation>
+      <appInfo>
+         <meta.section type="apiInfo"/>
+      </appInfo>
+      <documentation>
+         [Enter API information here.]
+      </documentation>
+   </annotation>
+
+   <annotation>
+      <appInfo>
+         <meta.section type="implementation"/>
+      </appInfo>
+      <documentation>
+         [Enter information about supplied implementation of this extension point.]
+      </documentation>
+   </annotation>
+
+   <annotation>
+      <appInfo>
+         <meta.section type="copyright"/>
+      </appInfo>
+      <documentation>
+         
+      </documentation>
+   </annotation>
+
+</schema>

Added: uima/sandbox/ruta/trunk/ruta-ep-ide-ui/schema/rutaSemanticHighlighting.exsd
URL: http://svn.apache.org/viewvc/uima/sandbox/ruta/trunk/ruta-ep-ide-ui/schema/rutaSemanticHighlighting.exsd?rev=1504047&view=auto
==============================================================================
--- uima/sandbox/ruta/trunk/ruta-ep-ide-ui/schema/rutaSemanticHighlighting.exsd (added)
+++ uima/sandbox/ruta/trunk/ruta-ep-ide-ui/schema/rutaSemanticHighlighting.exsd Wed Jul 17 08:28:02 2013
@@ -0,0 +1,120 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<schema targetNamespace="org.apache.uima.ruta.ide" xmlns="http://www.w3.org/2001/XMLSchema">
+<annotation>
+      <appInfo>
+         <meta.schema plugin="org.apache.uima.ruta.ide" id="tmSemanticHighlighting" name="tmSemanticHighlighting"/>
+      </appInfo>
+      <documentation>
+         [Enter description of this extension point.]
+      </documentation>
+   </annotation>
+
+   <element name="extension">
+      <annotation>
+         <appInfo>
+            <meta.element />
+         </appInfo>
+      </annotation>
+      <complexType>
+         <sequence>
+            <element ref="highlightingExtension" minOccurs="1" maxOccurs="unbounded"/>
+         </sequence>
+         <attribute name="point" type="string" use="required">
+            <annotation>
+               <documentation>
+                  
+               </documentation>
+            </annotation>
+         </attribute>
+         <attribute name="id" type="string">
+            <annotation>
+               <documentation>
+                  
+               </documentation>
+            </annotation>
+         </attribute>
+         <attribute name="name" type="string">
+            <annotation>
+               <documentation>
+                  
+               </documentation>
+               <appInfo>
+                  <meta.attribute translatable="true"/>
+               </appInfo>
+            </annotation>
+         </attribute>
+      </complexType>
+   </element>
+
+   <element name="highlightingExtension">
+      <complexType>
+         <attribute name="class" type="string" use="required">
+            <annotation>
+               <documentation>
+                  
+               </documentation>
+               <appInfo>
+                  <meta.attribute kind="java" basedOn=":org.apache.uima.ruta.ide.ui.ISemanticHighlightingExtension"/>
+               </appInfo>
+            </annotation>
+         </attribute>
+      </complexType>
+   </element>
+
+   <annotation>
+      <appInfo>
+         <meta.section type="since"/>
+      </appInfo>
+      <documentation>
+         [Enter the first release in which this extension point appears.]
+      </documentation>
+   </annotation>
+
+   <annotation>
+      <appInfo>
+         <meta.section type="examples"/>
+      </appInfo>
+      <documentation>
+         [Enter extension point usage example here.]
+      </documentation>
+   </annotation>
+
+   <annotation>
+      <appInfo>
+         <meta.section type="apiInfo"/>
+      </appInfo>
+      <documentation>
+         [Enter API information here.]
+      </documentation>
+   </annotation>
+
+   <annotation>
+      <appInfo>
+         <meta.section type="implementation"/>
+      </appInfo>
+      <documentation>
+         [Enter information about supplied implementation of this extension point.]
+      </documentation>
+   </annotation>
+
+
+</schema>

Added: uima/sandbox/ruta/trunk/ruta-ep-ide-ui/src/main/java/org/apache/uima/ruta/ide/RutaIdeUIPlugin.java
URL: http://svn.apache.org/viewvc/uima/sandbox/ruta/trunk/ruta-ep-ide-ui/src/main/java/org/apache/uima/ruta/ide/RutaIdeUIPlugin.java?rev=1504047&view=auto
==============================================================================
--- uima/sandbox/ruta/trunk/ruta-ep-ide-ui/src/main/java/org/apache/uima/ruta/ide/RutaIdeUIPlugin.java (added)
+++ uima/sandbox/ruta/trunk/ruta-ep-ide-ui/src/main/java/org/apache/uima/ruta/ide/RutaIdeUIPlugin.java Wed Jul 17 08:28:02 2013
@@ -0,0 +1,215 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.uima.ruta.ide;
+
+import java.io.File;
+import java.io.IOException;
+import java.net.URL;
+import java.util.ArrayList;
+import java.util.List;
+
+import org.apache.uima.ruta.ide.core.RutaNature;
+import org.apache.uima.ruta.ide.launching.GenericRutaInstallType;
+import org.apache.uima.ruta.ide.ui.text.RutaTextTools;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.FileLocator;
+import org.eclipse.core.runtime.IPath;
+import org.eclipse.core.runtime.IStatus;
+import org.eclipse.core.runtime.NullProgressMonitor;
+import org.eclipse.core.runtime.Platform;
+import org.eclipse.core.runtime.Status;
+import org.eclipse.dltk.core.environment.FileAsFileHandle;
+import org.eclipse.dltk.core.environment.IDeployment;
+import org.eclipse.dltk.core.environment.IEnvironment;
+import org.eclipse.dltk.core.environment.IExecutionEnvironment;
+import org.eclipse.dltk.core.environment.IFileHandle;
+import org.eclipse.dltk.core.internal.environment.LocalEnvironment;
+import org.eclipse.dltk.launching.IInterpreterInstall;
+import org.eclipse.dltk.launching.IInterpreterInstallType;
+import org.eclipse.dltk.launching.ScriptRuntime;
+import org.eclipse.dltk.launching.ScriptRuntime.DefaultInterpreterEntry;
+import org.eclipse.ui.IEditorPart;
+import org.eclipse.ui.IEditorReference;
+import org.eclipse.ui.IWorkbench;
+import org.eclipse.ui.IWorkbenchListener;
+import org.eclipse.ui.IWorkbenchPage;
+import org.eclipse.ui.PlatformUI;
+import org.eclipse.ui.plugin.AbstractUIPlugin;
+import org.osgi.framework.Bundle;
+import org.osgi.framework.BundleContext;
+import org.osgi.service.packageadmin.PackageAdmin;
+
+/**
+ * The activator class controls the plug-in life cycle
+ */
+public class RutaIdeUIPlugin extends AbstractUIPlugin {
+
+  // The plug-in ID
+  public static final String PLUGIN_ID = "org.apache.uima.ruta.ide.ui"; //$NON-NLS-1$
+
+  private RutaTextTools textTools;
+
+  private BundleContext bundleContext;
+
+  // The shared instance
+  private static RutaIdeUIPlugin plugin;
+
+  /**
+   * The constructor
+   */
+  public RutaIdeUIPlugin() {
+  }
+
+  /*
+   * (non-Javadoc)
+   * 
+   * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
+   */
+  public void start(BundleContext context) throws Exception {
+    super.start(context);
+    plugin = this;
+    bundleContext = context;
+
+    checkRutaInterpreter();
+
+//    IWorkbench workbench = PlatformUI.getWorkbench();
+//    workbench.addWorkbenchListener(new IWorkbenchListener() {
+//      public boolean preShutdown(IWorkbench workbench, boolean forced) {
+//        // close all CAS Editors if on is focused when exiting Eclipse
+//        final IWorkbenchPage activePage = workbench.getActiveWorkbenchWindow().getActivePage();
+//        IEditorPart activeEditor = activePage.getActiveEditor();
+//        if (activeEditor != null
+//                && activeEditor.getClass().getName()
+//                        .equals("org.apache.uima.caseditor.editor.AnnotationEditor")) {
+//          IEditorReference[] editorReferences = activePage.getEditorReferences();
+//          List<IEditorReference> toClose = new ArrayList<IEditorReference>();
+//          for (IEditorReference each : editorReferences) {
+//            if (each.getId().equals("org.apache.uima.caseditor.editor")) {
+//              toClose.add(each);
+//            }
+//          }
+//          activePage.closeEditors(toClose.toArray(new IEditorReference[0]), true);
+//        }
+//        return true;
+//      }
+//
+//      public void postShutdown(IWorkbench workbench) {
+//
+//      }
+//    });
+  }
+
+  /*
+   * (non-Javadoc)
+   * 
+   * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
+   */
+  public void stop(BundleContext context) throws Exception {
+    plugin = null;
+    super.stop(context);
+  }
+
+  /**
+   * Returns the shared instance
+   * 
+   * @return the shared instance
+   */
+  public static RutaIdeUIPlugin getDefault() {
+    return plugin;
+  }
+
+  public synchronized RutaTextTools getTextTools() {
+    if (textTools == null)
+      textTools = new RutaTextTools(true);
+    return textTools;
+  }
+
+  public static void error(String message, Throwable t) {
+    plugin.getLog().log(new Status(IStatus.ERROR, PLUGIN_ID, IStatus.OK, message, t));
+  }
+
+  public static void error(Throwable t) {
+    error(t.getMessage(), t);
+  }
+
+  public IFileHandle getConsoleProxy(IExecutionEnvironment exeEnv) throws IOException {
+    IDeployment deployment = exeEnv.createDeployment();
+    IPath path = deployment.add(this.getBundle(), "console");
+    path.append("ConsoleProxy.ruta");
+    return deployment.getFile(path);
+  }
+
+  public Bundle getBundle(String bundleName) {
+    Bundle[] bundles = getBundles(bundleName, null);
+    if (bundles != null && bundles.length > 0)
+      return bundles[0];
+    return null;
+  }
+
+  public Bundle[] getBundles(String bundleName, String version) {
+    Bundle[] bundles = Platform.getBundles(bundleName, version);
+    if (bundles != null)
+      return bundles;
+    // Accessing bundle which is not resolved
+    PackageAdmin admin = (PackageAdmin) bundleContext.getService(bundleContext
+            .getServiceReference(PackageAdmin.class.getName()));
+    bundles = admin.getBundles(bundleName, version);
+    if (bundles != null && bundles.length > 0)
+      return bundles;
+    return null;
+  }
+
+  public String pluginIdToJarPath(String pluginId) throws IOException {
+    Bundle bundle = getBundle(pluginId);
+    URL url = bundle.getEntry("/");
+    if (url == null) {
+      throw new IOException();
+    }
+    return FileLocator.toFileURL(url).getFile();
+  }
+
+  private void checkRutaInterpreter() throws IOException, CoreException {
+    // TODO move this method... it is called way too early when eclipse starts
+    IEnvironment localEnv = LocalEnvironment.getInstance();
+    DefaultInterpreterEntry defaultInterpreterEntry = new DefaultInterpreterEntry(
+            RutaNature.NATURE_ID, localEnv.getId());
+    IInterpreterInstall defaultInterpreterInstall = null;
+    try {
+      defaultInterpreterInstall = ScriptRuntime
+              .getDefaultInterpreterInstall(defaultInterpreterEntry);
+    } catch (Exception e) {
+      error(e);
+    }
+    if(defaultInterpreterInstall == null) {
+      // initialized too early
+      return;
+    }
+    IFileHandle rawInstallLocation = defaultInterpreterInstall.getRawInstallLocation();
+    if (!rawInstallLocation.exists()) {
+      String pluginIdToJarPath = pluginIdToJarPath(RutaIdeUIPlugin.PLUGIN_ID);
+      FileAsFileHandle fh = new FileAsFileHandle(new File(pluginIdToJarPath));
+      defaultInterpreterInstall.setInstallLocation(fh);
+      ScriptRuntime.setDefaultInterpreterInstall(defaultInterpreterInstall,
+              new NullProgressMonitor());
+
+    }
+  }
+
+}

Added: uima/sandbox/ruta/trunk/ruta-ep-ide-ui/src/main/java/org/apache/uima/ruta/ide/debug/RutaDebugConstants.java
URL: http://svn.apache.org/viewvc/uima/sandbox/ruta/trunk/ruta-ep-ide-ui/src/main/java/org/apache/uima/ruta/ide/debug/RutaDebugConstants.java?rev=1504047&view=auto
==============================================================================
--- uima/sandbox/ruta/trunk/ruta-ep-ide-ui/src/main/java/org/apache/uima/ruta/ide/debug/RutaDebugConstants.java (added)
+++ uima/sandbox/ruta/trunk/ruta-ep-ide-ui/src/main/java/org/apache/uima/ruta/ide/debug/RutaDebugConstants.java Wed Jul 17 08:28:02 2013
@@ -0,0 +1,29 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.uima.ruta.ide.debug;
+
+public final class RutaDebugConstants {
+  private RutaDebugConstants() {
+  }
+
+  public static final String DEBUG_MODEL_ID = "org.eclipse.dltk.debug.rutaModel";
+
+  public static final String DEBUGGING_ENGINE_ID_KEY = "debugging_engine_id";
+}

Added: uima/sandbox/ruta/trunk/ruta-ep-ide-ui/src/main/java/org/apache/uima/ruta/ide/debug/RutaDebugPreferenceInitializer.java
URL: http://svn.apache.org/viewvc/uima/sandbox/ruta/trunk/ruta-ep-ide-ui/src/main/java/org/apache/uima/ruta/ide/debug/RutaDebugPreferenceInitializer.java?rev=1504047&view=auto
==============================================================================
--- uima/sandbox/ruta/trunk/ruta-ep-ide-ui/src/main/java/org/apache/uima/ruta/ide/debug/RutaDebugPreferenceInitializer.java (added)
+++ uima/sandbox/ruta/trunk/ruta-ep-ide-ui/src/main/java/org/apache/uima/ruta/ide/debug/RutaDebugPreferenceInitializer.java Wed Jul 17 08:28:02 2013
@@ -0,0 +1,41 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.uima.ruta.ide.debug;
+
+import org.apache.uima.ruta.ide.RutaIdeUIPlugin;
+import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer;
+import org.eclipse.dltk.debug.core.DLTKDebugPreferenceConstants;
+import org.eclipse.jface.preference.IPreferenceStore;
+
+public class RutaDebugPreferenceInitializer extends AbstractPreferenceInitializer {
+
+  public void initializeDefaultPreferences() {
+    // Preferences store = RutaIdePlugin.getDefault().getPluginPreferences();
+    IPreferenceStore store = RutaIdeUIPlugin.getDefault().getPreferenceStore();
+    store.setDefault(RutaDebugConstants.DEBUGGING_ENGINE_ID_KEY, "");
+
+    store.setDefault(DLTKDebugPreferenceConstants.PREF_DBGP_BREAK_ON_FIRST_LINE, false);
+    store.setDefault(DLTKDebugPreferenceConstants.PREF_DBGP_ENABLE_LOGGING, false);
+
+    store.setDefault(DLTKDebugPreferenceConstants.PREF_DBGP_SHOW_SCOPE_GLOBAL, true);
+    store.setDefault(DLTKDebugPreferenceConstants.PREF_DBGP_SHOW_SCOPE_CLASS, true);
+    store.setDefault(DLTKDebugPreferenceConstants.PREF_DBGP_SHOW_SCOPE_LOCAL, true);
+  }
+}