<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plugin SYSTEM "plugin.dtd">

<!--THIS PRODUCT CONTAINS RESTRICTED MATERIALS OF IBM
5724-i63, 5724-H88(C) COPYRIGHT International Business Machines Corp., 1997, 2004
All Rights Reserved * Licensed Materials - Property of IBM
US Government Users Restricted Rights - Use, duplication or disclosure
restricted by GSA ADP Schedule Contract with IBM Corp.-->

<plugin id="com.ibm.ws.console.xdnodegroups"
        name="xdnodegroups"
        version="6.0.0"
        vendor-name="IBM Corp. - WebSphere XD"
        embedded="true"
        context-root="xdnodegroups">

    <requires>
        <import plugin="com.ibm.ws.console.core"/>
        <import plugin="com.ibm.ws.console.environment"/>
        <import plugin="com.ibm.ws.console.adminnodegroups"/>
        <import plugin="com.ibm.ws.console.policyconfiguration"/>
    </requires>


    <extension point="com.ibm.ws.console.core.navigatorTask">
      <tasks>
      <categoryDefinition id="xdcontrollerroot"
             parent="policyconfigroot"
             icon="images/onepix.gif"
             label="nav.xdcontrollerroot"
             weight="41" />

        <task id="showARFMConfig"
                icon="images/onepix.gif"
                label="nav.showARFMConfig"
                view="/DisplayAutonomicRequestFlowManagerDetails.do?EditAction=true"
                weight="10"
                external="false">
            <category id="xdcontrollerroot"/>
        </task>
         <task id="showAPCConfig"
                icon="images/onepix.gif"
                label="nav.showAPCConfig"
                view="/navigatorCmd.do?forwardName=nodegroups.placementconfig.main"
                weight="10"
                external="false">
            <category id="xdcontrollerroot"/>
        </task>
	    </tasks>
       </extension>

<!--  	
	As of 01/12/2006 (from the resolution of WAS defect 361309), all actionSet and collectionItems are by default
	assigned a "weight" of 100 + (10 * position).  For example, on the Nodes panel, the first "Add Node" button has
	a weight of 100, the "Remove Node" button has a weight of 110, the "Force Delete" button has a weight of 120,
	and the list goes on.  If you want the XD buttons to appear last, then you need to override the default weight
	and assign each button a weight greater than the weight of the last button from base.  This is the reason for
	the "weight" attribute assignments in the "action" elements below.
-->
<!--
   Bug 7169: Removed this from the Nodes panel because we have the same things on our Middleware nodes panel
-->
<!--  	
  <extension point="com.ibm.websphere.wsc.actionSet">
        <actionSet id="XDNodeActionButtons" contextType="Node">
          <action enablesFor="Collection" role="administrator,operator" label="button.setMaintMode" actionURI="nodeMaintenanceMode.do" weight="500">
    	    <compatibility>
			   <match key="com.ibm.websphere.baseProductVersion" value="(([6-9]|[1-9][0-9]).*)"/>
	 	    </compatibility>
    	  </action>
          <action enablesFor="collection" role="administrator,operator" label="button.setMaintModeLeaveProcesses" actionURI="nodeMaintenanceMode.do" weight="510">
    	    <compatibility>
			   <match key="com.ibm.websphere.baseProductVersion" value="(([6-9]|[1-9][0-9]).*)"/>
	 	    </compatibility>
    	  </action>
          <action enablesFor="collection" role="administrator,operator" label="button.unsetMaintMode" actionURI="nodeMaintenanceMode.do" weight="520">
    	    <compatibility>
			   <match key="com.ibm.websphere.baseProductVersion" value="(([6-9]|[1-9][0-9]).*)"/>
	 	    </compatibility>
    	  </action>
       </actionSet>
    </extension>
-->


   <extension point="com.ibm.websphere.wsc.link">
	   <linkSet id="placementCustomPropsLink"  contextType="PlacementCtrl">
    	<link label="nodegroup.placementconfig.customproperties" categoryId="additional.properties"
	        description="nodegroup.placementconfig.custompropertiesdescription"
	        actionURI="com.ibm.ws.console.nodegroups.forwardCmd.do?forwardName=Property.content.main&amp;sfname=properties"/>
	      <link label="nav.showElasticityCustomAction" categoryId="additional.properties" 
	         description="elasticity.customAction.display.name"
	         actionURI="com.ibm.ws.console.nodegroups.forwardCmd.do?forwardName=elasticity.customaction.content.main"/>
	      <link label="nav.showElasticityClass" categoryId="additional.properties" 
	         description="desc.elasticityclass.text"
	         actionURI="com.ibm.ws.console.nodegroups.forwardCmd.do?forwardName=elasticityclass.content.main"/>
	    </linkSet>
	    
	</extension>
		
	<!-- <extension point="com.ibm.websphere.wsc.link">
	   <linkSet id="placementARFMLinks"  contextType="NodeGroup">
    	<link label="AutonomicRequestFlowManager.detail.displayname" categoryId="additional.properties"
	        description="AutonomicRequestFlowManager.detail.description"
	        actionURI="DisplayAutonomicRequestFlowManagerDetails.do?EditAction=true"/>
	    <link label="nodegroup.placementconfig.displayname" categoryId="additional.properties"
	        description="nodegroup.placementconfig.description"
	        actionURI="DisplayPlacementDetails.do?EditAction=true"/>
	   </linkSet>
	</extension> -->
		
	<extension point="com.ibm.websphere.wsc.detailTab">
	    <detailTab id="placement.tabs.detailTab" contextType="PlacementCtrl">
	        <tab label="tab.configuration" contentURI="nodegroups.placementconfig.config.tab"/>
    	    <tab label="tab.runtime" contentURI="nodegroups.placementconfig.runtime.tab"/>
    	</detailTab>
	</extension>
	
	<extension point="com.ibm.websphere.wsc.detailTab">
	    <detailTab id="arfm.tabs.detailTab" contextType="ARFMCtrl">
	        <tab label="tab.configuration" contentURI="AutonomicRequestFlowManager.detail.config"/>
    	</detailTab>
	</extension>
	
        <extension point="com.ibm.websphere.wsc.detailTab">
    <detailTab id="elasticitycustomaction.ProcDef.detailTab1" contextType="ElasticityCustomActionProcDef">
        <tab
              label="tab.configuration"
              contentURI="elasticity.customAction.ProcDef.config.tab.view">
        </tab>
    </detailTab>
        </extension>

        <extension point="com.ibm.websphere.wsc.detailTab">
    <detailTab id="elasticitycustomaction.JavaProcDef.detailTab1" contextType="ElasticityCustomActionJavaProcDef">
        <tab
              label="tab.configuration"
              contentURI="elasticity.customAction.JavaProcDef.config.tab.view">
        </tab> 
    </detailTab>
     </extension>
	
	
