uima-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jo...@apache.org
Subject svn commit: r1152804 [13/15] - in /uima/sandbox/trunk/TextMarker: org.apache.uima.tm.dltk.debug.ui/ org.apache.uima.tm.dltk.debug.ui/META-INF/ org.apache.uima.tm.dltk.debug.ui/bin/ org.apache.uima.tm.dltk.debug.ui/icons/ org.apache.uima.tm.dltk.debug.u...
Date Mon, 01 Aug 2011 14:38:36 GMT
Propchange: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/text/messages.properties
------------------------------------------------------------------------------
    svn:executable = *

Propchange: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/text/messages.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/BasicEngine.xml
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/BasicEngine.xml?rev=1152804&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/BasicEngine.xml (added)
+++ uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/BasicEngine.xml Mon Aug  1 14:37:34 2011
@@ -0,0 +1,211 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<analysisEngineDescription xmlns="http://uima.apache.org/resourceSpecifier">
+  <frameworkImplementation>org.apache.uima.java</frameworkImplementation>
+  <primitive>true</primitive>
+  <annotatorImplementationName>org.apache.uima.tm.textmarker.engine.TextMarkerEngine</annotatorImplementationName>
+  <analysisEngineMetaData>
+    <name>BasicEngine</name>
+    <description/>
+    <version>1.0</version>
+    <vendor/>
+    <configurationParameters searchStrategy="language_fallback">
+      <configurationParameter>
+        <name>seeders</name>
+        <type>String</type>
+        <multiValued>true</multiValued>
+        <mandatory>false</mandatory>
+      </configurationParameter>
+      <configurationParameter>
+        <name>debug</name>
+        <type>Boolean</type>
+        <multiValued>false</multiValued>
+        <mandatory>false</mandatory>
+      </configurationParameter>
+      <configurationParameter>
+        <name>style</name>
+        <type>Boolean</type>
+        <multiValued>false</multiValued>
+        <mandatory>false</mandatory>
+      </configurationParameter>
+      <configurationParameter>
+        <name>styleMap</name>
+        <type>String</type>
+        <multiValued>false</multiValued>
+        <mandatory>false</mandatory>
+      </configurationParameter>
+      <configurationParameter>
+        <name>additionalScripts</name>
+        <type>String</type>
+        <multiValued>true</multiValued>
+        <mandatory>false</mandatory>
+      </configurationParameter>
+      <configurationParameter>
+        <name>profile</name>
+        <type>Boolean</type>
+        <multiValued>false</multiValued>
+        <mandatory>false</mandatory>
+      </configurationParameter>
+      <configurationParameter>
+        <name>debugWithMatches</name>
+        <type>Boolean</type>
+        <multiValued>false</multiValued>
+        <mandatory>false</mandatory>
+      </configurationParameter>
+      <configurationParameter>
+        <name>statistics</name>
+        <type>Boolean</type>
+        <multiValued>false</multiValued>
+        <mandatory>false</mandatory>
+      </configurationParameter>
+      <configurationParameter>
+        <name>additionalEngines</name>
+        <type>String</type>
+        <multiValued>true</multiValued>
+        <mandatory>false</mandatory>
+      </configurationParameter>
+      <configurationParameter>
+        <name>additionalExtensions</name>
+        <type>String</type>
+        <multiValued>true</multiValued>
+        <mandatory>false</mandatory>
+      </configurationParameter>
+      <configurationParameter>
+        <name>debugOnlyFor</name>
+        <type>String</type>
+        <multiValued>true</multiValued>
+        <mandatory>false</mandatory>
+      </configurationParameter>
+      <configurationParameter>
+        <name>scriptEncoding</name>
+        <type>String</type>
+        <multiValued>false</multiValued>
+        <mandatory>false</mandatory>
+      </configurationParameter>
+      <configurationParameter>
+        <name>additionalEngineLoaders</name>
+        <type>String</type>
+        <multiValued>true</multiValued>
+        <mandatory>false</mandatory>
+      </configurationParameter>
+      <configurationParameter>
+        <name>resourcePaths</name>
+        <type>String</type>
+        <multiValued>true</multiValued>
+        <mandatory>false</mandatory>
+      </configurationParameter>
+      <configurationParameter>
+        <name>defaultFilteredTypes</name>
+        <type>String</type>
+        <multiValued>true</multiValued>
+        <mandatory>false</mandatory>
+      </configurationParameter>
+      <configurationParameter>
+        <name>defaultFilteredMarkups</name>
+        <type>String</type>
+        <multiValued>true</multiValued>
+        <mandatory>false</mandatory>
+      </configurationParameter>
+      <configurationParameter>
+        <name>mainScript</name>
+        <type>String</type>
+        <multiValued>false</multiValued>
+        <mandatory>false</mandatory>
+      </configurationParameter>
+      <configurationParameter>
+        <name>scriptPaths</name>
+        <type>String</type>
+        <multiValued>true</multiValued>
+        <mandatory>false</mandatory>
+      </configurationParameter>
+      <configurationParameter>
+        <name>descriptorPaths</name>
+        <type>String</type>
+        <multiValued>true</multiValued>
+        <mandatory>false</mandatory>
+      </configurationParameter>
+      <configurationParameter>
+        <name>useBasics</name>
+        <type>String</type>
+        <multiValued>false</multiValued>
+        <mandatory>false</mandatory>
+      </configurationParameter>
+      <configurationParameter>
+        <name>removeBasics</name>
+        <type>Boolean</type>
+        <multiValued>false</multiValued>
+        <mandatory>false</mandatory>
+      </configurationParameter>
+    </configurationParameters>
+    <configurationParameterSettings>
+      <nameValuePair>
+        <name>debug</name>
+        <value>
+          <boolean>false</boolean>
+        </value>
+      </nameValuePair>
+      <nameValuePair>
+        <name>profile</name>
+        <value>
+          <boolean>false</boolean>
+        </value>
+      </nameValuePair>
+      <nameValuePair>
+        <name>debugWithMatches</name>
+        <value>
+          <boolean>true</boolean>
+        </value>
+      </nameValuePair>
+      <nameValuePair>
+        <name>defaultFilteredTypes</name>
+        <value>
+          <array>
+            <string>org.apache.uima.tm.type.SPACE</string>
+            <string>org.apache.uima.tm.type.NBSP</string>
+            <string>org.apache.uima.tm.type.BREAK</string>
+            <string>org.apache.uima.tm.type.MARKUP</string>
+          </array>
+        </value>
+      </nameValuePair>
+      <nameValuePair>
+        <name>removeBasics</name>
+        <value>
+          <boolean>false</boolean>
+        </value>
+      </nameValuePair>
+      <nameValuePair>
+        <name>seeders</name>
+        <value>
+          <array>
+            <string>org.apache.uima.tm.textmarker.seed.DefaultSeeder</string>
+          </array>
+        </value>
+      </nameValuePair>
+    </configurationParameterSettings>
+    <typeSystemDescription>
+      <imports>
+        <import location="BasicTypeSystem.xml"/>
+      </imports>
+    </typeSystemDescription>
+    <typePriorities>
+      <priorityList>
+        <type>org.apache.uima.tm.textmarker.kernel.type.TextMarkerFrame</type>
+        <type>uima.tcas.Annotation</type>
+        <type>org.apache.uima.tm.textmarker.kernel.type.TextMarkerBasic</type>
+      </priorityList>
+    </typePriorities>
+    <fsIndexCollection/>
+    <capabilities>
+      <capability>
+        <inputs/>
+        <outputs/>
+        <languagesSupported/>
+      </capability>
+    </capabilities>
+    <operationalProperties>
+      <modifiesCas>true</modifiesCas>
+      <multipleDeploymentAllowed>true</multipleDeploymentAllowed>
+      <outputsNewCASes>true</outputsNewCASes>
+    </operationalProperties>
+  </analysisEngineMetaData>
+  <resourceManagerConfiguration/>
+</analysisEngineDescription>

Propchange: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/BasicEngine.xml
------------------------------------------------------------------------------
    svn:executable = *

