You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by jo...@apache.org on 2009/05/21 11:57:55 UTC
svn commit: r777035 -
/incubator/uima/sandbox/trunk/CasEditorEclipsePlugin/plugin.xml
Author: joern
Date: Thu May 21 09:57:54 2009
New Revision: 777035
URL: http://svn.apache.org/viewvc?rev=777035&view=rev
Log:
UIMA-546: Fixed deprecation warnings
Modified:
incubator/uima/sandbox/trunk/CasEditorEclipsePlugin/plugin.xml
Modified: incubator/uima/sandbox/trunk/CasEditorEclipsePlugin/plugin.xml
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/CasEditorEclipsePlugin/plugin.xml?rev=777035&r1=777034&r2=777035&view=diff
==============================================================================
--- incubator/uima/sandbox/trunk/CasEditorEclipsePlugin/plugin.xml (original)
+++ incubator/uima/sandbox/trunk/CasEditorEclipsePlugin/plugin.xml Thu May 21 09:57:54 2009
@@ -178,20 +178,29 @@
<page
class="org.apache.uima.caseditor.ui.property.ProjectPropertyPage"
icon="icons/svgicons/corpus.png"
- id="org.apache.uima.caseditor.corpusPropertyPage" name="Project"
- objectClass="org.apache.uima.caseditor.core.model.NlpProject" />
+ id="org.apache.uima.caseditor.corpusPropertyPage" name="Project">
+ <enabledWhen>
+ <instanceof value="org.apache.uima.caseditor.core.model.NlpProject"/>
+ </enabledWhen>
+ </page>
<page
class="org.apache.uima.caseditor.ui.property.DocumentPropertyPage"
icon="icons/svgicons/document.png"
- id="org.apache.uima.caseditor.documentPropertyPage" name="Document"
- objectClass="org.apache.uima.caseditor.core.model.DocumentElement" />
+ id="org.apache.uima.caseditor.documentPropertyPage" name="Document">
+ <enabledWhen>
+ <instanceof value="org.apache.uima.caseditor.core.model.DocumentElement"/>
+ </enabledWhen>
+ </page>
<page
class="org.apache.uima.caseditor.ui.property.AnnotationPropertyPage"
icon="icons/svgicons/corpus.png"
id="org.apache.uima.caseditor.annotationspropertypage"
- name="Annotations"
- objectClass="org.apache.uima.caseditor.core.model.NlpProject" />
+ name="Annotations">
+ <enabledWhen>
+ <instanceof value="org.apache.uima.caseditor.core.model.NlpProject"/>
+ </enabledWhen>
+ </page>
</extension>
<extension point="org.eclipse.core.runtime.adapters">
@@ -255,4 +264,4 @@
class="org.apache.uima.caseditor.editor.DefaultCasDocumentProvider">
</provider>
</extension>
-</plugin>
\ No newline at end of file
+</plugin>