<!--
   Bug 7169: Removed this from the Nodes panel because we have the same things on our Middleware nodes panel
-->
<!--  	
    <extension point="com.ibm.websphere.wsc.collectionItem">
	   <collectionItem id="maintModeColumn" contextType="Node">
          <item label="Node.maintMode.displayName" attributeName="status" sortable="sort" statusServlet="/ibm/console/maintstatus" weight="530">
		    <compatibility>
			   <match key="com.ibm.websphere.baseProductVersion" value="(([6-9]|[1-9][0-9]).*)"/>
	 	    </compatibility>
	      </item>
	   </collectionItem>
	</extension>
-->

    <extension point="com.ibm.ws.console.core.help">
      <toc file="toc.xml" primary="true" />
    </extension>
	
	<extension point="com.ibm.websphere.wsc.collectionItem">
    <collectionItem id="elasticity.customaction.collection" contextType="ElasticityCustomAction">
        <item
              attributeName="name"
              sortable="sort"
              itemURI="ElasticityCustomActionCollection.do?EditAction=true"
              label="elasticity.customAction.name" >
        </item>
        <item
              attributeName="osnames"
              sortable="sort"
              itemURI=""
              label="elasticity.customAction.supportedOS" >
        </item>
        <item
              attributeName="executableName,executableArguments"
              sortable="sort"
              itemURI=""
              label="elasticity.customAction.action">
        </item>

    </collectionItem>
	</extension>
	        <extension point="com.ibm.websphere.wsc.collectionItem">
    <collectionItem id="elasticityclass.collection" contextType="ElasticityClass">
        <item
              attributeName="name"
              sortable="sort"
              itemURI="DisplayElasticityClassDetails.do?"
              label="elasticityclass.name" >
        </item>
        <!--
	        <item
	              attributeName="reactionMode"
	              sortable="sort"
	              itemURI=""
	              label="elasticityclass.reactionMode" >
	        </item>
        -->
           <item
              attributeName="description"
              sortable="sort"
              itemURI=""
              label="elasticityclass.description" >
        </item>
    </collectionItem>
        </extension>
	
	<extension point="com.ibm.websphere.wsc.actionSet">
    <actionSet id="elasticity.customaction.collection.action" contextType="ElasticityCustomAction">
        <action
              enablesFor="Collection"
              label="button.new"
              actionURI="ElasticityCustomActionCollection.do"
              role="administrator,configurator">
        </action>
        <action
              enablesFor="Collection"
              label="button.delete"
              actionURI="ElasticityCustomActionCollection.do"
              role="administrator,configurator">
        </action>
    </actionSet>
	</extension>

	<extension point="com.ibm.websphere.wsc.detailTab">
		<detailTab id="elasticityclass.detail.tabs" contextType="ElasticityClass">
			<tab
              label="tab.configuration"
              contentURI="elasticityclass.detail.config">
 			</tab>
    	</detailTab>
	</extension>

	<extension point="com.ibm.websphere.wsc.collectionItem">
    <collectionItem id="elasticityclass.actionPlan.collection" contextType="ElasticityActionPlan">
        <item
              attributeName="name"
              sortable="sort"
              itemURI="ElasticityCustomActionCollection.do?EditAction=true"
              label="elasticityclass.actionPlan.step.label" >
        </item>
        <item
              attributeName="actionDesc"
              sortable="sort"
              itemURI=""
              label="elasticityclass.actionPlan.action.label" >
        </item>
     </collectionItem>
	</extension>
	
	      <extension point="com.ibm.websphere.wsc.actionSet">
    <actionSet id="elasticityclass.actionPlan.collection.action" contextType="ElasticityActionPlan">
        <action
              enablesFor="Collection"
              label="elasticityclass.actionPlan.addStep.button"
              actionURI="ElasticityActionPlanCollection.do"
              role="administrator,configurator">
        </action>
        <action
              enablesFor="Collection"
              label="elasticityclass.actionPlan.deleteStep.button"
              actionURI="ElasticityActionPlanCollection.do"
              role="administrator,configurator">
        </action>
        <action
              enablesFor="Collection"
              label="elasticityclass.actionPlan.moveUp.button"
              actionURI="ElasticityActionPlanCollection.do"
              role="administrator,configurator">
        </action>
        <action
              enablesFor="Collection"
              label="elasticityclass.actionPlan.moveDown.button"
              actionURI="ElasticityActionPlanCollection.do"
              role="administrator,configurator">
        </action>
    </actionSet>
        </extension>
	

</plugin>