Propchange: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/BasicEngine.xml
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/BasicTypeSystem.xml
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/BasicTypeSystem.xml?rev=1152804&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/BasicTypeSystem.xml (added)
+++ uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/BasicTypeSystem.xml Mon Aug  1 14:37:34 2011
@@ -0,0 +1,132 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<typeSystemDescription xmlns="http://uima.apache.org/resourceSpecifier">
+  <name>BasicTypeSystem</name>
+  <description/>
+  <version>1.0</version>
+  <vendor/>
+  <imports>
+    <import location="InternalTypeSystem.xml"/>
+  </imports>
+  <types>
+    <typeDescription>
+      <name>org.apache.uima.tm.type.ALL</name>
+      <description/>
+      <supertypeName>org.apache.uima.tm.type.BasicAnnotation</supertypeName>
+    </typeDescription>
+    <typeDescription>
+      <name>org.apache.uima.tm.type.ANY</name>
+      <description/>
+      <supertypeName>org.apache.uima.tm.type.ALL</supertypeName>
+    </typeDescription>
+    <typeDescription>
+      <name>org.apache.uima.tm.type.MARKUP</name>
+      <description/>
+      <supertypeName>org.apache.uima.tm.type.ALL</supertypeName>
+    </typeDescription>
+    <typeDescription>
+      <name>org.apache.uima.tm.type.CW</name>
+      <description/>
+      <supertypeName>org.apache.uima.tm.type.W</supertypeName>
+    </typeDescription>
+    <typeDescription>
+      <name>org.apache.uima.tm.type.W</name>
+      <description/>
+      <supertypeName>org.apache.uima.tm.type.ANY</supertypeName>
+    </typeDescription>
+    <typeDescription>
+      <name>org.apache.uima.tm.type.SW</name>
+      <description/>
+      <supertypeName>org.apache.uima.tm.type.W</supertypeName>
+    </typeDescription>
+    <typeDescription>
+      <name>org.apache.uima.tm.type.PM</name>
+      <description/>
+      <supertypeName>org.apache.uima.tm.type.ANY</supertypeName>
+    </typeDescription>
+    <typeDescription>
+      <name>org.apache.uima.tm.type.CAP</name>
+      <description/>
+      <supertypeName>org.apache.uima.tm.type.W</supertypeName>
+    </typeDescription>
+    <typeDescription>
+      <name>org.apache.uima.tm.type.COLON</name>
+      <description/>
+      <supertypeName>org.apache.uima.tm.type.PM</supertypeName>
+    </typeDescription>
+    <typeDescription>
+      <name>org.apache.uima.tm.type.PERIOD</name>
+      <description/>
+      <supertypeName>org.apache.uima.tm.type.SENTENCEEND</supertypeName>
+    </typeDescription>
+    <typeDescription>
+      <name>org.apache.uima.tm.type.SENTENCEEND</name>
+      <description/>
+      <supertypeName>org.apache.uima.tm.type.PM</supertypeName>
+    </typeDescription>
+    <typeDescription>
+      <name>org.apache.uima.tm.type.QUESTION</name>
+      <description/>
+      <supertypeName>org.apache.uima.tm.type.SENTENCEEND</supertypeName>
+    </typeDescription>
+    <typeDescription>
+      <name>org.apache.uima.tm.type.COMMA</name>
+      <description/>
+      <supertypeName>org.apache.uima.tm.type.PM</supertypeName>
+    </typeDescription>
+    <typeDescription>
+      <name>org.apache.uima.tm.type.EXCLAMATION</name>
+      <description/>
+      <supertypeName>org.apache.uima.tm.type.SENTENCEEND</supertypeName>
+    </typeDescription>
+    <typeDescription>
+      <name>org.apache.uima.tm.type.SEMICOLON</name>
+      <description/>
+      <supertypeName>org.apache.uima.tm.type.PM</supertypeName>
+    </typeDescription>
+    <typeDescription>
+      <name>org.apache.uima.tm.type.WS</name>
+      <description/>
+      <supertypeName>org.apache.uima.tm.type.ANY</supertypeName>
+    </typeDescription>
+    <typeDescription>
+      <name>org.apache.uima.tm.type.NUM</name>
+      <description/>
+      <supertypeName>org.apache.uima.tm.type.ANY</supertypeName>
+    </typeDescription>
+    <typeDescription>
+      <name>org.apache.uima.tm.type.SPECIAL</name>
+      <description/>
+      <supertypeName>org.apache.uima.tm.type.ANY</supertypeName>
+    </typeDescription>
+    <typeDescription>
+      <name>org.apache.uima.tm.type.NBSP</name>
+      <description/>
+      <supertypeName>org.apache.uima.tm.type.ANY</supertypeName>
+    </typeDescription>
+    <typeDescription>
+      <name>org.apache.uima.tm.type.AMP</name>
+      <description/>
+      <supertypeName>org.apache.uima.tm.type.ANY</supertypeName>
+    </typeDescription>
+    <typeDescription>
+      <name>org.apache.uima.tm.type.SPACE</name>
+      <description/>
+      <supertypeName>org.apache.uima.tm.type.WS</supertypeName>
+    </typeDescription>
+    <typeDescription>
+      <name>org.apache.uima.tm.type.BREAK</name>
+      <description/>
+      <supertypeName>org.apache.uima.tm.type.WS</supertypeName>
+    </typeDescription>
+    <typeDescription>
+      <name>org.apache.uima.tm.type.Document</name>
+      <description/>
+      <supertypeName>uima.tcas.DocumentAnnotation</supertypeName>
+    </typeDescription>
+    <typeDescription>
+      <name>org.apache.uima.tm.type.BasicAnnotation</name>
+      <description/>
+      <supertypeName>org.apache.uima.tm.textmarker.kernel.type.TextMarkerBasic</supertypeName>
+    </typeDescription>
+  </types>
+</typeSystemDescription>

Propchange: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/BasicTypeSystem.xml
------------------------------------------------------------------------------
    svn:executable = *

