]> git.argeo.org Git - gpl/argeo-slc.git/commitdiff
git-svn-id: https://svn.argeo.org/slc/trunk@4431 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc
authorBruno Sinou <bsinou@argeo.org>
Thu, 7 Apr 2011 22:23:02 +0000 (22:23 +0000)
committerBruno Sinou <bsinou@argeo.org>
Thu, 7 Apr 2011 22:23:02 +0000 (22:23 +0000)
eclipse/plugins/org.argeo.slc.client.ui/plugin.xml
eclipse/plugins/org.argeo.slc.client.ui/src/main/java/org/argeo/slc/client/ui/views/ResultListView.java

index 72e5cbc815f565716243e29adce60b1ef8f44e46..31be01dc80585ee4ace3fab8d0a9305d91552be6 100644 (file)
                defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
                id="org.argeo.slc.client.ui.displayResultDetails"
                name="Display Result Details">
-                       <commandParameter
+                       <!-- <commandParameter
                        id="org.argeo.slc.client.commands.resultUuid"
                        name="Result UUID">
                        </commandParameter>
                        <commandParameter
                        id="org.argeo.slc.client.commands.resultName"
                        name="Result Name">
-                       </commandParameter>
+                       </commandParameter> -->
                </command>
        
            <!-- Execution Modules -->
index 79618dddd7f3e6de41c84344ac88fd0329688828..cf83ebf0141a3f86cabc481371cc725a49ca498c 100644 (file)
@@ -2,10 +2,8 @@ package org.argeo.slc.client.ui.views;
 
 import java.text.SimpleDateFormat;
 import java.util.ArrayList;
-import java.util.HashMap;
 import java.util.Iterator;
 import java.util.List;
-import java.util.Map;
 
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
@@ -65,8 +63,8 @@ public class ResultListView extends ViewPart {
 
        private final static String DISPLAY_CMD_ID = ResultDetailsDisplayHandler.ID;
        private final static String REMOVE_CMD_ID = RemoveSelectedResultFromResultList.ID;
-       private final static String UUID_PARAM_ID = "org.argeo.slc.client.commands.resultUuid";
-       private final static String NAME_PARAM_ID = "org.argeo.slc.client.commands.resultName";
+//     private final static String UUID_PARAM_ID = "org.argeo.slc.client.commands.resultUuid";
+//     private final static String NAME_PARAM_ID = "org.argeo.slc.client.commands.resultName";
 
        private final static SimpleDateFormat dateFormatter = new SimpleDateFormat(
                        "MM/dd/yy', 'HH:mm:ss");
@@ -241,14 +239,16 @@ public class ResultListView extends ViewPart {
                contributionItemParameter.label = label;
                contributionItemParameter.icon = ClientUiPlugin
                                .getImageDescriptor(iconPath);
-               if (!REMOVE_CMD_ID.equals(cmdId)) {
-                       Map<String, String> params = new HashMap<String, String>();
-                       params.put(UUID_PARAM_ID, selectedRa.getUuid());
-                       params.put(NAME_PARAM_ID,
-                                       (selectedRa.getAttributes().get("testCase") == null) ? null
-                                                       : selectedRa.getAttributes().get("testCase"));
-                       contributionItemParameter.parameters = params;
-               }
+               
+
+               // if (!REMOVE_CMD_ID.equals(cmdId)) {
+               // Map<String, String> params = new HashMap<String, String>();
+               // params.put(UUID_PARAM_ID, selectedRa.getUuid());
+               // params.put(NAME_PARAM_ID,
+               // (selectedRa.getAttributes().get("testCase") == null) ? null
+               // : selectedRa.getAttributes().get("testCase"));
+               // contributionItemParameter.parameters = params;
+               // }
 
                CommandContributionItem cci = new CommandContributionItem(
                                contributionItemParameter);