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;
* 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";
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
// viewer.setInput(parameters);
values = rf.getFlowDescriptor().getValues();
- specAttributes = rf.getFlowDescriptor().getExecutionSpec()
- .getAttributes();
+ // specAttributes = rf.getFlowDescriptor().getExecutionSpec()
+ // .getAttributes();
if (values != null)
viewer.setInput(values);
public void dispose() {
}
- @SuppressWarnings("unchecked")
+ @SuppressWarnings({ "unchecked", "rawtypes" })
// we cast the Map<String, Object> to List<Object>
public Object[] getElements(Object obj) {