Propchange: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/BasicTypeSystem.xml
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/InternalTypeSystem.xml
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/InternalTypeSystem.xml?rev=1152804&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/InternalTypeSystem.xml (added)
+++ uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/InternalTypeSystem.xml Mon Aug  1 14:37:34 2011
@@ -0,0 +1,277 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<typeSystemDescription xmlns="http://uima.apache.org/resourceSpecifier">
+  <name>InternalTypeSystem</name>
+  <description/>
+  <version>1.0</version>
+  <vendor/>
+  <types>
+    <typeDescription>
+      <name>org.apache.uima.tm.textmarker.kernel.type.TextMarkerBasic</name>
+      <description/>
+      <supertypeName>uima.tcas.Annotation</supertypeName>
+      <features>
+        <featureDescription>
+          <name>replacement</name>
+          <description/>
+          <rangeTypeName>uima.cas.String</rangeTypeName>
+        </featureDescription>
+      </features>
+    </typeDescription>
+    <typeDescription>
+      <name>org.apache.uima.tm.textmarker.kernel.type.TextMarkerAnnotation</name>
+      <description/>
+      <supertypeName>uima.tcas.Annotation</supertypeName>
+      <features>
+        <featureDescription>
+          <name>score</name>
+          <description/>
+          <rangeTypeName>uima.cas.Double</rangeTypeName>
+        </featureDescription>
+        <featureDescription>
+          <name>annotation</name>
+          <description/>
+          <rangeTypeName>uima.tcas.Annotation</rangeTypeName>
+        </featureDescription>
+      </features>
+    </typeDescription>
+    <typeDescription>
+      <name>org.apache.uima.tm.textmarker.kernel.type.DebugRuleApply</name>
+      <description/>
+      <supertypeName>org.apache.uima.tm.textmarker.kernel.type.DebugScriptApply</supertypeName>
+      <features>
+        <featureDescription>
+          <name>applied</name>
+          <description/>
+          <rangeTypeName>uima.cas.Integer</rangeTypeName>
+        </featureDescription>
+        <featureDescription>
+          <name>tried</name>
+          <description/>
+          <rangeTypeName>uima.cas.Integer</rangeTypeName>
+        </featureDescription>
+        <featureDescription>
+          <name>rules</name>
+          <description/>
+          <rangeTypeName>uima.cas.FSArray</rangeTypeName>
+          <elementType>org.apache.uima.tm.textmarker.kernel.type.DebugRuleMatch</elementType>
+        </featureDescription>
+      </features>
+    </typeDescription>
+    <typeDescription>
+      <name>org.apache.uima.tm.textmarker.kernel.type.DebugRuleMatch</name>
+      <description/>
+      <supertypeName>org.apache.uima.tm.textmarker.kernel.type.ProfiledAnnotation</supertypeName>
+      <features>
+        <featureDescription>
+          <name>elements</name>
+          <description/>
+          <rangeTypeName>uima.cas.FSArray</rangeTypeName>
+          <elementType>org.apache.uima.tm.textmarker.kernel.type.DebugRuleElementMatches</elementType>
+        </featureDescription>
+        <featureDescription>
+          <name>matched</name>
+          <description/>
+          <rangeTypeName>uima.cas.Boolean</rangeTypeName>
+        </featureDescription>
+        <featureDescription>
+          <name>delegates</name>
+          <description/>
+          <rangeTypeName>uima.cas.FSArray</rangeTypeName>
+          <elementType>org.apache.uima.tm.textmarker.kernel.type.DebugScriptApply</elementType>
+        </featureDescription>
+      </features>
+    </typeDescription>
+    <typeDescription>
+      <name>org.apache.uima.tm.textmarker.kernel.type.DebugScriptApply</name>
+      <description/>
+      <supertypeName>org.apache.uima.tm.textmarker.kernel.type.ProfiledAnnotation</supertypeName>
+      <features>
+        <featureDescription>
+          <name>element</name>
+          <description/>
+          <rangeTypeName>uima.cas.String</rangeTypeName>
+        </featureDescription>
+      </features>
+    </typeDescription>
+    <typeDescription>
+      <name>org.apache.uima.tm.textmarker.kernel.type.DebugBlockApply</name>
+      <description/>
+      <supertypeName>org.apache.uima.tm.textmarker.kernel.type.DebugRuleApply</supertypeName>
+      <features>
+        <featureDescription>
+          <name>innerApply</name>
+          <description/>
+          <rangeTypeName>uima.cas.FSArray</rangeTypeName>
+          <elementType>org.apache.uima.tm.textmarker.kernel.type.DebugScriptApply</elementType>
+        </featureDescription>
+      </features>
+    </typeDescription>
+    <typeDescription>
+      <name>org.apache.uima.tm.textmarker.kernel.type.DebugRuleElementMatch</name>
+      <description/>
+      <supertypeName>org.apache.uima.tm.textmarker.kernel.type.ProfiledAnnotation</supertypeName>
+      <features>
+        <featureDescription>
+          <name>baseCondition</name>
+          <description/>
+          <rangeTypeName>org.apache.uima.tm.textmarker.kernel.type.DebugEvaluatedCondition</rangeTypeName>
+        </featureDescription>
+        <featureDescription>
+          <name>conditions</name>
+          <description/>
+          <rangeTypeName>uima.cas.FSArray</rangeTypeName>
+          <elementType>org.apache.uima.tm.textmarker.kernel.type.DebugEvaluatedCondition</elementType>
+        </featureDescription>
+      </features>
+    </typeDescription>
+    <typeDescription>
+      <name>org.apache.uima.tm.textmarker.kernel.type.DebugRuleElementMatches</name>
+      <description/>
+      <supertypeName>uima.cas.TOP</supertypeName>
+      <features>
+        <featureDescription>
+          <name>matches</name>
+          <description/>
+          <rangeTypeName>uima.cas.FSArray</rangeTypeName>
+          <elementType>org.apache.uima.tm.textmarker.kernel.type.DebugRuleElementMatch</elementType>
+        </featureDescription>
+        <featureDescription>
+          <name>element</name>
+          <description/>
+          <rangeTypeName>uima.cas.String</rangeTypeName>
+        </featureDescription>
+      </features>
+    </typeDescription>
+    <typeDescription>
+      <name>org.apache.uima.tm.textmarker.kernel.type.TextMarkerColoring</name>
+      <description/>
+      <supertypeName>uima.tcas.Annotation</supertypeName>
+      <features>
+        <featureDescription>
+          <name>bgColor</name>
+          <description/>
+          <rangeTypeName>uima.cas.String</rangeTypeName>
+        </featureDescription>
+        <featureDescription>
+          <name>targetType</name>
+          <description/>
+          <rangeTypeName>uima.cas.String</rangeTypeName>
+        </featureDescription>
+        <featureDescription>
+          <name>fgColor</name>
+          <description/>
+          <rangeTypeName>uima.cas.String</rangeTypeName>
+        </featureDescription>
+        <featureDescription>
+          <name>selected</name>
+          <description/>
+          <rangeTypeName>uima.cas.Boolean</rangeTypeName>
+        </featureDescription>
+      </features>
+    </typeDescription>
+    <typeDescription>
+      <name>org.apache.uima.tm.textmarker.kernel.type.DebugEvaluatedCondition</name>
+      <description/>
+      <supertypeName>uima.cas.TOP</supertypeName>
+      <features>
+        <featureDescription>
+          <name>element</name>
+          <description/>
+          <rangeTypeName>uima.cas.String</rangeTypeName>
+        </featureDescription>
+        <featureDescription>
+          <name>value</name>
+          <description/>
+          <rangeTypeName>uima.cas.Boolean</rangeTypeName>
+        </featureDescription>
+        <featureDescription>
+          <name>conditions</name>
+          <description/>
+          <rangeTypeName>uima.cas.FSArray</rangeTypeName>
+          <elementType>org.apache.uima.tm.textmarker.kernel.type.DebugEvaluatedCondition</elementType>
+        </featureDescription>
+      </features>
+    </typeDescription>
+    <typeDescription>
+      <name>org.apache.uima.tm.textmarker.kernel.type.DebugMatchedRuleMatch</name>
+      <description/>
+      <supertypeName>org.apache.uima.tm.textmarker.kernel.type.DebugRuleMatch</supertypeName>
+    </typeDescription>
+    <typeDescription>
+      <name>org.apache.uima.tm.textmarker.kernel.type.DebugFailedRuleMatch</name>
+      <description/>
+      <supertypeName>org.apache.uima.tm.textmarker.kernel.type.DebugRuleMatch</supertypeName>
+    </typeDescription>
+    <typeDescription>
+      <name>org.apache.uima.tm.textmarker.kernel.type.FalsePositive</name>
+      <description/>
+      <supertypeName>org.apache.uima.tm.textmarker.kernel.type.EvalAnnotation</supertypeName>
+    </typeDescription>
+    <typeDescription>
+      <name>org.apache.uima.tm.textmarker.kernel.type.EvalAnnotation</name>
+      <description/>
+      <supertypeName>uima.tcas.Annotation</supertypeName>
+      <features>
+        <featureDescription>
+          <name>original</name>
+          <description/>
+          <rangeTypeName>uima.tcas.Annotation</rangeTypeName>
+        </featureDescription>
+      </features>
+    </typeDescription>
+    <typeDescription>
+      <name>org.apache.uima.tm.textmarker.kernel.type.FalseNegative</name>
+      <description/>
+      <supertypeName>org.apache.uima.tm.textmarker.kernel.type.EvalAnnotation</supertypeName>
+    </typeDescription>
+    <typeDescription>
+      <name>org.apache.uima.tm.textmarker.kernel.type.ProfiledAnnotation</name>
+      <description/>
+      <supertypeName>uima.tcas.Annotation</supertypeName>
+      <features>
+        <featureDescription>
+          <name>time</name>
+          <description/>
+          <rangeTypeName>uima.cas.Long</rangeTypeName>
+        </featureDescription>
+      </features>
+    </typeDescription>
+    <typeDescription>
+      <name>org.apache.uima.tm.textmarker.kernel.type.TextMarkerFrame</name>
+      <description/>
+      <supertypeName>uima.tcas.Annotation</supertypeName>
+    </typeDescription>
+    <typeDescription>
+      <name>org.apache.uima.tm.textmarker.kernel.type.Statistics</name>
+      <description/>
+      <supertypeName>uima.cas.TOP</supertypeName>
+      <features>
+        <featureDescription>
+          <name>name</name>
+          <description/>
+          <rangeTypeName>uima.cas.StringArray</rangeTypeName>
+        </featureDescription>
+        <featureDescription>
+          <name>total</name>
+          <description/>
+          <rangeTypeName>uima.cas.DoubleArray</rangeTypeName>
+        </featureDescription>
+        <featureDescription>
+          <name>amount</name>
+          <description/>
+          <rangeTypeName>uima.cas.IntegerArray</rangeTypeName>
+        </featureDescription>
+        <featureDescription>
+          <name>part</name>
+          <description/>
+          <rangeTypeName>uima.cas.DoubleArray</rangeTypeName>
+        </featureDescription>
+      </features>
+    </typeDescription>
+    <typeDescription>
+      <name>org.apache.uima.tm.textmarker.kernel.type.TruePositive</name>
+      <description/>
+      <supertypeName>org.apache.uima.tm.textmarker.kernel.type.EvalAnnotation</supertypeName>
+    </typeDescription>
+  </types>
+</typeSystemDescription>

Propchange: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/InternalTypeSystem.xml
------------------------------------------------------------------------------
    svn:executable = *

