]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - eclipse/plugins/runtime/org.argeo.slc.client.ui/src/main/java/org/argeo/slc/client/ui/views/ProcessParametersView.java
INtroduce jackrabbit pgsql
[gpl/argeo-slc.git] / eclipse / plugins / runtime / org.argeo.slc.client.ui / src / main / java / org / argeo / slc / client / ui / views / ProcessParametersView.java
index b45fb99815a618c8402bc73ba2257d049e547bf9..402f7675aeb1ca23c0b6f5888b03c030d5992b0b 100644 (file)
@@ -4,12 +4,9 @@ import java.util.ArrayList;
 import java.util.List;
 import java.util.Map;
 
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
 import org.argeo.slc.client.ui.ClientUiPlugin;
 import org.argeo.slc.client.ui.providers.ProcessParametersEditingSupport;
 import org.argeo.slc.core.execution.PrimitiveAccessor;
-import org.argeo.slc.execution.ExecutionSpecAttribute;
 import org.argeo.slc.process.RealizedFlow;
 import org.eclipse.jface.viewers.IStructuredContentProvider;
 import org.eclipse.jface.viewers.ITableLabelProvider;
@@ -34,8 +31,8 @@ import org.eclipse.ui.part.ViewPart;
  *         attribute to recall (and update ??) the various parameters.
  */
 public class ProcessParametersView extends ViewPart {
-       private static final Log log = LogFactory
-                       .getLog(ProcessParametersView.class);
+       // private static final Log log = LogFactory
+       // .getLog(ProcessParametersView.class);
 
        public static final String ID = "org.argeo.slc.client.ui.processParametersView";
 
@@ -44,7 +41,7 @@ public class ProcessParametersView extends ViewPart {
        private Map<String, Object> values;
        // This map stores the spec of the attributes used to offer the end user
        // some choices.
-       private Map<String, ExecutionSpecAttribute> specAttributes;
+       //private Map<String, ExecutionSpecAttribute> specAttributes;
 
        // We must keep a reference to the current EditingSupport so that we can
        // update the index of the process being updated
@@ -122,8 +119,8 @@ public class ProcessParametersView extends ViewPart {
                // viewer.setInput(parameters);
 
                values = rf.getFlowDescriptor().getValues();
-               specAttributes = rf.getFlowDescriptor().getExecutionSpec()
-                               .getAttributes();
+               // specAttributes = rf.getFlowDescriptor().getExecutionSpec()
+               // .getAttributes();
 
                if (values != null)
                        viewer.setInput(values);
@@ -142,7 +139,7 @@ public class ProcessParametersView extends ViewPart {
                public void dispose() {
                }
 
-               @SuppressWarnings("unchecked")
+               @SuppressWarnings({ "unchecked", "rawtypes" })
                // we cast the Map<String, Object> to List<Object>
                public Object[] getElements(Object obj) {