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 2012/02/13 18:45:05 UTC
svn commit: r1243619 [2/25] - in /uima/sandbox/trunk/TextMarker:
uimaj-ep-textmarker-addons/
uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/addons/
uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/explain/apply/
...
Modified: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/evaluator/ExactCasEvaluator.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/evaluator/ExactCasEvaluator.java?rev=1243619&r1=1243618&r2=1243619&view=diff
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/evaluator/ExactCasEvaluator.java (original)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/evaluator/ExactCasEvaluator.java Mon Feb 13 17:44:52 2012
@@ -35,7 +35,6 @@ import org.apache.uima.cas.text.Annotati
public class ExactCasEvaluator implements ICasEvaluator {
- @Override
public CAS evaluate(CAS test, CAS run, Collection<String> excludedTypes)
throws CASRuntimeException, CASException {
Type annotationType = test.getAnnotationType();
Modified: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/evaluator/FeatureCasEvaluator.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/evaluator/FeatureCasEvaluator.java?rev=1243619&r1=1243618&r2=1243619&view=diff
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/evaluator/FeatureCasEvaluator.java (original)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/evaluator/FeatureCasEvaluator.java Mon Feb 13 17:44:52 2012
@@ -39,7 +39,6 @@ import org.apache.uima.textmarker.engine
public class FeatureCasEvaluator implements ICasEvaluator {
- @Override
public CAS evaluate(CAS test, CAS run, Collection<String> excludedTypes)
throws CASRuntimeException, CASException {
Modified: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/evaluator/PartialMatchCasEvaluatorFacotry.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/evaluator/PartialMatchCasEvaluatorFacotry.java?rev=1243619&r1=1243618&r2=1243619&view=diff
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/evaluator/PartialMatchCasEvaluatorFacotry.java (original)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/evaluator/PartialMatchCasEvaluatorFacotry.java Mon Feb 13 17:44:52 2012
@@ -21,13 +21,11 @@ package org.apache.uima.textmarker.testi
public class PartialMatchCasEvaluatorFacotry implements ICasEvaluatorFactory {
- @Override
public ICasEvaluator createEvaluator() {
return new PartialMatchCasEvaluator();
}
- @Override
public String getDescription() {
return "Compares the offsets of the given annotations.\n" +
"Allows partial matching if the begin or end\n" +
Modified: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/evaluator/StringFeatureCasEvaluator.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/evaluator/StringFeatureCasEvaluator.java?rev=1243619&r1=1243618&r2=1243619&view=diff
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/evaluator/StringFeatureCasEvaluator.java (original)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/evaluator/StringFeatureCasEvaluator.java Mon Feb 13 17:44:52 2012
@@ -38,7 +38,6 @@ import org.apache.uima.textmarker.UIMACo
import org.apache.uima.textmarker.engine.TextMarkerEngine;
public class StringFeatureCasEvaluator implements ICasEvaluator {
- @Override
public CAS evaluate(CAS test, CAS run, Collection<String> excludedTypes)
throws CASRuntimeException, CASException {
Type falsePositiveType = run.getTypeSystem().getType(ICasEvaluator.FALSE_POSITIVE);
Modified: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/evaluator/TemplateCasEvaluator.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/evaluator/TemplateCasEvaluator.java?rev=1243619&r1=1243618&r2=1243619&view=diff
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/evaluator/TemplateCasEvaluator.java (original)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/evaluator/TemplateCasEvaluator.java Mon Feb 13 17:44:52 2012
@@ -37,7 +37,6 @@ import org.apache.uima.jcas.tcas.Annotat
public class TemplateCasEvaluator implements ICasEvaluator {
- @Override
public CAS evaluate(CAS test, CAS run, Collection<String> excludedTypes)
throws CASRuntimeException, CASException {
Type falsePositiveType = run.getTypeSystem().getType(ICasEvaluator.FALSE_POSITIVE);
Modified: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/evaluator/WordAccuracyCasEvaluator.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/evaluator/WordAccuracyCasEvaluator.java?rev=1243619&r1=1243618&r2=1243619&view=diff
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/evaluator/WordAccuracyCasEvaluator.java (original)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/evaluator/WordAccuracyCasEvaluator.java Mon Feb 13 17:44:52 2012
@@ -37,7 +37,6 @@ import org.apache.uima.textmarker.seed.D
public class WordAccuracyCasEvaluator implements ICasEvaluator {
- @Override
public CAS evaluate(CAS test, CAS run, Collection<String> excludedTypes)
throws CASRuntimeException, CASException {
Type annotationType = test.getAnnotationType();
Modified: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/evaluator/WordTemplateCasEvaluator.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/evaluator/WordTemplateCasEvaluator.java?rev=1243619&r1=1243618&r2=1243619&view=diff
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/evaluator/WordTemplateCasEvaluator.java (original)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/evaluator/WordTemplateCasEvaluator.java Mon Feb 13 17:44:52 2012
@@ -39,7 +39,6 @@ import org.apache.uima.textmarker.seed.D
public class WordTemplateCasEvaluator implements ICasEvaluator {
- @Override
public CAS evaluate(CAS test, CAS run, Collection<String> excludedTypes)
throws CASRuntimeException, CASException {
Type falsePositiveType = run.getTypeSystem().getType(ICasEvaluator.FALSE_POSITIVE);
Modified: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/preferences/DescriptionChangedListener.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/preferences/DescriptionChangedListener.java?rev=1243619&r1=1243618&r2=1243619&view=diff
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/preferences/DescriptionChangedListener.java (original)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/preferences/DescriptionChangedListener.java Mon Feb 13 17:44:52 2012
@@ -21,7 +21,6 @@ package org.apache.uima.textmarker.testi
public class DescriptionChangedListener implements IDescriptionChangedListener {
- @Override
public void descriptionChanged(String description) {
Modified: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/preferences/TestingPreferencePage.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/preferences/TestingPreferencePage.java?rev=1243619&r1=1243618&r2=1243619&view=diff
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/preferences/TestingPreferencePage.java (original)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/preferences/TestingPreferencePage.java Mon Feb 13 17:44:52 2012
@@ -52,7 +52,6 @@ public class TestingPreferencePage exten
setPreferenceStore(store);
}
- @Override
public void init(IWorkbench workbench) {
// TODO Auto-generated method stub
Modified: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/searchStrategy/TestingSearchStrategy.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/searchStrategy/TestingSearchStrategy.java?rev=1243619&r1=1243618&r2=1243619&view=diff
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/searchStrategy/TestingSearchStrategy.java (original)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/searchStrategy/TestingSearchStrategy.java Mon Feb 13 17:44:52 2012
@@ -31,7 +31,6 @@ import org.eclipse.core.runtime.IPath;
public class TestingSearchStrategy implements ITypeSystemSearchStrategy {
- @Override
public IFile findTypeSystem(IFile casFile) {
IPath location = casFile.getLocation();
IProject project = casFile.getProject();
Modified: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/handlers/ExportTabelHandler.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/handlers/ExportTabelHandler.java?rev=1243619&r1=1243618&r2=1243619&view=diff
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/handlers/ExportTabelHandler.java (original)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/handlers/ExportTabelHandler.java Mon Feb 13 17:44:52 2012
@@ -37,7 +37,6 @@ import org.eclipse.ui.handlers.HandlerUt
public class ExportTabelHandler extends AbstractHandler {
- @Override
public Object execute(ExecutionEvent event) throws ExecutionException {
TestPageBookView debugView = (TestPageBookView) HandlerUtil.getActivePart(event);
TestViewPage debugPage = (TestViewPage) debugView.getCurrentPage();
Modified: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/handlers/LoadFilesFromFolderHandler.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/handlers/LoadFilesFromFolderHandler.java?rev=1243619&r1=1243618&r2=1243619&view=diff
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/handlers/LoadFilesFromFolderHandler.java (original)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/handlers/LoadFilesFromFolderHandler.java Mon Feb 13 17:44:52 2012
@@ -48,18 +48,15 @@ public class LoadFilesFromFolderHandler
TestViewPage debugPage;
- @Override
public void addHandlerListener(IHandlerListener handlerListener) {
}
- @Override
public void dispose() {
// TODO Auto-generated method stub
}
- @Override
public Object execute(ExecutionEvent event) throws ExecutionException {
debugView = (TestPageBookView) HandlerUtil.getActivePart(event);
@@ -87,19 +84,16 @@ public class LoadFilesFromFolderHandler
return null;
}
- @Override
public boolean isEnabled() {
// TODO Auto-generated method stub
return true;
}
- @Override
public boolean isHandled() {
// TODO Auto-generated method stub
return true;
}
- @Override
public void removeHandlerListener(IHandlerListener handlerListener) {
// TODO Auto-generated method stub
Modified: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/handlers/NextTestCaseHandler.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/handlers/NextTestCaseHandler.java?rev=1243619&r1=1243618&r2=1243619&view=diff
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/handlers/NextTestCaseHandler.java (original)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/handlers/NextTestCaseHandler.java Mon Feb 13 17:44:52 2012
@@ -30,19 +30,16 @@ import org.eclipse.ui.handlers.HandlerUt
public class NextTestCaseHandler implements IHandler {
- @Override
public void addHandlerListener(IHandlerListener handlerListener) {
// TODO Auto-generated method stub
}
- @Override
public void dispose() {
// TODO Auto-generated method stub
}
- @Override
public Object execute(ExecutionEvent event) throws ExecutionException {
TestPageBookView debugView = (TestPageBookView) HandlerUtil.getActivePart(event);
TestViewPage page = (TestViewPage) debugView.getCurrentPage();
@@ -50,19 +47,16 @@ public class NextTestCaseHandler impleme
return null;
}
- @Override
public boolean isEnabled() {
// TODO Auto-generated method stub
return true;
}
- @Override
public boolean isHandled() {
// TODO Auto-generated method stub
return true;
}
- @Override
public void removeHandlerListener(IHandlerListener handlerListener) {
// TODO Auto-generated method stub
Modified: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/handlers/PreviousTestCaseHandler.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/handlers/PreviousTestCaseHandler.java?rev=1243619&r1=1243618&r2=1243619&view=diff
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/handlers/PreviousTestCaseHandler.java (original)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/handlers/PreviousTestCaseHandler.java Mon Feb 13 17:44:52 2012
@@ -30,19 +30,16 @@ import org.eclipse.ui.handlers.HandlerUt
public class PreviousTestCaseHandler implements IHandler {
- @Override
public void addHandlerListener(IHandlerListener handlerListener) {
// TODO Auto-generated method stub
}
- @Override
public void dispose() {
// TODO Auto-generated method stub
}
- @Override
public Object execute(ExecutionEvent event) throws ExecutionException {
TestPageBookView debugView = (TestPageBookView) HandlerUtil.getActivePart(event);
@@ -51,19 +48,16 @@ public class PreviousTestCaseHandler imp
return null;
}
- @Override
public boolean isEnabled() {
// TODO Auto-generated method stub
return true;
}
- @Override
public boolean isHandled() {
// TODO Auto-generated method stub
return true;
}
- @Override
public void removeHandlerListener(IHandlerListener handlerListener) {
// TODO Auto-generated method stub
Modified: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/handlers/RemoveTestsHandler.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/handlers/RemoveTestsHandler.java?rev=1243619&r1=1243618&r2=1243619&view=diff
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/handlers/RemoveTestsHandler.java (original)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/handlers/RemoveTestsHandler.java Mon Feb 13 17:44:52 2012
@@ -36,19 +36,16 @@ import org.eclipse.ui.handlers.HandlerUt
public class RemoveTestsHandler implements IHandler {
- @Override
public void addHandlerListener(IHandlerListener handlerListener) {
// TODO Auto-generated method stub
}
- @Override
public void dispose() {
// TODO Auto-generated method stub
}
- @Override
public Object execute(ExecutionEvent event) throws ExecutionException {
TestPageBookView debugView = (TestPageBookView) HandlerUtil.getActivePart(event);
TestViewPage activePage = (TestViewPage) debugView.getCurrentPage();
@@ -69,19 +66,16 @@ public class RemoveTestsHandler implemen
return null;
}
- @Override
public boolean isEnabled() {
// TODO Auto-generated method stub
return true;
}
- @Override
public boolean isHandled() {
// TODO Auto-generated method stub
return true;
}
- @Override
public void removeHandlerListener(IHandlerListener handlerListener) {
// TODO Auto-generated method stub
Modified: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/handlers/RerunActionHandler.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/handlers/RerunActionHandler.java?rev=1243619&r1=1243618&r2=1243619&view=diff
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/handlers/RerunActionHandler.java (original)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/handlers/RerunActionHandler.java Mon Feb 13 17:44:52 2012
@@ -155,7 +155,7 @@ public class RerunActionHandler implemen
}
for (Iterator<CAS> iterator = testCas.getViewIterator(); iterator.hasNext();) {
- CAS each = (CAS) iterator.next();
+ CAS each = iterator.next();
String viewName = each.getViewName();
try {
CAS view = runCas.getView(viewName);
@@ -208,7 +208,6 @@ public class RerunActionHandler implemen
EvalDataProcessor.calculateEvaluatData(td, resultCas);
debugView.getDefaultPage().getControl().getDisplay().asyncExec(new Runnable() {
- @Override
public void run() {
debugPage.getViewer().refresh();
}
@@ -245,17 +244,14 @@ public class RerunActionHandler implemen
}
}
- @Override
public void addHandlerListener(IHandlerListener handlerListener) {
}
- @Override
public void dispose() {
}
- @Override
public Object execute(ExecutionEvent event) throws ExecutionException {
TestPageBookView debugView = (TestPageBookView) HandlerUtil.getActivePart(event);
@@ -293,17 +289,14 @@ public class RerunActionHandler implemen
}
}
- @Override
public boolean isEnabled() {
return true;
}
- @Override
public boolean isHandled() {
return true;
}
- @Override
public void removeHandlerListener(IHandlerListener handlerListener) {
}
Modified: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/handlers/RunTestHandler.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/handlers/RunTestHandler.java?rev=1243619&r1=1243618&r2=1243619&view=diff
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/handlers/RunTestHandler.java (original)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/handlers/RunTestHandler.java Mon Feb 13 17:44:52 2012
@@ -33,19 +33,16 @@ public class RunTestHandler implements I
private IResource resource;
- @Override
public void addHandlerListener(IHandlerListener handlerListener) {
// TODO Auto-generated method stub
}
- @Override
public void dispose() {
// TODO Auto-generated method stub
}
- @Override
public Object execute(ExecutionEvent event) throws ExecutionException {
// TODO create a new view for every resource file
@@ -91,19 +88,16 @@ public class RunTestHandler implements I
return null;
}
- @Override
public boolean isEnabled() {
// TODO Auto-generated method stub
return true;
}
- @Override
public boolean isHandled() {
// TODO Auto-generated method stub
return true;
}
- @Override
public void removeHandlerListener(IHandlerListener handlerListener) {
// TODO Auto-generated method stub
Modified: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/handlers/SelectEvaluatorHandler.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/handlers/SelectEvaluatorHandler.java?rev=1243619&r1=1243618&r2=1243619&view=diff
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/handlers/SelectEvaluatorHandler.java (original)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/handlers/SelectEvaluatorHandler.java Mon Feb 13 17:44:52 2012
@@ -31,17 +31,14 @@ import org.eclipse.ui.handlers.HandlerUt
public class SelectEvaluatorHandler implements IHandler {
- @Override
public void addHandlerListener(IHandlerListener handlerListener) {
}
- @Override
public void dispose() {
}
- @Override
public Object execute(ExecutionEvent event) throws ExecutionException {
Dialog dialog = PreferencesUtil.createPreferenceDialogOn(HandlerUtil.getActiveShell(event),
TestingPreferencePage.ID, new String[] { TestingPreferencePage.ID }, null);
@@ -49,17 +46,14 @@ public class SelectEvaluatorHandler impl
return null;
}
- @Override
public boolean isEnabled() {
return true;
}
- @Override
public boolean isHandled() {
return true;
}
- @Override
public void removeHandlerListener(IHandlerListener handlerListener) {
}
Modified: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/handlers/SelectedExcludedTypesHandler.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/handlers/SelectedExcludedTypesHandler.java?rev=1243619&r1=1243618&r2=1243619&view=diff
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/handlers/SelectedExcludedTypesHandler.java (original)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/handlers/SelectedExcludedTypesHandler.java Mon Feb 13 17:44:52 2012
@@ -50,17 +50,14 @@ import org.eclipse.ui.handlers.HandlerUt
public class SelectedExcludedTypesHandler implements IHandler {
- @Override
public void addHandlerListener(IHandlerListener handlerListener) {
}
- @Override
public void dispose() {
}
- @Override
public Object execute(ExecutionEvent event) throws ExecutionException {
TestPageBookView debugView = (TestPageBookView) HandlerUtil.getActivePart(event);
TestViewPage activePage = (TestViewPage) debugView.getCurrentPage();
@@ -98,12 +95,10 @@ public class SelectedExcludedTypesHandle
return null;
}
- @Override
public boolean isEnabled() {
return true;
}
- @Override
public boolean isHandled() {
return true;
}
@@ -113,7 +108,6 @@ public class SelectedExcludedTypesHandle
new Status(IStatus.ERROR, "-1", "File not found!"));
}
- @Override
public void removeHandlerListener(IHandlerListener handlerListener) {
}
Modified: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/views/EvalDataDialog.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/views/EvalDataDialog.java?rev=1243619&r1=1243618&r2=1243619&view=diff
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/views/EvalDataDialog.java (original)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/views/EvalDataDialog.java Mon Feb 13 17:44:52 2012
@@ -38,6 +38,7 @@ public class EvalDataDialog extends Appl
// TODO Auto-generated constructor stub
}
+ @Override
protected Control createContents (Composite parent) {
GridLayout layout = new GridLayout();
parent.setLayout(layout);
Modified: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/views/EvaluationContentProvider.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/views/EvaluationContentProvider.java?rev=1243619&r1=1243618&r2=1243619&view=diff
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/views/EvaluationContentProvider.java (original)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/views/EvaluationContentProvider.java Mon Feb 13 17:44:52 2012
@@ -37,7 +37,6 @@ public class EvaluationContentProvider i
this.type = type;
}
- @Override
public Object[] getChildren(Object parentElement) {
if (parentElement instanceof TestEvaluationTree) {
TypeTreeNode root = (TypeTreeNode) ((TestEvaluationTree) parentElement).getRoot();
@@ -63,7 +62,6 @@ public class EvaluationContentProvider i
return empty;
}
- @Override
public Object getParent(Object element) {
if (element instanceof ITreeNode) {
return ((ITreeNode) element).getParent();
@@ -71,7 +69,6 @@ public class EvaluationContentProvider i
return null;
}
- @Override
public boolean hasChildren(Object element) {
if (element instanceof TestEvaluationTree) {
TypeTreeNode root = (TypeTreeNode) ((TestEvaluationTree) element).getRoot();
@@ -84,17 +81,14 @@ public class EvaluationContentProvider i
return false;
}
- @Override
public Object[] getElements(Object inputElement) {
return getChildren(inputElement);
}
- @Override
public void dispose() {
}
- @Override
public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
}
Modified: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/views/EvaluationViewPage.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/views/EvaluationViewPage.java?rev=1243619&r1=1243618&r2=1243619&view=diff
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/views/EvaluationViewPage.java (original)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/views/EvaluationViewPage.java Mon Feb 13 17:44:52 2012
@@ -124,53 +124,43 @@ public class EvaluationViewPage extends
}
}
- @Override
public void selectionChanged(IWorkbenchPart part, ISelection selection) {
// TODO Auto-generated method stub
}
- @Override
public void added(FeatureStructure newFeatureStructure) {
}
- @Override
public void added(Collection<FeatureStructure> newFeatureStructure) {
}
- @Override
public void removed(FeatureStructure deletedFeatureStructure) {
}
- @Override
public void removed(Collection<FeatureStructure> deletedFeatureStructure) {
}
- @Override
public void updated(FeatureStructure featureStructure) {
}
- @Override
public void updated(Collection<FeatureStructure> featureStructure) {
}
- @Override
public void changed() {
reloadTree();
}
- @Override
public void viewChanged(String oldViewName, String newViewName) {
reloadTree();
}
- @Override
public void casDocumentChanged(IEditorInput oldInput, ICasDocument oldDocument,
IEditorInput newInput, ICasDocument newDocument) {
// document.removeChangeListener(this);
Modified: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/views/InfoPanel.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/views/InfoPanel.java?rev=1243619&r1=1243618&r2=1243619&view=diff
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/views/InfoPanel.java (original)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/views/InfoPanel.java Mon Feb 13 17:44:52 2012
@@ -87,6 +87,7 @@ public class InfoPanel extends Composite
fMLabel = createLabel("F1 :", null, "0", testInfoComposite);
}
+ @Override
public void dispose() {
super.dispose();
fErrorIcon.dispose();
Modified: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/views/ListContentProvider.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/views/ListContentProvider.java?rev=1243619&r1=1243618&r2=1243619&view=diff
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/views/ListContentProvider.java (original)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/views/ListContentProvider.java Mon Feb 13 17:44:52 2012
@@ -26,17 +26,14 @@ import org.eclipse.jface.viewers.Viewer;
public class ListContentProvider implements IStructuredContentProvider {
- @Override
public Object[] getElements(Object inputElement) {
return ((ArrayList<?>) inputElement).toArray();
}
- @Override
public void dispose() {
}
- @Override
public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
}
Modified: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/views/ListLabelProvider.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/views/ListLabelProvider.java?rev=1243619&r1=1243618&r2=1243619&view=diff
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/views/ListLabelProvider.java (original)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/views/ListLabelProvider.java Mon Feb 13 17:44:52 2012
@@ -39,7 +39,6 @@ public class ListLabelProvider implement
private final Image pink = TestViewPage.createImage("/icons/bullet_pink.png"); //$NON-NLS-1$
- @Override
public Image getImage(Object element) {
if (element instanceof TestCasData) {
TestCasData testData = (TestCasData) element;
@@ -70,7 +69,6 @@ public class ListLabelProvider implement
return black;
}
- @Override
public String getText(Object element) {
if (element instanceof TestCasData) {
TestCasData testData = (TestCasData) element;
@@ -88,12 +86,10 @@ public class ListLabelProvider implement
return "error";
}
- @Override
public void addListener(ILabelProviderListener listener) {
}
- @Override
public void dispose() {
black.dispose();
blue.dispose();
@@ -104,12 +100,10 @@ public class ListLabelProvider implement
red.dispose();
}
- @Override
public boolean isLabelProperty(Object element, String property) {
return false;
}
- @Override
public void removeListener(ILabelProviderListener listener) {
}
Modified: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/views/TestViewPage.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/views/TestViewPage.java?rev=1243619&r1=1243618&r2=1243619&view=diff
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/views/TestViewPage.java (original)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/views/TestViewPage.java Mon Feb 13 17:44:52 2012
@@ -129,11 +129,11 @@ public class TestViewPage extends Page i
this.caretaker = new Caretaker();
}
+ @Override
public void createControl(Composite parent) {
IPreferenceStore store = TextMarkerAddonsPlugin.getDefault().getPreferenceStore();
this.propertyChangeListener = new IPropertyChangeListener() {
- @Override
public void propertyChange(PropertyChangeEvent event) {
if (event.getProperty().equals("LOAD_OLD_TEST_RESULTS")) {
@@ -216,7 +216,6 @@ public class TestViewPage extends Page i
listviewer.addDoubleClickListener(new IDoubleClickListener() {
- @Override
public void doubleClick(DoubleClickEvent event) {
Object obj = event.getSelection();
if (obj instanceof IStructuredSelection) {
@@ -258,6 +257,7 @@ public class TestViewPage extends Page i
TableColumn tc = new TableColumn(table, SWT.LEFT);
tc.setText("Type");
tc.addSelectionListener(new SelectionAdapter() {
+ @Override
public void widgetSelected(SelectionEvent event) {
((TypeTableSorter) tableViewer.getSorter()).doSort(TypeEvalTableConst.COLUMN_TYPE_NAME);
tableViewer.refresh();
@@ -267,6 +267,7 @@ public class TestViewPage extends Page i
tc = new TableColumn(table, SWT.LEFT);
tc.setText("TP");
tc.addSelectionListener(new SelectionAdapter() {
+ @Override
public void widgetSelected(SelectionEvent event) {
((TypeTableSorter) tableViewer.getSorter())
.doSort(TypeEvalTableConst.COLUMN_TRUE_POSITIVES);
@@ -277,6 +278,7 @@ public class TestViewPage extends Page i
tc = new TableColumn(table, SWT.LEFT);
tc.setText("FP");
tc.addSelectionListener(new SelectionAdapter() {
+ @Override
public void widgetSelected(SelectionEvent event) {
((TypeTableSorter) tableViewer.getSorter())
.doSort(TypeEvalTableConst.COLUMN_FALSE_POSITIVES);
@@ -287,6 +289,7 @@ public class TestViewPage extends Page i
tc = new TableColumn(table, SWT.LEFT);
tc.setText("FN");
tc.addSelectionListener(new SelectionAdapter() {
+ @Override
public void widgetSelected(SelectionEvent event) {
((TypeTableSorter) tableViewer.getSorter())
.doSort(TypeEvalTableConst.COLUMN_FALSE_NEGATIVES);
@@ -297,6 +300,7 @@ public class TestViewPage extends Page i
tc = new TableColumn(table, SWT.LEFT);
tc.setText("Prec.");
tc.addSelectionListener(new SelectionAdapter() {
+ @Override
public void widgetSelected(SelectionEvent event) {
((TypeTableSorter) tableViewer.getSorter()).doSort(TypeEvalTableConst.COLUMN_PRECISION);
tableViewer.refresh();
@@ -306,6 +310,7 @@ public class TestViewPage extends Page i
tc = new TableColumn(table, SWT.LEFT);
tc.setText("Recall");
tc.addSelectionListener(new SelectionAdapter() {
+ @Override
public void widgetSelected(SelectionEvent event) {
((TypeTableSorter) tableViewer.getSorter()).doSort(TypeEvalTableConst.COLUMN_RECALL);
tableViewer.refresh();
@@ -315,6 +320,7 @@ public class TestViewPage extends Page i
tc = new TableColumn(table, SWT.LEFT);
tc.setText("F1");
tc.addSelectionListener(new SelectionAdapter() {
+ @Override
public void widgetSelected(SelectionEvent event) {
((TypeTableSorter) tableViewer.getSorter()).doSort(TypeEvalTableConst.COLUMN_F1);
tableViewer.refresh();
@@ -422,23 +428,27 @@ public class TestViewPage extends Page i
}
public void nextState() {
- listviewer.setInput((ArrayList<TestCasData>) caretaker.getNextState());
+ listviewer.setInput(caretaker.getNextState());
listviewer.refresh();
}
+ @Override
public Control getControl() {
return overlay;
}
+ @Override
public void setActionBars(IActionBars actionBars) {
}
+ @Override
public void dispose() {
overlay.dispose();
labelProvider.dispose();
}
+ @Override
public void setFocus() {
overlay.setFocus();
}
Modified: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/views/evalDataTable/EvalTableContentProvider.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/views/evalDataTable/EvalTableContentProvider.java?rev=1243619&r1=1243618&r2=1243619&view=diff
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/views/evalDataTable/EvalTableContentProvider.java (original)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/views/evalDataTable/EvalTableContentProvider.java Mon Feb 13 17:44:52 2012
@@ -26,7 +26,6 @@ import org.eclipse.jface.viewers.Viewer;
public class EvalTableContentProvider implements IStructuredContentProvider {
- @Override
public Object[] getElements(Object inputElement) {
if (inputElement instanceof HashMap) {
@@ -35,13 +34,11 @@ public class EvalTableContentProvider im
return null;
}
- @Override
public void dispose() {
// TODO Auto-generated method stub
}
- @Override
public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
// TODO Auto-generated method stub
Modified: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/views/evalDataTable/EvalTableLabelProvider.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/views/evalDataTable/EvalTableLabelProvider.java?rev=1243619&r1=1243618&r2=1243619&view=diff
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/views/evalDataTable/EvalTableLabelProvider.java (original)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/views/evalDataTable/EvalTableLabelProvider.java Mon Feb 13 17:44:52 2012
@@ -25,13 +25,11 @@ import org.eclipse.swt.graphics.Image;
public class EvalTableLabelProvider implements ITableLabelProvider {
- @Override
public Image getColumnImage(Object element, int columnIndex) {
// TODO Auto-generated method stub
return null;
}
- @Override
public String getColumnText(Object element, int columnIndex) {
TypeEvalData entry = (TypeEvalData) element;
@@ -58,25 +56,21 @@ public class EvalTableLabelProvider impl
return null;
}
- @Override
public void addListener(ILabelProviderListener listener) {
// TODO Auto-generated method stub
}
- @Override
public void dispose() {
// TODO Auto-generated method stub
}
- @Override
public boolean isLabelProperty(Object element, String property) {
// TODO Auto-generated method stub
return false;
}
- @Override
public void removeListener(ILabelProviderListener listener) {
// TODO Auto-generated method stub
Modified: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/views/evalDataTable/TypeEvalData.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/views/evalDataTable/TypeEvalData.java?rev=1243619&r1=1243618&r2=1243619&view=diff
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/views/evalDataTable/TypeEvalData.java (original)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/views/evalDataTable/TypeEvalData.java Mon Feb 13 17:44:52 2012
@@ -82,7 +82,6 @@ public class TypeEvalData implements Com
return FOne;
}
- @Override
public int compareTo(Object o) {
if (o instanceof TypeEvalData) {
String name = ((TypeEvalData) o).getTypeName();
Modified: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/views/evalDataTable/TypeTableSorter.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/views/evalDataTable/TypeTableSorter.java?rev=1243619&r1=1243618&r2=1243619&view=diff
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/views/evalDataTable/TypeTableSorter.java (original)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/views/evalDataTable/TypeTableSorter.java Mon Feb 13 17:44:52 2012
@@ -53,6 +53,7 @@ public class TypeTableSorter extends Vie
/**
* Compares the object for sorting
*/
+ @Override
public int compare(Viewer viewer, Object e1, Object e2) {
int rc = 0;
TypeEvalData td1 = (TypeEvalData) e1;
Modified: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/views/util/Caretaker.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/views/util/Caretaker.java?rev=1243619&r1=1243618&r2=1243619&view=diff
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/views/util/Caretaker.java (original)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/views/util/Caretaker.java Mon Feb 13 17:44:52 2012
@@ -40,7 +40,6 @@ public class Caretaker {
this.list = list;
}
- @Override
public void run() {
viewer.setInput(list);
Modified: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/views/util/EvalDataProcessor.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/views/util/EvalDataProcessor.java?rev=1243619&r1=1243618&r2=1243619&view=diff
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/views/util/EvalDataProcessor.java (original)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/testing/ui/views/util/EvalDataProcessor.java Mon Feb 13 17:44:52 2012
@@ -72,7 +72,7 @@ public class EvalDataProcessor {
String typeName = fs.getType().getName();
if (map.containsKey(typeName)) {
- TypeEvalData element = (TypeEvalData) map.get(typeName);
+ TypeEvalData element = map.get(typeName);
int oldCount = element.getTruePositives();
element.setTruePositives(oldCount + 1);
} else {
@@ -91,7 +91,7 @@ public class EvalDataProcessor {
String typeName = fs.getType().getName();
if (map.containsKey(typeName)) {
- TypeEvalData element = (TypeEvalData) map.get(typeName);
+ TypeEvalData element = map.get(typeName);
int oldCount = element.getFalsePositives();
element.setFalsePositives(oldCount + 1);
} else {
@@ -110,7 +110,7 @@ public class EvalDataProcessor {
String typeName = fs.getType().getName();
if (map.containsKey(typeName)) {
- TypeEvalData element = (TypeEvalData) map.get(typeName);
+ TypeEvalData element = map.get(typeName);
int oldCount = element.getFalseNegatives();
element.setFalseNegatives(oldCount + 1);
} else {
Modified: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/utils/apply/AbstarctApplyScriptHandler.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/utils/apply/AbstarctApplyScriptHandler.java?rev=1243619&r1=1243618&r2=1243619&view=diff
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/utils/apply/AbstarctApplyScriptHandler.java (original)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/utils/apply/AbstarctApplyScriptHandler.java Mon Feb 13 17:44:52 2012
@@ -39,7 +39,6 @@ public abstract class AbstarctApplyScrip
public void dispose() {
}
- @Override
public Object execute(ExecutionEvent event) throws ExecutionException {
IWorkbench workbench = TextMarkerAddonsPlugin.getDefault().getWorkbench();
IWorkbenchPage page = workbench.getActiveWorkbenchWindow().getActivePage();
Modified: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/utils/twl/MultiTWLConverterHandler.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/utils/twl/MultiTWLConverterHandler.java?rev=1243619&r1=1243618&r2=1243619&view=diff
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/utils/twl/MultiTWLConverterHandler.java (original)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/utils/twl/MultiTWLConverterHandler.java Mon Feb 13 17:44:52 2012
@@ -120,7 +120,6 @@ public class MultiTWLConverterHandler im
public void dispose() {
}
- @Override
public Object execute(ExecutionEvent event) throws ExecutionException {
new ConverterHandlerJob(event).schedule();
return null;
Modified: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/utils/twl/TWLConverterHandler.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/utils/twl/TWLConverterHandler.java?rev=1243619&r1=1243618&r2=1243619&view=diff
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/utils/twl/TWLConverterHandler.java (original)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/utils/twl/TWLConverterHandler.java Mon Feb 13 17:44:52 2012
@@ -96,7 +96,6 @@ public class TWLConverterHandler impleme
public void dispose() {
}
- @Override
public Object execute(ExecutionEvent event) throws ExecutionException {
new ConverterHandlerJob(event).schedule();
return null;
Modified: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-caseditor/.classpath
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-caseditor/.classpath?rev=1243619&r1=1243618&r2=1243619&view=diff
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-caseditor/.classpath (original)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-caseditor/.classpath Mon Feb 13 17:44:52 2012
@@ -1,7 +1,8 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src/main/java"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" output="target/classes" path="src/main/java"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
+ <classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="output" path="target/classes"/>
+</classpath>
Modified: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-caseditor/.project
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-caseditor/.project?rev=1243619&r1=1243618&r2=1243619&view=diff
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-caseditor/.project (original)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-caseditor/.project Mon Feb 13 17:44:52 2012
@@ -1,28 +1,24 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>uimaj-ep-textmarker-caseditor</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>uimaj-ep-textmarker-caseditor</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.m2e.core.maven2Builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.m2e.core.maven2Nature</nature>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
Modified: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-caseditor/META-INF/MANIFEST.MF
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-caseditor/META-INF/MANIFEST.MF?rev=1243619&r1=1243618&r2=1243619&view=diff
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-caseditor/META-INF/MANIFEST.MF (original)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-caseditor/META-INF/MANIFEST.MF Mon Feb 13 17:44:52 2012
@@ -1,21 +1,53 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: uimaj-ep-textmarker-caseditor
-Bundle-SymbolicName: org.apache.uima.textmarker.caseditor;singleton:=true
-Bundle-Version: 1.0.0.qualifier
-Bundle-RequiredExecutionEnvironment: JavaSE-1.6
-Require-Bundle: org.apache.uima.caseditor;bundle-version="2.4.0",
- org.eclipse.ui,
- org.eclipse.core.runtime,
- org.apache.uima.runtime;bundle-version="2.3.1",
- org.apache.uima.textmarker.engine;bundle-version="1.0.0",
- org.eclipse.core.resources,
- org.apache.uima.textmarker.ide;bundle-version="1.0.0",
- org.eclipse.ui.ide,
- org.eclipse.jface.text,
- org.eclipse.dltk.ui;bundle-version="1.0.2",
- org.eclipse.ui.editors,
- org.eclipse.debug.ui;bundle-version="3.5.0"
-Export-Package: org.apache.uima.textmarker.caseditor.view.browser,
- org.apache.uima.textmarker.caseditor.view.selection,
- org.apache.uima.textmarker.caseditor.view.tree
+Manifest-Version: 1.0
+Export-Package: org.apache.uima.textmarker.caseditor.view.selection;us
+ es:="org.apache.uima.textmarker.caseditor.view.tree,org.apache.uima.c
+ aseditor.editor",org.apache.uima.textmarker.caseditor.view.tree;uses:
+ ="org.eclipse.jface.viewers,org.apache.uima.cas.text,org.eclipse.swt.
+ widgets,org.apache.uima.caseditor.editor,org.eclipse.swt.graphics,org
+ .apache.uima.cas,org.eclipse.swt.dnd,org.eclipse.swt.events,org.eclip
+ se.swt.layout,org.eclipse.jface.preference,org.eclipse.jface.util,org
+ .eclipse.jface.dialogs",org.apache.uima.textmarker.caseditor.view.bro
+ wser;uses:="org.apache.uima.textmarker.caseditor.view.tree,org.apache
+ .uima.caseditor.editor",org.apache.uima.textmarker.caseditor;uses:="o
+ rg.eclipse.ui.plugin,org.osgi.framework"
+Ignore-Package: org.eclipse.core.runtime,org.eclipse.ui,org.eclipse.ui
+ .part
+Bundle-ActivationPolicy: lazy
+Implementation-Title: Apache UIMA Eclipse: uimaj-ep-textmarker-casedit
+ or
+Built-By: pkluegl
+Tool: Bnd-1.15.0
+Implementation-License: http://www.apache.org/licenses/LICENSE-2.0.txt
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
+Require-Bundle: org.eclipse.jface.text,org.eclipse.text,org.eclipse.ui
+ .editors,org.eclipse.ui.workbench.texteditor,org.eclipse.ui,org.eclip
+ se.ui.workbench,org.eclipse.core.runtime,org.eclipse.core.resources,o
+ rg.apache.uima.caseditor.ide,org.junit4;bundle-version="4.5.0";resolu
+ tion:=optional
+Implementation-Vendor: The Apache Software Foundation
+Implementation-Vendor-Id: org.apache.uima
+Bundle-Activator: org.apache.uima.textmarker.caseditor.TextMarkerCasEd
+ itorPlugin
+Bundle-License: http://www.apache.org/licenses/LICENSE-2.0.txt
+Bundle-SymbolicName: org.apache.uima.textmarker.caseditor;singleton:=t
+ rue
+Implementation-Version: 2.4.1-SNAPSHOT
+Bundle-Name: Apache UIMA Eclipse: uimaj-ep-textmarker-caseditor
+Created-By: Apache Maven Bundle Plugin
+Implementation-Url: http://uima.apache.org
+Build-Date: ${maven.build.timestamp}
+Bundle-Vendor: The Apache Software Foundation
+Project-Title: Apache UIMA
+Bundle-Version: 2.4.1.SNAPSHOT
+Build-Jdk: 1.6.0_23
+Bnd-LastModified: 1329140063696
+Bundle-ManifestVersion: 2
+Bundle-Description: Provides additional views for the CAS Editor
+Import-Package: org.apache.uima.cas,org.apache.uima.cas.text,org.apach
+ e.uima.caseditor.editor,org.eclipse.jface.dialogs,org.eclipse.jface.p
+ reference,org.eclipse.jface.util,org.eclipse.jface.viewers,org.eclips
+ e.swt.dnd,org.eclipse.swt.events,org.eclipse.swt.graphics,org.eclipse
+ .swt.layout,org.eclipse.swt.widgets,org.eclipse.ui.plugin,org.osgi.fr
+ amework;version="[1.6,2)"
+Bundle-DocURL: http://www.apache.org/
+
Added: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-caseditor/marker-file-identifying-eclipse-plugin
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-caseditor/marker-file-identifying-eclipse-plugin?rev=1243619&view=auto
==============================================================================
(empty)
Added: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-caseditor/pom.xml
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-caseditor/pom.xml?rev=1243619&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-caseditor/pom.xml (added)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-caseditor/pom.xml Mon Feb 13 17:44:52 2012
@@ -0,0 +1,163 @@
+<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>uimaj-ep-textmarker-caseditor</artifactId>
+ <version>2.4.1-SNAPSHOT</version>
+ <parent>
+ <groupId>org.apache.uima</groupId>
+ <artifactId>uimaj-parent</artifactId>
+ <version>2.4.1-SNAPSHOT</version>
+ <relativePath>../uimaj-parent/pom.xml</relativePath>
+ </parent>
+ <properties>
+ <uimaScmProject>${project.artifactId}</uimaScmProject>
+ </properties>
+ <name>Apache UIMA Eclipse: ${project.artifactId}</name>
+ <url>${uimaWebsiteUrl}</url>
+ <description>Provides additional views for the CAS Editor</description>
+ <scm>
+ <url>http://svn.apache.org/viewvc/uima/sandbox/trunk/uimaj-ep-textmarker-caseditor</url>
+ <connection>scm:svn:http://svn.apache.org/repos/asf/uima/sandbox/trunk/uimaj-ep-textmarker-caseditor</connection>
+ <developerConnection>scm:svn:https://svn.apache.org/repos/asf/uima/sandbox/trunk/uimaj-ep-textmarker-caseditor</developerConnection>
+ </scm>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.uima</groupId>
+ <artifactId>uimaj-ep-cas-editor</artifactId>
+ <version>${project.parent.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.core</groupId>
+ <artifactId>runtime</artifactId>
+ <version>[3.3.0,4.0.0)</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse</groupId>
+ <artifactId>ui</artifactId>
+ <version>[3.3.0,4.0.0)</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.swt</groupId>
+ <artifactId>org.eclipse.swt.win32.win32.x86_64</artifactId>
+ <version>[3.3.0.0,4.0.0)</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.ui</groupId>
+ <artifactId>ide</artifactId>
+ <version>[3.3.0.0,4.0.0)</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.ui</groupId>
+ <artifactId>org.eclipse.ui.views</artifactId>
+ <version>[3.3.0.0,4.0.0)</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.ui.workbench</groupId>
+ <artifactId>texteditor</artifactId>
+ <version>[3.3.0.0,4.0.0)</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jface</groupId>
+ <artifactId>text</artifactId>
+ <version>[3.3.0.0,4.0.0)</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.equinox</groupId>
+ <artifactId>org.eclipse.equinox.app</artifactId>
+ <version>[1.3.0,4.0.0)</version>
+ <scope>provided</scope>
+ </dependency>
+ </dependencies>
+ <build>
+ <!-- don't use artifactId as first part of finalName, follow instead the eclipse convention -->
+ <finalName>org.apache.uima.textmarker.caseditor_${parsedVersion.osgiVersion}</finalName>
+ <resources>
+ <resource>
+ <directory>.</directory>
+ <includes>
+ <include>plugin.xml</include>
+ <include>icons/**/*.*</include>
+ </includes>
+ </resource>
+ <resource>
+ <directory>src\main\resources</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>src/test/resources/ManualTests/*</exclude> <!-- test data -->
+ <exclude>marker-file-identifying-*</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.textmarker.caseditor;singleton:=true</Bundle-SymbolicName>
+ <Bundle-Activator>org.apache.uima.textmarker.caseditor.TextMarkerCasEditorPlugin</Bundle-Activator>
+ <Bundle-RequiredExecutionEnvironment>J2SE-1.5</Bundle-RequiredExecutionEnvironment>
+ <Bundle-ActivationPolicy>lazy</Bundle-ActivationPolicy>
+ <Export-Package>
+ org.apache.uima.textmarker.caseditor.*
+ </Export-Package>
+ <Require-Bundle>
+ org.eclipse.jface.text,
+ org.eclipse.text,
+ org.eclipse.ui.editors,
+ org.eclipse.ui.workbench.texteditor,
+ org.eclipse.ui,
+ org.eclipse.ui.workbench,
+ org.eclipse.core.runtime,
+ org.eclipse.core.resources,
+ org.apache.uima.caseditor.ide,
+ org.junit4;bundle-version="4.5.0";resolution:=optional
+ </Require-Bundle>
+ <Import-Package>
+ !org.eclipse.jface.text,
+ !org.eclipse.jface.text.link,
+ !org.eclipse.jface.text.source,
+ !org.eclipse.jface.text.templates,
+ !org.eclipse.ui.texteditor,
+ !org.eclipse.ui,
+ !org.eclipse.ui.actions,
+ !org.eclipse.ui.dialogs,
+ !org.eclipse.ui.model,
+ !org.eclipse.ui.part,
+ !org.eclipse.core.runtime,
+ *
+ </Import-Package>
+ </instructions>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
+ </plugins>
+ </build>
+</project>
\ No newline at end of file
Modified: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-caseditor/src/main/java/org/apache/uima/textmarker/caseditor/view/tree/AnnotationTreeContentProvider.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-caseditor/src/main/java/org/apache/uima/textmarker/caseditor/view/tree/AnnotationTreeContentProvider.java?rev=1243619&r1=1243618&r2=1243619&view=diff
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-caseditor/src/main/java/org/apache/uima/textmarker/caseditor/view/tree/AnnotationTreeContentProvider.java (original)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-caseditor/src/main/java/org/apache/uima/textmarker/caseditor/view/tree/AnnotationTreeContentProvider.java Mon Feb 13 17:44:52 2012
@@ -48,7 +48,6 @@ public class AnnotationTreeContentProvid
editor.addCasEditorInputListener(this);
}
- @Override
public void dispose() {
document.removeChangeListener(this);
editor.removeCasEditorInputListener(this);
@@ -98,7 +97,6 @@ public class AnnotationTreeContentProvid
return null;
}
- @Override
public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
// changed();
}
@@ -133,7 +131,6 @@ public class AnnotationTreeContentProvid
}
- @Override
public void casDocumentChanged(IEditorInput oldInput, ICasDocument oldDocument,
IEditorInput newInput, ICasDocument newDocument) {
// document.removeChangeListener(this);
Modified: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-caseditor/src/main/java/org/apache/uima/textmarker/caseditor/view/tree/AnnotationTreeViewPage.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-caseditor/src/main/java/org/apache/uima/textmarker/caseditor/view/tree/AnnotationTreeViewPage.java?rev=1243619&r1=1243618&r2=1243619&view=diff
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-caseditor/src/main/java/org/apache/uima/textmarker/caseditor/view/tree/AnnotationTreeViewPage.java (original)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-caseditor/src/main/java/org/apache/uima/textmarker/caseditor/view/tree/AnnotationTreeViewPage.java Mon Feb 13 17:44:52 2012
@@ -78,7 +78,6 @@ public class AnnotationTreeViewPage exte
public class TreeViewAnnotationStyleChangeListener extends AnnotationStyleChangeListener {
- @Override
public void annotationStylesChanged(Collection<AnnotationStyle> styles) {
for (AnnotationStyle annotationStyle : styles) {
String annotation = annotationStyle.getAnnotation();
@@ -153,7 +152,8 @@ public class AnnotationTreeViewPage exte
filterTypeTextField.addListener(SWT.KeyUp, this);
filterTypeTextField.addListener(SWT.MouseUp, this);
filterTypeTextField.addListener(SWT.Modify, this);
- filterTypeTextField.setMessage("Only types with...");
+ // TODO only for 3.3 see pom
+ filterTypeTextField.setMessage("Only types with...");
filterCoveredTextTextField = new Text(overlay, SWT.SINGLE | SWT.BORDER);
GridData gd2 = new GridData();
@@ -165,6 +165,7 @@ public class AnnotationTreeViewPage exte
filterCoveredTextTextField.addListener(SWT.KeyUp, this);
filterCoveredTextTextField.addListener(SWT.MouseUp, this);
filterCoveredTextTextField.addListener(SWT.Modify, this);
+ // TODO only for 3.3 see pom
filterCoveredTextTextField.setMessage("Only annotations with...");
treeView = new CheckboxTreeViewer(overlay, SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL);
@@ -480,7 +481,6 @@ public class AnnotationTreeViewPage exte
return root;
}
- @Override
public void selectionChanged(IWorkbenchPart part, ISelection selection) {
if (!useSelection)
return;
Added: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-caseditor/target/maven-archiver/pom.properties
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-caseditor/target/maven-archiver/pom.properties?rev=1243619&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-caseditor/target/maven-archiver/pom.properties (added)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-caseditor/target/maven-archiver/pom.properties Mon Feb 13 17:44:52 2012
@@ -0,0 +1,5 @@
+#Generated by Maven
+#Fri Feb 10 18:14:54 CET 2012
+version=2.4.1-SNAPSHOT
+groupId=org.apache.uima
+artifactId=uimaj-ep-textmarker-caseditor
Added: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-caseditor/target/maven-shared-archive-resources/META-INF/DEPENDENCIES
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-caseditor/target/maven-shared-archive-resources/META-INF/DEPENDENCIES?rev=1243619&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-caseditor/target/maven-shared-archive-resources/META-INF/DEPENDENCIES (added)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-caseditor/target/maven-shared-archive-resources/META-INF/DEPENDENCIES Mon Feb 13 17:44:52 2012
@@ -0,0 +1,27 @@
+// ------------------------------------------------------------------
+// Transitive dependencies of this project determined from the
+// maven pom organized by organization.
+// ------------------------------------------------------------------
+
+Apache UIMA Eclipse: uimaj-ep-textmarker-caseditor
+
+
+From: 'The Apache Software Foundation' (http://www.apache.org/)
+ - Apache UIMA Base: jVinci: Vinci Transport Library (http://uima.apache.org) org.apache.uima:jVinci:jar:2.4.1-SNAPSHOT
+ License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt)
+ - Apache UIMA Base: uimaj-adapter-vinci: Vinci Adapter (http://uima.apache.org) org.apache.uima:uimaj-adapter-vinci:jar:2.4.1-SNAPSHOT
+ License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt)
+ - UIMA Base: uimaj-core (http://uima.apache.org) org.apache.uima:uimaj-core:jar:2.4.1-SNAPSHOT
+ License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt)
+ - Apache UIMA Base: uimaj-cpe: Collection Processing Engine (http://uima.apache.org) org.apache.uima:uimaj-cpe:jar:2.4.1-SNAPSHOT
+ License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt)
+ - Apache UIMA Base: uimaj-document-annotation (http://uima.apache.org) org.apache.uima:uimaj-document-annotation:jar:2.4.1-SNAPSHOT
+ License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt)
+ - Apache UIMA Eclipse: uimaj-ep-cas-editor (http://uima.apache.org) org.apache.uima:uimaj-ep-cas-editor:jar:2.4.1-SNAPSHOT
+ License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt)
+ - Apache UIMA Base: uimaj-tools: Tools (http://uima.apache.org) org.apache.uima:uimaj-tools:jar:2.4.1-SNAPSHOT
+ License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt)
+
+
+
+
Added: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-caseditor/target/maven-shared-archive-resources/META-INF/LICENSE
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-caseditor/target/maven-shared-archive-resources/META-INF/LICENSE?rev=1243619&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-caseditor/target/maven-shared-archive-resources/META-INF/LICENSE (added)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-caseditor/target/maven-shared-archive-resources/META-INF/LICENSE Mon Feb 13 17:44:52 2012
@@ -0,0 +1,202 @@
+
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed 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.
Added: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-caseditor/target/maven-shared-archive-resources/META-INF/NOTICE
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-caseditor/target/maven-shared-archive-resources/META-INF/NOTICE?rev=1243619&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-caseditor/target/maven-shared-archive-resources/META-INF/NOTICE (added)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-caseditor/target/maven-shared-archive-resources/META-INF/NOTICE Mon Feb 13 17:44:52 2012
@@ -0,0 +1,7 @@
+
+Apache UIMA Eclipse: uimaj-ep-textmarker-caseditor
+Copyright 2006-2012 The Apache Software Foundation
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).
+
Added: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-caseditor/target/test-classes/META-INF/DEPENDENCIES
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-caseditor/target/test-classes/META-INF/DEPENDENCIES?rev=1243619&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-caseditor/target/test-classes/META-INF/DEPENDENCIES (added)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-caseditor/target/test-classes/META-INF/DEPENDENCIES Mon Feb 13 17:44:52 2012
@@ -0,0 +1,27 @@
+// ------------------------------------------------------------------
+// Transitive dependencies of this project determined from the
+// maven pom organized by organization.
+// ------------------------------------------------------------------
+
+Apache UIMA Eclipse: uimaj-ep-textmarker-caseditor
+
+
+From: 'The Apache Software Foundation' (http://www.apache.org/)
+ - Apache UIMA Base: jVinci: Vinci Transport Library (http://uima.apache.org) org.apache.uima:jVinci:jar:2.4.1-SNAPSHOT
+ License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt)
+ - Apache UIMA Base: uimaj-adapter-vinci: Vinci Adapter (http://uima.apache.org) org.apache.uima:uimaj-adapter-vinci:jar:2.4.1-SNAPSHOT
+ License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt)
+ - UIMA Base: uimaj-core (http://uima.apache.org) org.apache.uima:uimaj-core:jar:2.4.1-SNAPSHOT
+ License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt)
+ - Apache UIMA Base: uimaj-cpe: Collection Processing Engine (http://uima.apache.org) org.apache.uima:uimaj-cpe:jar:2.4.1-SNAPSHOT
+ License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt)
+ - Apache UIMA Base: uimaj-document-annotation (http://uima.apache.org) org.apache.uima:uimaj-document-annotation:jar:2.4.1-SNAPSHOT
+ License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt)
+ - Apache UIMA Eclipse: uimaj-ep-cas-editor (http://uima.apache.org) org.apache.uima:uimaj-ep-cas-editor:jar:2.4.1-SNAPSHOT
+ License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt)
+ - Apache UIMA Base: uimaj-tools: Tools (http://uima.apache.org) org.apache.uima:uimaj-tools:jar:2.4.1-SNAPSHOT
+ License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt)
+
+
+
+