Propchange: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/InternalTypeSystem.xml
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/Modifier.xml
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/Modifier.xml?rev=1152804&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/Modifier.xml (added)
+++ uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/Modifier.xml Mon Aug  1 14:37:34 2011
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<analysisEngineDescription xmlns="http://uima.apache.org/resourceSpecifier">
+  <frameworkImplementation>org.apache.uima.java</frameworkImplementation>
+  <primitive>true</primitive>
+  <annotatorImplementationName>org.apache.uima.tm.textmarker.engine.TextMarkerModifier</annotatorImplementationName>
+  <analysisEngineMetaData>
+    <name>Modifier</name>
+    <description/>
+    <version>1.0</version>
+    <vendor/>
+    <configurationParameters>
+      <configurationParameter>
+        <name>styleMapLocation</name>
+        <type>String</type>
+        <multiValued>false</multiValued>
+        <mandatory>false</mandatory>
+      </configurationParameter>
+      <configurationParameter>
+        <name>enginePaths</name>
+        <type>String</type>
+        <multiValued>true</multiValued>
+        <mandatory>false</mandatory>
+      </configurationParameter>
+    </configurationParameters>
+    <configurationParameterSettings/>
+    <typeSystemDescription/>
+    <typePriorities/>
+    <fsIndexCollection/>
+    <capabilities>
+      <capability>
+        <inputs/>
+        <outputs/>
+        <outputSofas>
+          <sofaName>modified</sofaName>
+        </outputSofas>
+        <languagesSupported/>
+      </capability>
+    </capabilities>
+    <operationalProperties>
+      <modifiesCas>true</modifiesCas>
+      <multipleDeploymentAllowed>true</multipleDeploymentAllowed>
+      <outputsNewCASes>false</outputsNewCASes>
+    </operationalProperties>
+  </analysisEngineMetaData>
+  <resourceManagerConfiguration/>
+</analysisEngineDescription>

Propchange: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/Modifier.xml
------------------------------------------------------------------------------
    svn:executable = *

