Fix ServiceProvider Annotations

Project: 
http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-gis/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-gis/commit/8829db1a
Tree: 
http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-gis/tree/8829db1a
Diff: 
http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-gis/diff/8829db1a

Branch: refs/heads/taverna2
Commit: 8829db1a5ae26b204ba6dbbaa4a9638fc228cfe4
Parents: e7cb22c
Author: edikaradumi <[email protected]>
Authored: Mon Aug 1 22:17:01 2016 +0100
Committer: edikaradumi <[email protected]>
Committed: Mon Aug 1 22:17:01 2016 +0100

----------------------------------------------------------------------
 .../gis/ui/serviceprovider/GisServiceProviderConfig.java      | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-gis/blob/8829db1a/apache-taverna-plugin-gis-activity-ui/src/main/java/org/apache/taverna/gis/ui/serviceprovider/GisServiceProviderConfig.java
----------------------------------------------------------------------
diff --git 
a/apache-taverna-plugin-gis-activity-ui/src/main/java/org/apache/taverna/gis/ui/serviceprovider/GisServiceProviderConfig.java
 
b/apache-taverna-plugin-gis-activity-ui/src/main/java/org/apache/taverna/gis/ui/serviceprovider/GisServiceProviderConfig.java
index 7b58a15..32cbfcb 100644
--- 
a/apache-taverna-plugin-gis-activity-ui/src/main/java/org/apache/taverna/gis/ui/serviceprovider/GisServiceProviderConfig.java
+++ 
b/apache-taverna-plugin-gis-activity-ui/src/main/java/org/apache/taverna/gis/ui/serviceprovider/GisServiceProviderConfig.java
@@ -2,14 +2,13 @@ package org.apache.taverna.gis.ui.serviceprovider;
 
 import java.net.URI;
 
+import net.sf.taverna.t2.lang.beans.PropertyAnnotated;
 import net.sf.taverna.t2.lang.beans.PropertyAnnotation;
 
-public class GisServiceProviderConfig {
+public class GisServiceProviderConfig extends PropertyAnnotated {
        private URI ogcServiceUri = 
URI.create("http://localhost:8080/geoserver/ows";);
        private String processIdentifier = "gs:StringConcatWPS";
        
-       // TODO: Display name not working, hide getClass
-       
        @PropertyAnnotation(displayName="OGC Web Service URI", preferred=true)
        public URI getOgcServiceUri() {
                return ogcServiceUri;
@@ -18,8 +17,6 @@ public class GisServiceProviderConfig {
                this.ogcServiceUri = ogcServiceUri;
        }
        
-       // TODO: Display name not working
-       
        @PropertyAnnotation(displayName="Process Identifier")
        public String getProcessIdentifier() {
                return processIdentifier;

Reply via email to