Propchange: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/Modifier.xml
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/SourceDocumentInformation.xml
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/SourceDocumentInformation.xml?rev=1152804&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/SourceDocumentInformation.xml (added)
+++ uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/SourceDocumentInformation.xml Mon Aug  1 14:37:34 2011
@@ -0,0 +1,58 @@
+<?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.
+	 ***************************************************************
+   -->
+   
+<typeSystemDescription xmlns="http://uima.apache.org/resourceSpecifier">
+	<name>org.apache.uima.examples.SourceDocumentInformation</name>
+	<description>Defines a type for storing information about the original source document from which the current CAS was initialized</description>
+	<version>1.0</version>
+	<vendor>The Apache Software Foundation</vendor>
+	<types>
+		<typeDescription>
+			<name>org.apache.uima.examples.SourceDocumentInformation</name>
+			<description>Stores detailed information about the original source document from which the current CAS was initialized. All information (like size) refers to the source document and not to the document in the CAS which may be converted and filtered by a CAS Initializer. For example this information will be written to the Semantic Search index so that the original document contents can be retrieved by queries.</description>
+			<supertypeName>uima.tcas.Annotation</supertypeName>
+			<features>
+				<featureDescription>
+					<name>uri</name>
+					<description>URI of document. (For example, file:///MyDirectory/myFile.txt for a simple file or http://incubator.apache.org/uima/index.html for content from a web source.)</description>
+					<rangeTypeName>uima.cas.String</rangeTypeName>
+				</featureDescription>
+				<featureDescription>
+					<name>offsetInSource</name>
+					<description>Byte offset of the start of document content within original source file or other input source. Only used if the CAS document was retrieved from an source where one physical source file contained several conceptual documents. Zero otherwise.</description>
+					<rangeTypeName>uima.cas.Integer</rangeTypeName>
+				</featureDescription>
+				<featureDescription>
+					<name>documentSize</name>
+					<description>Size of original document in bytes before processing by CAS Initializer. Either absolute file size of size within file or other source.</description>
+					<rangeTypeName>uima.cas.Integer</rangeTypeName>
+				</featureDescription>
+				<featureDescription>
+				  <name>lastSegment</name>
+				  <description>For a CAS that represents a segment of a larger source document, this flag indicates whether this CAS is the final segment of the source document.  This is useful for downstream components that want to take some action after having seen all of the segments of a particular source document. </description>
+			      <rangeTypeName>uima.cas.Boolean</rangeTypeName>
+			    </featureDescription>				
+			</features>
+		</typeDescription>
+	</types>
+</typeSystemDescription>
\ No newline at end of file

Propchange: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/SourceDocumentInformation.xml
------------------------------------------------------------------------------
    svn:executable = *

Propchange: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/SourceDocumentInformation.xml
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/TextMarkerFileCreationPage.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/TextMarkerFileCreationPage.java?rev=1152804&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/TextMarkerFileCreationPage.java (added)
+++ uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/TextMarkerFileCreationPage.java Mon Aug  1 14:37:34 2011
@@ -0,0 +1,45 @@
+package org.apache.uima.tm.dltk.internal.ui.wizards;
+
+import org.apache.uima.tm.dltk.core.TextMarkerNature;
+import org.eclipse.core.runtime.IPath;
+import org.eclipse.dltk.core.IModelElement;
+import org.eclipse.dltk.core.IScriptFolder;
+import org.eclipse.dltk.ui.wizards.NewSourceModulePage;
+
+
+public class TextMarkerFileCreationPage extends NewSourceModulePage {
+
+  @Override
+  protected String getPageDescription() {
+    return "This wizard creates a new TextMarker script file.";
+  }
+
+  @Override
+  protected String getFileContent() {
+    StringBuilder sb = new StringBuilder();
+    sb.append("PACKAGE ");
+    IScriptFolder scriptFolder = getScriptFolder();
+    IModelElement ancestor = scriptFolder.getAncestor(IModelElement.PROJECT_FRAGMENT);
+    IPath path = ancestor.getPath().removeFirstSegments(1);
+    String pathString = "";
+    for (int i = 1; i < path.segments().length; i++) {
+      pathString += path.segments()[i];
+      if (i < path.segments().length - 1) {
+        pathString += ".";
+      }
+    }
+    sb.append(pathString);
+    sb.append(";\n");
+    return sb.toString();
+  }
+
+  @Override
+  protected String getRequiredNature() {
+    return TextMarkerNature.NATURE_ID;
+  }
+
+  @Override
+  protected String getPageTitle() {
+    return "Create a new TextMarker script file";
+  }
+}

Propchange: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/TextMarkerFileCreationPage.java
------------------------------------------------------------------------------
    svn:executable = *

Propchange: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/TextMarkerFileCreationPage.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/TextMarkerFileCreationWizard.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/TextMarkerFileCreationWizard.java?rev=1152804&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/TextMarkerFileCreationWizard.java (added)
+++ uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/TextMarkerFileCreationWizard.java Mon Aug  1 14:37:34 2011
@@ -0,0 +1,22 @@
+package org.apache.uima.tm.dltk.internal.ui.wizards;
+
+import org.apache.uima.tm.dltk.internal.ui.TextMarkerImages;
+import org.eclipse.dltk.ui.DLTKUIPlugin;
+import org.eclipse.dltk.ui.wizards.NewSourceModulePage;
+import org.eclipse.dltk.ui.wizards.NewSourceModuleWizard;
+
+
+public class TextMarkerFileCreationWizard extends NewSourceModuleWizard {
+  public static final String ID_WIZARD = "org.apache.uima.tm.dltk.internal.ui.wizards.TextMarkerFileCreationWizard";
+
+  public TextMarkerFileCreationWizard() {
+    setDefaultPageImageDescriptor(TextMarkerImages.DESC_WIZBAN_FILE_CREATION);
+    setDialogSettings(DLTKUIPlugin.getDefault().getDialogSettings());
+    setWindowTitle("Create TextMarker File");
+  }
+
+  @Override
+  protected NewSourceModulePage createNewSourceModulePage() {
+    return new TextMarkerFileCreationPage();
+  }
+}

Propchange: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/TextMarkerFileCreationWizard.java
------------------------------------------------------------------------------
    svn:executable = *

Propchange: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/TextMarkerFileCreationWizard.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/TextMarkerPackageCreationWizard.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/TextMarkerPackageCreationWizard.java?rev=1152804&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/TextMarkerPackageCreationWizard.java (added)
+++ uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/TextMarkerPackageCreationWizard.java Mon Aug  1 14:37:34 2011
@@ -0,0 +1,46 @@
+package org.apache.uima.tm.dltk.internal.ui.wizards;
+
+import org.apache.uima.tm.dltk.core.TextMarkerNature;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.core.runtime.NullProgressMonitor;
+import org.eclipse.dltk.core.IProjectFragment;
+import org.eclipse.dltk.ui.wizards.NewPackageCreationWizard;
+import org.eclipse.dltk.ui.wizards.NewPackageWizardPage;
+import org.eclipse.jface.viewers.IStructuredSelection;
+
+
+public class TextMarkerPackageCreationWizard extends NewPackageCreationWizard {
+  public static final String ID_WIZARD = "org.apache.uima.tm.dltk.ui.wizards.NewPackageCreationWizard";
+
+  @Override
+  protected NewPackageWizardPage createNewPackageWizardPage() {
+    return new NewPackageWizardPage() {
+      @Override
+      public void createPackage(IProgressMonitor monitor) throws CoreException,
+              InterruptedException {
+        if (monitor == null) {
+          monitor = new NullProgressMonitor();
+        }
+        IProjectFragment root = getProjectFragment();
+        String packName = getPackageText();
+        packName = packName.replaceAll("[.]", "/");
+        fCreatedScriptFolder = root.createScriptFolder(packName, true, monitor);
+        if (monitor.isCanceled()) {
+          throw new InterruptedException();
+        }
+      }
+
+      @Override
+      protected String getRequiredNature() {
+        return TextMarkerNature.NATURE_ID;
+      }
+
+      @Override
+      public void init(IStructuredSelection selection) {
+        super.init(selection);
+        setPackageText("", true);
+      }
+    };
+  }
+}

Propchange: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/TextMarkerPackageCreationWizard.java
------------------------------------------------------------------------------
    svn:executable = *

Propchange: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/TextMarkerPackageCreationWizard.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/TextMarkerProjectCreationWizard.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/TextMarkerProjectCreationWizard.java?rev=1152804&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/TextMarkerProjectCreationWizard.java (added)
+++ uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/TextMarkerProjectCreationWizard.java Mon Aug  1 14:37:34 2011
@@ -0,0 +1,239 @@
+package org.apache.uima.tm.dltk.internal.ui.wizards;
+
+import java.io.File;
+import java.io.FileOutputStream;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.OutputStream;
+import java.util.ArrayList;
+import java.util.List;
+
+import org.apache.uima.tm.dltk.internal.core.builder.TextMarkerProjectUtils;
+import org.apache.uima.tm.dltk.internal.ui.TextMarkerImages;
+import org.eclipse.core.resources.IFolder;
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.resources.IResource;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.IConfigurationElement;
+import org.eclipse.core.runtime.IExecutableExtension;
+import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.core.runtime.SubProgressMonitor;
+import org.eclipse.dltk.core.DLTKCore;
+import org.eclipse.dltk.core.IBuildpathEntry;
+import org.eclipse.dltk.core.IModelElement;
+import org.eclipse.dltk.internal.ui.util.CoreUtility;
+import org.eclipse.dltk.internal.ui.wizards.buildpath.BPListElement;
+import org.eclipse.dltk.ui.DLTKUIPlugin;
+import org.eclipse.dltk.ui.wizards.BuildpathsBlock;
+import org.eclipse.dltk.ui.wizards.NewElementWizard;
+import org.eclipse.dltk.ui.wizards.ProjectWizardFirstPage;
+import org.eclipse.dltk.ui.wizards.ProjectWizardSecondPage;
+import org.eclipse.ui.INewWizard;
+import org.eclipse.ui.wizards.newresource.BasicNewProjectResourceWizard;
+
+
+public class TextMarkerProjectCreationWizard extends NewElementWizard implements INewWizard,
+        IExecutableExtension {
+
+  public static final String ID_WIZARD = "org.apache.uima.tm.dltk.internal.ui.wizards.TextMarkerProjectWizard"; //$NON-NLS-1$
+
+  private ProjectWizardFirstPage fFirstPage;
+
+  private ProjectWizardSecondPage fSecondPage;
+
+  private IConfigurationElement fConfigElement;
+
+  public TextMarkerProjectCreationWizard() {
+    setDefaultPageImageDescriptor(TextMarkerImages.DESC_WIZBAN_PROJECT_CREATION);
+    setDialogSettings(DLTKUIPlugin.getDefault().getDialogSettings());
+    setWindowTitle(TextMarkerWizardMessages.ProjectCreationWizard_title);
+  }
+
+  @Override
+  public void addPages() {
+    super.addPages();
+    fFirstPage = new TextMarkerProjectWizardFirstPage();
+
+    fFirstPage.setTitle(TextMarkerWizardMessages.ProjectCreationWizardFirstPage_title);
+    fFirstPage.setDescription(TextMarkerWizardMessages.ProjectCreationWizardFirstPage_description);
+    addPage(fFirstPage);
+    fSecondPage = new TextMarkerProjectWizardSecondPage(fFirstPage);
+    addPage(fSecondPage);
+  }
+
+  @Override
+  protected void finishPage(IProgressMonitor monitor) throws InterruptedException, CoreException {
+
+    fSecondPage.performFinish(monitor); // use the full progress monitor
+    createProject(monitor);
+  }
+
+  public void createProject(IProgressMonitor monitor) throws CoreException {
+    IProject project = fSecondPage.getScriptProject().getProject();
+    IFolder folder = project.getFolder(TextMarkerProjectUtils.getDefaultInputLocation());
+    if (!folder.exists()) {
+      CoreUtility.createFolder(folder, true, true, new SubProgressMonitor(monitor, 1));
+    }
+    folder = project.getFolder(TextMarkerProjectUtils.getDefaultOutputLocation());
+    if (!folder.exists()) {
+      CoreUtility.createFolder(folder, true, true, new SubProgressMonitor(monitor, 1));
+    }
+    folder = project.getFolder(TextMarkerProjectUtils.getDefaultTestLocation());
+    if (!folder.exists()) {
+      CoreUtility.createFolder(folder, true, true, new SubProgressMonitor(monitor, 1));
+    }
+    IFolder descFolder = project.getFolder(TextMarkerProjectUtils.getDefaultDescriptorLocation());
+    if (!descFolder.exists()) {
+      CoreUtility.createFolder(descFolder, true, true, new SubProgressMonitor(monitor, 1));
+    }
+    IFolder srcFolder = project.getFolder(TextMarkerProjectUtils.getDefaultScriptLocation());
+    if (!srcFolder.exists()) {
+      CoreUtility.createFolder(srcFolder, true, true, new SubProgressMonitor(monitor, 1));
+    }
+    IFolder rsrcFolder = project.getFolder(TextMarkerProjectUtils.getDefaultResourcesLocation());
+    if (!rsrcFolder.exists()) {
+      CoreUtility.createFolder(rsrcFolder, true, true, new SubProgressMonitor(monitor, 1));
+    }
+
+    List<BPListElement> buildpathEntries = new ArrayList<BPListElement>();
+    for (IBuildpathEntry buildpathEntry : fSecondPage.getRawBuildPath()) {
+      BPListElement createFromExisting = BPListElement.createFromExisting(buildpathEntry,
+              fSecondPage.getScriptProject());
+      if (createFromExisting.getBuildpathEntry().getEntryKind() != IBuildpathEntry.BPE_SOURCE) {
+        buildpathEntries.add(createFromExisting);
+      }
+    }
+    IBuildpathEntry newSourceEntry = DLTKCore.newSourceEntry(srcFolder.getFullPath());
+    buildpathEntries.add(BPListElement.createFromExisting(newSourceEntry, fSecondPage
+            .getScriptProject()));
+    // IBuildpathEntry newSourceEntry = DLTKCore.newSourceEntry(descFolder
+    // .getFullPath());
+    // buildpathEntries.add(BPListElement.createFromExisting(newSourceEntry,
+    // fSecondPage.getScriptProject()));
+
+    BuildpathsBlock.flush(buildpathEntries, fSecondPage.getScriptProject(), monitor);
+    copyDescriptors(descFolder);
+    // modifyDescriptors(descFolder, rsrcFolder);
+
+    TextMarkerProjectUtils.setProjectDataPath(project, descFolder);
+
+    descFolder.refreshLocal(IResource.DEPTH_INFINITE, monitor);
+
+  }
+
+  // private void modifyDescriptors(IFolder descFolder, IFolder rsrcFolder) {
+  // File beFile = new File(descFolder.getLocation().toFile(), "BasicEngine.xml");
+  // try {
+  // AnalysisEngineDescription beDescription = UIMAFramework.getXMLParser()
+  // .parseAnalysisEngineDescription(new XMLInputSource(beFile));
+  // String resourcesLocation = rsrcFolder.getRawLocation().makeAbsolute().toFile()
+  // .getAbsolutePath();
+  // beDescription.getAnalysisEngineMetaData().getConfigurationParameterSettings()
+  // .setParameterValue(TextMarkerEngine.RESOURCES_LOCATION, resourcesLocation);
+  // OutputStream out = new FileOutputStream(beFile);
+  // XMLSerializer sax = new XMLSerializer(out);
+  // ContentHandler ch = sax.getContentHandler();
+  // ch.startDocument();
+  // beDescription.toXML(ch);
+  // ch.endDocument();
+  // } catch (Exception e) {
+  // e.printStackTrace();
+  // }
+  // }
+
+  private void copyDescriptors(IFolder descFolder) {
+    InputStream in = null;
+    OutputStream out = null;
+    try {
+      in = this.getClass().getResourceAsStream("BasicTypeSystem.xml");
+      out = new FileOutputStream(new File(descFolder.getLocation().toFile(), "BasicTypeSystem.xml"));
+      if (in != null && out != null) {
+        copy(in, out);
+      }
+
+      in = this.getClass().getResourceAsStream("BasicEngine.xml");
+      out = new FileOutputStream(new File(descFolder.getLocation().toFile(), "BasicEngine.xml"));
+      if (in != null && out != null) {
+        copy(in, out);
+      }
+
+      in = this.getClass().getResourceAsStream("Modifier.xml");
+      out = new FileOutputStream(new File(descFolder.getLocation().toFile(), "Modifier.xml"));
+      if (in != null && out != null) {
+        copy(in, out);
+      }
+
+      in = this.getClass().getResourceAsStream("InternalTypeSystem.xml");
+      out = new FileOutputStream(new File(descFolder.getLocation().toFile(),
+              "InternalTypeSystem.xml"));
+      if (in != null && out != null) {
+        copy(in, out);
+      }
+    } catch (Exception e) {
+      e.printStackTrace();
+    } finally {
+      if (in != null) {
+        try {
+          in.close();
+        } catch (IOException e) {
+          e.printStackTrace();
+        }
+      }
+      if (out != null) {
+        try {
+          out.close();
+        } catch (IOException e) {
+          e.printStackTrace();
+        }
+      }
+    }
+  }
+
+  static void copy(InputStream fis, OutputStream fos) {
+    try {
+      byte[] buffer = new byte[0xFFFF];
+      for (int len; (len = fis.read(buffer)) != -1;)
+        fos.write(buffer, 0, len);
+    } catch (IOException e) {
+      System.err.println(e);
+    } finally {
+      if (fis != null)
+        try {
+          fis.close();
+        } catch (IOException e) {
+          e.printStackTrace();
+        }
+      if (fos != null)
+        try {
+          fos.close();
+        } catch (IOException e) {
+          e.printStackTrace();
+        }
+    }
+  }
+
+  @Override
+  public boolean performFinish() {
+    boolean res = super.performFinish();
+    if (res) {
+      BasicNewProjectResourceWizard.updatePerspective(fConfigElement);
+      selectAndReveal(fSecondPage.getScriptProject().getProject());
+    }
+    return res;
+  }
+
+  public void setInitializationData(IConfigurationElement cfig, String propertyName, Object data) {
+    fConfigElement = cfig;
+  }
+
+  @Override
+  public boolean performCancel() {
+    fSecondPage.performCancel();
+    return super.performCancel();
+  }
+
+  @Override
+  public IModelElement getCreatedElement() {
+    return DLTKCore.create(fFirstPage.getProjectHandle());
+  }
+}

Propchange: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/TextMarkerProjectCreationWizard.java
------------------------------------------------------------------------------
    svn:executable = *

Propchange: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/TextMarkerProjectCreationWizard.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/TextMarkerProjectWizardFirstPage.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/TextMarkerProjectWizardFirstPage.java?rev=1152804&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/TextMarkerProjectWizardFirstPage.java (added)
+++ uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/TextMarkerProjectWizardFirstPage.java Mon Aug  1 14:37:34 2011
@@ -0,0 +1,102 @@
+/*******************************************************************************
+ * Copyright (c) 2008 xored software, Inc.  
+ *
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html  
+ *
+ * Contributors:
+ *     xored software, Inc. - initial API and Implementation (Andrei Sobolev)
+ *******************************************************************************/
+package org.apache.uima.tm.dltk.internal.ui.wizards;
+
+import org.apache.uima.tm.dltk.core.TextMarkerNature;
+import org.eclipse.dltk.ui.wizards.ProjectWizardFirstPage;
+import org.eclipse.swt.widgets.Button;
+import org.eclipse.swt.widgets.Composite;
+import org.eclipse.swt.widgets.Group;
+import org.eclipse.swt.widgets.Label;
+
+
+final class TextMarkerProjectWizardFirstPage extends ProjectWizardFirstPage {
+
+  private Button useAnalysis;
+
+  private Group packagesGroup;
+
+  private Label labelElement;
+
+  public TextMarkerProjectWizardFirstPage() {
+    setTitle(TextMarkerWizardMessages.ProjectCreationWizardFirstPage_title);
+    setDescription(TextMarkerWizardMessages.ProjectCreationWizardFirstPage_description);
+  }
+
+  final class TextMarkerInterpreterGroup extends AbstractInterpreterGroup {
+
+    public TextMarkerInterpreterGroup(Composite composite) {
+      super(composite);
+    }
+
+    @Override
+    protected String getCurrentLanguageNature() {
+      return TextMarkerNature.NATURE_ID;
+    }
+
+    @Override
+    protected String getIntereprtersPreferencePageId() {
+      return "org.apache.uima.tm.dltk.preferences.interpreters"; //$NON-NLS-1$
+    }
+  }
+
+  @Override
+  protected IInterpreterGroup createInterpreterGroup(Composite parent) {
+    return new TextMarkerInterpreterGroup(parent);
+  }
+
+  @Override
+  protected boolean interpeterRequired() {
+    /* Specially allow to create TCL project without interpreter */
+    return false;
+  }
+
+  // protected void createCustomGroups(Composite composite) {
+  // super.createCustomGroups(composite);
+  //
+  // packagesGroup = new Group(composite, SWT.NONE);
+  // GridData gridData = new GridData(GridData.FILL, SWT.FILL, true, false);
+  // gridData.widthHint = convertWidthInCharsToPixels(50);
+  // packagesGroup.setLayoutData(gridData);
+  // packagesGroup.setLayout(new GridLayout(1, false));
+  // packagesGroup
+  // .setText(TextMarkerWizardMessages.TextMarkerProjectWizardFirstPage_packageDetector);
+  // this.useAnalysis = new Button(packagesGroup, SWT.CHECK);
+  // this.useAnalysis
+  // .setText(TextMarkerWizardMessages.TextMarkerProjectWizardFirstPage_packageDetector_checkbox);
+  // this.useAnalysis.setSelection(true);
+  // labelElement = new Label(packagesGroup, SWT.NONE);
+  // labelElement
+  // .setText(TextMarkerWizardMessages.TextMarkerProjectWizardFirstPage_packageDetector_description);
+  // Observer o = new Observer() {
+  // public void update(Observable o, Object arg) {
+  // boolean inWorkspace = fLocationGroup.isInWorkspace();
+  // packagesGroup.setEnabled(!inWorkspace);
+  // useAnalysis.setEnabled(!inWorkspace);
+  // labelElement.setEnabled(!inWorkspace);
+  // }
+  // };
+  // fLocationGroup.addObserver(o);
+  // ((TextMarkerInterpreterGroup) getInterpreterGroup()).addObserver(o);
+  // }
+
+  public boolean useAnalysis() {
+    final boolean result[] = { false };
+    useAnalysis.getDisplay().syncExec(new Runnable() {
+      public void run() {
+        result[0] = useAnalysis.getSelection();
+      }
+    });
+    return result[0];
+  }
+
+}

Propchange: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/TextMarkerProjectWizardFirstPage.java
------------------------------------------------------------------------------
    svn:executable = *

Propchange: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/TextMarkerProjectWizardFirstPage.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/TextMarkerProjectWizardSecondPage.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/TextMarkerProjectWizardSecondPage.java?rev=1152804&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/TextMarkerProjectWizardSecondPage.java (added)
+++ uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/TextMarkerProjectWizardSecondPage.java Mon Aug  1 14:37:34 2011
@@ -0,0 +1,63 @@
+/**
+ * 
+ */
+package org.apache.uima.tm.dltk.internal.ui.wizards;
+
+import org.apache.uima.tm.dltk.core.TextMarkerNature;
+import org.apache.uima.tm.dltk.internal.ui.TextMarkerUI;
+import org.apache.uima.tm.dltk.internal.ui.preferences.TextMarkerBuildPathsBlock;
+import org.eclipse.dltk.ui.util.BusyIndicatorRunnableContext;
+import org.eclipse.dltk.ui.util.IStatusChangeListener;
+import org.eclipse.dltk.ui.wizards.BuildpathsBlock;
+import org.eclipse.dltk.ui.wizards.ProjectWizardFirstPage;
+import org.eclipse.dltk.ui.wizards.ProjectWizardSecondPage;
+import org.eclipse.jface.preference.IPreferenceStore;
+
+
+final class TextMarkerProjectWizardSecondPage extends ProjectWizardSecondPage {
+  TextMarkerProjectWizardSecondPage(ProjectWizardFirstPage mainPage) {
+    super(mainPage);
+  }
+
+  @Override
+  protected BuildpathsBlock createBuildpathBlock(IStatusChangeListener listener) {
+    return new TextMarkerBuildPathsBlock(new BusyIndicatorRunnableContext(), listener, 0,
+            useNewSourcePage(), null);
+  }
+
+  @Override
+  protected String getScriptNature() {
+    return TextMarkerNature.NATURE_ID;
+  }
+
+  @Override
+  protected IPreferenceStore getPreferenceStore() {
+    return TextMarkerUI.getDefault().getPreferenceStore();
+  }
+
+  // protected BuildpathDetector createBuildpathDetector(
+  // IProgressMonitor monitor, IDLTKLanguageToolkit toolkit)
+  // throws CoreException {
+  // TextMarkerBuildpathDetector detector = new TextMarkerBuildpathDetector(
+  // getCurrProject(), toolkit);
+  //
+  // TextMarkerProjectWizardFirstPage page = (TextMarkerProjectWizardFirstPage) this
+  // .getFirstPage();
+  // detector.setUseAnalysis(page.useAnalysis());
+  // detector.detectBuildpath(new SubProgressMonitor(monitor, 20));
+  // return detector;
+  // }
+
+  // protected void postConfigureProject() throws CoreException {
+  // final IProject project = getCurrProject();
+  // final IEnvironment environment = EnvironmentManager
+  // .getEnvironment(project);
+  // if (environment != null && !environment.isLocal()) {
+  // final Map options = new HashMap();
+  // options.put(DLTKCore.INDEXER_ENABLED, DLTKCore.DISABLED);
+  // options.put(DLTKCore.BUILDER_ENABLED, DLTKCore.DISABLED);
+  // DLTKCore.create(project).setOptions(options);
+  // }
+  // }
+
+}

Propchange: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/TextMarkerProjectWizardSecondPage.java
------------------------------------------------------------------------------
    svn:executable = *

Propchange: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/TextMarkerProjectWizardSecondPage.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/TextMarkerWizardMessages.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/TextMarkerWizardMessages.java?rev=1152804&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/TextMarkerWizardMessages.java (added)
+++ uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/TextMarkerWizardMessages.java Mon Aug  1 14:37:34 2011
@@ -0,0 +1,21 @@
+package org.apache.uima.tm.dltk.internal.ui.wizards;
+
+import org.eclipse.osgi.util.NLS;
+
+public class TextMarkerWizardMessages extends NLS {
+
+  private static final String BUNDLE_NAME = "org.apache.uima.tm.dltk.internal.ui.wizards.TextMarkerWizardMessages";//$NON-NLS-1$
+
+  private TextMarkerWizardMessages() {
+  }
+
+  public static String ProjectCreationWizard_title;
+
+  public static String ProjectCreationWizardFirstPage_title;
+
+  public static String ProjectCreationWizardFirstPage_description;
+
+  static {
+    NLS.initializeMessages(BUNDLE_NAME, TextMarkerWizardMessages.class);
+  }
+}

Propchange: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/TextMarkerWizardMessages.java
------------------------------------------------------------------------------
    svn:executable = *

Propchange: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/TextMarkerWizardMessages.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/TextMarkerWizardMessages.properties
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/TextMarkerWizardMessages.properties?rev=1152804&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/TextMarkerWizardMessages.properties (added)
+++ uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/TextMarkerWizardMessages.properties Mon Aug  1 14:37:34 2011
@@ -0,0 +1,5 @@
+
+ProjectCreationWizard_title=Create TextMarker project
+
+ProjectCreationWizardFirstPage_title=Create a TextMarker project
+ProjectCreationWizardFirstPage_description=Create a TextMarker project in the workspace or in an external location

Propchange: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/TextMarkerWizardMessages.properties
------------------------------------------------------------------------------
    svn:executable = *

Propchange: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/internal/ui/wizards/TextMarkerWizardMessages.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/ui/ExplainPerspective.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/ui/ExplainPerspective.java?rev=1152804&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/ui/ExplainPerspective.java (added)
+++ uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/ui/ExplainPerspective.java Mon Aug  1 14:37:34 2011
@@ -0,0 +1,121 @@
+package org.apache.uima.tm.dltk.ui;
+
+import org.apache.uima.tm.dltk.internal.ui.wizards.TextMarkerFileCreationWizard;
+import org.apache.uima.tm.dltk.internal.ui.wizards.TextMarkerPackageCreationWizard;
+import org.apache.uima.tm.dltk.internal.ui.wizards.TextMarkerProjectCreationWizard;
+import org.eclipse.ui.IFolderLayout;
+import org.eclipse.ui.IPageLayout;
+import org.eclipse.ui.IPerspectiveFactory;
+import org.eclipse.ui.console.IConsoleConstants;
+import org.eclipse.ui.progress.IProgressConstants;
+
+
+public class ExplainPerspective implements IPerspectiveFactory {
+
+  public static final String FAILED_RULES = "org.apache.uima.tm.textmarker.cev.explain.failed";
+
+  public static final String MATCHED_RULES = "org.apache.uima.tm.textmarker.cev.explain.matched";
+
+  public static final String RULE_ELEMENTS = "org.apache.uima.tm.textmarker.cev.explain.element";
+
+  public static final String APPLIED_RULES = "org.apache.uima.tm.textmarker.cev.explain.apply";
+
+  public static final String SELECTION_RULES = "org.apache.uima.tm.textmarker.cev.explain.selection";
+
+  public static final String RULE_LIST = "org.apache.uima.tm.textmarker.cev.explain.rulelist";
+
+  public static final String QUERY = "org.apache.uima.tm.textmarker.query.ui.ScriptQueryView";
+
+  public static final String BASIC_STREAM = "org.apache.uima.tm.textmarker.cev.explain.basic";
+
+  public static final String PALETTE_VIEW = "org.apache.uima.tm.cev.views.palette";
+
+  public static final String TYPE_BROWSER = "org.apache.uima.tm.cev.views.typeBrowser";
+
+  public static final String SELECTION_VIEW = "org.apache.uima.tm.cev.views.selection";
+
+  public static final String ANNOTATION_EDITOR = "org.apache.uima.tm.cev.views.editor";
+
+  public static final String SCRIPT_EXPLORER = "org.eclipse.dltk.ui.ScriptExplorer";
+
+  public static final String NEW_FOLDER_WIZARD = "org.eclipse.ui.wizards.new.folder"; //$NON-NLS-1$ 
+
+  public static final String NEW_FILE_WIZARD = "org.eclipse.ui.wizards.new.file"; //$NON-NLS-1$
+
+  public static final String NEW_UNTITLED_TEXT_FILE_WIZARD = "org.eclipse.ui.editors.wizards.UntitledTextFileWizard"; //$NON-NLS-1$
+
+  public static final String ID_NEW_SOURCE_WIZARD = "org.apache.uima.tm.dltk.ui.wizards.NewSourceFolderCreationWizard";
+
+  public static final String ID_NEW_PACKAGE_WIZARD = "org.apache.uima.tm.dltk.ui.wizards.NewPackageCreationWizard";
+
+  protected void addNewWizardShortcuts(IPageLayout layout) {
+    layout.addNewWizardShortcut(TextMarkerProjectCreationWizard.ID_WIZARD);
+    layout.addNewWizardShortcut(TextMarkerFileCreationWizard.ID_WIZARD);
+
+    layout.addNewWizardShortcut(ID_NEW_SOURCE_WIZARD);
+    layout.addNewWizardShortcut(TextMarkerPackageCreationWizard.ID_WIZARD);
+
+    layout.addNewWizardShortcut(NEW_FOLDER_WIZARD);
+    layout.addNewWizardShortcut(NEW_FILE_WIZARD);
+    layout.addNewWizardShortcut(NEW_UNTITLED_TEXT_FILE_WIZARD);
+  }
+
+  protected void addShowViewShortcuts(IPageLayout layout) {
+    layout.addShowViewShortcut(IPageLayout.ID_OUTLINE);
+    layout.addShowViewShortcut(IPageLayout.ID_PROBLEM_VIEW);
+    layout.addShowViewShortcut(IConsoleConstants.ID_CONSOLE_VIEW);
+
+    layout.addShowViewShortcut(IPageLayout.ID_TASK_LIST);
+    layout.addShowViewShortcut(IProgressConstants.PROGRESS_VIEW_ID);
+
+    layout.addShowViewShortcut(SCRIPT_EXPLORER);
+    layout.addShowViewShortcut(BASIC_STREAM);
+    layout.addShowViewShortcut(PALETTE_VIEW);
+    layout.addShowViewShortcut(TYPE_BROWSER);
+    layout.addShowViewShortcut(SELECTION_VIEW);
+    layout.addShowViewShortcut(ANNOTATION_EDITOR);
+    layout.addShowViewShortcut(QUERY);
+
+  }
+
+  public void createFolders(IPageLayout layout) {
+    final String editorArea = layout.getEditorArea();
+
+    IFolderLayout rightFolder = layout.createFolder("rightFolder", IPageLayout.RIGHT, (float) 0.75,
+            editorArea);
+    rightFolder.addView(BASIC_STREAM);
+    rightFolder.addView(APPLIED_RULES);
+    rightFolder.addView(SELECTION_RULES);
+    rightFolder.addView(RULE_LIST);
+
+    IFolderLayout ruleFolder = layout.createFolder("ruleFolder", IPageLayout.BOTTOM, (float) 0.6,
+            "rightFolder");
+    ruleFolder.addView(RULE_ELEMENTS);
+
+    IFolderLayout navigationFolder = layout.createFolder("left", IPageLayout.LEFT, (float) 0.2,
+            editorArea);
+    navigationFolder.addView(SCRIPT_EXPLORER);
+
+    IFolderLayout matchedFolder = layout.createFolder("matchedFolder", IPageLayout.BOTTOM,
+            (float) 0.75, editorArea);
+    matchedFolder.addView(MATCHED_RULES);
+
+    IFolderLayout failedFolder = layout.createFolder("failedFolder", IPageLayout.BOTTOM,
+            (float) 0.75, editorArea);
+    failedFolder.addView(FAILED_RULES);
+
+  }
+
+  protected void addPerspectiveShotcuts(IPageLayout layout) {
+    layout.addPerspectiveShortcut("org.apache.uima.tm.dltk.ui.TextMarkerPerspective");
+  }
+
+  public void createInitialLayout(IPageLayout layout) {
+    createFolders(layout);
+    addShowViewShortcuts(layout);
+    addNewWizardShortcuts(layout);
+    addPerspectiveShotcuts(layout);
+
+  }
+
+}

Propchange: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/ui/ExplainPerspective.java
------------------------------------------------------------------------------
    svn:executable = *

Propchange: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/ui/ExplainPerspective.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/ui/TextMarkerPerspective.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/ui/TextMarkerPerspective.java?rev=1152804&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/ui/TextMarkerPerspective.java (added)
+++ uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/ui/TextMarkerPerspective.java Mon Aug  1 14:37:34 2011
@@ -0,0 +1,124 @@
+package org.apache.uima.tm.dltk.ui;
+
+import org.apache.uima.tm.dltk.internal.ui.wizards.TextMarkerFileCreationWizard;
+import org.apache.uima.tm.dltk.internal.ui.wizards.TextMarkerPackageCreationWizard;
+import org.apache.uima.tm.dltk.internal.ui.wizards.TextMarkerProjectCreationWizard;
+import org.eclipse.ui.IFolderLayout;
+import org.eclipse.ui.IPageLayout;
+import org.eclipse.ui.IPerspectiveFactory;
+import org.eclipse.ui.console.IConsoleConstants;
+import org.eclipse.ui.progress.IProgressConstants;
+
+
+public class TextMarkerPerspective implements IPerspectiveFactory {
+
+  public static final String BASIC_STREAM = "org.apache.uima.tm.textmarker.cev.debug.basic";
+
+  public static final String PALETTE_VIEW = "org.apache.uima.tm.cev.views.palette";
+
+  public static final String TYPE_BROWSER = "org.apache.uima.tm.cev.views.annotationBrowser";
+
+  public static final String SELECTION_VIEW = "org.apache.uima.tm.cev.views.selection";
+
+  public static final String ANNOTATION_EDITOR = "org.apache.uima.tm.cev.views.editor";
+
+  public static final String ANNOTATION_TESTING = "org.apache.uima.tm.textmarker.ui.testing.TestingView";
+
+  public static final String QUERY = "org.apache.uima.tm.textmarker.query.ui.ScriptQueryView";
+
+  public static final String TEXTRULER = "org.apache.uima.tm.textmarker.ml.MainView";
+
+  public static final String SCRIPT_EXPLORER = "org.eclipse.dltk.ui.ScriptExplorer";
+
+  public static final String NEW_FOLDER_WIZARD = "org.eclipse.ui.wizards.new.folder"; //$NON-NLS-1$ 
+
+  public static final String NEW_FILE_WIZARD = "org.eclipse.ui.wizards.new.file"; //$NON-NLS-1$
+
+  public static final String NEW_UNTITLED_TEXT_FILE_WIZARD = "org.eclipse.ui.editors.wizards.UntitledTextFileWizard"; //$NON-NLS-1$
+
+  public static final String ID_NEW_SOURCE_WIZARD = "org.apache.uima.tm.dltk.ui.wizards.NewSourceFolderCreationWizard";
+
+  public static final String ID_NEW_PACKAGE_WIZARD = "org.apache.uima.tm.dltk.ui.wizards.NewPackageCreationWizard";
+
+  protected void addNewWizardShortcuts(IPageLayout layout) {
+    layout.addNewWizardShortcut(TextMarkerProjectCreationWizard.ID_WIZARD);
+    layout.addNewWizardShortcut(TextMarkerFileCreationWizard.ID_WIZARD);
+
+    layout.addNewWizardShortcut(ID_NEW_SOURCE_WIZARD);
+    layout.addNewWizardShortcut(TextMarkerPackageCreationWizard.ID_WIZARD);
+
+    layout.addNewWizardShortcut(NEW_FOLDER_WIZARD);
+    layout.addNewWizardShortcut(NEW_FILE_WIZARD);
+    layout.addNewWizardShortcut(NEW_UNTITLED_TEXT_FILE_WIZARD);
+  }
+
+  protected void addShowViewShortcuts(IPageLayout layout) {
+    layout.addShowViewShortcut(IPageLayout.ID_OUTLINE);
+    layout.addShowViewShortcut(IPageLayout.ID_PROBLEM_VIEW);
+    layout.addShowViewShortcut(IConsoleConstants.ID_CONSOLE_VIEW);
+
+    layout.addShowViewShortcut(IPageLayout.ID_TASK_LIST);
+    layout.addShowViewShortcut(IProgressConstants.PROGRESS_VIEW_ID);
+
+    layout.addShowViewShortcut(SCRIPT_EXPLORER);
+    layout.addShowViewShortcut(BASIC_STREAM);
+    layout.addShowViewShortcut(PALETTE_VIEW);
+    layout.addShowViewShortcut(TYPE_BROWSER);
+    layout.addShowViewShortcut(SELECTION_VIEW);
+    layout.addShowViewShortcut(TEXTRULER);
+    layout.addShowViewShortcut(ANNOTATION_EDITOR);
+    layout.addShowViewShortcut(ANNOTATION_TESTING);
+    layout.addShowViewShortcut(QUERY);
+
+  }
+
+  protected void addActionSets(IPageLayout layout) {
+
+  }
+
+  protected void createFolders(IPageLayout layout) {
+    final String editorArea = layout.getEditorArea();
+
+    IFolderLayout rightFolder = layout.createFolder("right", IPageLayout.RIGHT, (float) 0.75,
+            editorArea);
+    rightFolder.addView(IPageLayout.ID_OUTLINE);
+    rightFolder.addView(TYPE_BROWSER);
+    rightFolder.addView(PALETTE_VIEW);
+    rightFolder.addView("BASIC_STREAM");
+
+    // Folder
+    IFolderLayout folder = layout.createFolder("left", IPageLayout.LEFT, (float) 0.2, editorArea); //$NON-NLS-1$		
+
+    folder.addView(SCRIPT_EXPLORER);
+    folder.addPlaceholder(IPageLayout.ID_BOOKMARKS);
+
+    // Output folder
+    IFolderLayout outputFolder = layout.createFolder(
+            "bottom", IPageLayout.BOTTOM, (float) 0.75, editorArea); //$NON-NLS-1$
+
+    outputFolder.addView(IPageLayout.ID_PROBLEM_VIEW);
+    outputFolder.addView(IPageLayout.ID_TASK_LIST);
+    outputFolder.addView(IConsoleConstants.ID_CONSOLE_VIEW);
+    outputFolder.addView(SELECTION_VIEW);
+    outputFolder.addView(TEXTRULER);
+    outputFolder.addView(ANNOTATION_EDITOR);
+    outputFolder.addView(ANNOTATION_TESTING);
+    outputFolder.addView(QUERY);
+
+    outputFolder.addPlaceholder(IConsoleConstants.ID_CONSOLE_VIEW);
+    outputFolder.addPlaceholder(IPageLayout.ID_BOOKMARKS);
+    outputFolder.addPlaceholder(IProgressConstants.PROGRESS_VIEW_ID);
+  }
+
+  protected void addPerspectiveShotcuts(IPageLayout layout) {
+    layout.addPerspectiveShortcut("org.apache.uima.tm.dltk.ui.explainPerspective");
+  }
+
+  public void createInitialLayout(IPageLayout layout) {
+    createFolders(layout);
+    addActionSets(layout);
+    addShowViewShortcuts(layout);
+    addNewWizardShortcuts(layout);
+    addPerspectiveShotcuts(layout);
+  }
+}

Propchange: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/ui/TextMarkerPerspective.java
------------------------------------------------------------------------------
    svn:executable = *

Propchange: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.dltk.ui/src/main/java/org/apache/uima/tm/dltk/ui/TextMarkerPerspective.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain



Mime
View raw message