Package wt.enterprise
Interface ActionDelegate
- All Known Subinterfaces:
NavBarActionDelegate
- All Known Implementing Classes:
ActiveWorkspaceNavBarURLActionDelegate,AllConfigurationsActionDelegate,AllConfigurationsURLActionDelegate,AllInstancesActionDelegate,AllInstancesURLActionDelegate,AllVersionsActionDelegate,AllVersionsURLActionDelegate,com.ptc.windchill.cadx.common.BasicWildfireNavBarActionDelegate,com.ptc.windchill.cadx.caddoc.CheckedOutToWorkspaceActionDelegate,CheckedOutToWorkspaceURLActionDelegate,CheckInActionDelegate,CheckInURLActionDelegate,CheckOutActionDelegate,CheckOutURLActionDelegate,com.ptc.windchill.cadx.caddoc.CreateRepWFActionDelegate,CreateRepWFURLActionDelegate,DefaultNavBarActionDelegate,DefaultNavBarURLActionDelegate,DelegateNavBarActionDelegate,DeleteActionDelegate,com.ptc.windchill.cadx.prowt.download.DownloadActionDelegate,DownloadURLActionDelegate,ForumActionDelegate,ForumURLActionDelegate,GeneralActionDelegate,GeneralURLActionDelegate,IterationHistoryActionDelegate,IterationHistoryURLActionDelegate,wt.lifecycle.LifeCycleHistoryActionDelegate,LifeCycleHistoryURLActionDelegate,MoveActionDelegate,NavBarForumActionDelegate,NavBarURLForumActionDelegate,ObjectPropsNavBarURLActionDelegate,com.ptc.windchill.cadx.prowt.openinproe.OpenInProEActionDelegate,OpenInProEURLActionDelegate,com.ptc.windchill.uwgm.cadx.openwith.OpenWithActionDelegate,OpenWithURLActionDelegate,com.ptc.windchill.cadx.caddoc.ProductViewWFActionDelegate,ProductViewWFURLActionDelegate,com.ptc.windchill.uwgm.cadx.remove.RemoveActionDelegate,RemoveURLActionDelegate,ReportTemplateExecuteActionDelegate,ReportTemplateExecuteURLActionDelegate,SBAddToPrjActionDelegate,SBUpdatePrjActionDelegate,ShareStatusActionDelegate,ShareStatusURLActionDelegate,ShowDistributionListActionDelegate,ShowDistributionListURLActionDelegate,wt.enterprise.ShowPublishedContentActionDelegate,ShowPublishedContentURLActionDelegate,com.ptc.windchill.uwgm.cadx.update.UpdateActionDelegate,UpdateURLActionDelegate,VersionHistoryActionDelegate,VersionHistoryURLActionDelegate,ViewManufacturerURLActionDelegate,ViewSupplierURLActionDelegate,ViewVendorURLActionDelegate,com.ptc.windchill.cadx.checkout.WFCheckoutActionDelegate,WFCheckoutURLActionDelegate,com.ptc.windchill.cadx.common.WildfireNavBarActionDelegate,WsprefActionDelegate,WsprefURLActionDelegate
public interface ActionDelegate
Deprecated.
Defines methods that test the viability of a user action on an object.
Used to test if an action could be
Supported API: true
Extendable: true
valid(java.lang.Object) for an object of a
particular type (should it be a menu item) and if the action is enableable(java.lang.Object) for the specific object (should the menu item be enabled).
Supported API: true
Extendable: true
-
Method Summary
-
Method Details
-
valid
Deprecated.Tests if the action is valid on all instances of the class of object; commonly used in the construction of dynamically generated GUIs to determine if a particular action should appear. For instance, the valid method of the "check-in" action will test if the object is "Workable" or not.
Supported API: true- Parameters:
object- The object that you want to test validity on.- Returns:
- Boolean
-
enableable
Deprecated.Tests if the action is currently applicable to the instance object; commonly used at the time a GUI is generated to see if the action should be "enabled" for the object, another common usage will be at the time that the action is to be performed, to see if it is still applicable. This method should not be called when the concrete ActionDelegate class is unknown. In that case, call BasicTemplateProcessor.accessOK() instead.
Supported API: true- Parameters:
object- The object that you wish to set enabled.- Returns:
- Boolean
- Throws:
WTException
-
getContextServiceName
String getContextServiceName()Deprecated.This method is to allow access to the variable, CONTEXT_SERVICE_NAME. The role of the variable CONTEXT_SERVICE_NAME is to provide a reference name of the Action being performed. The value of CONTEXT_SERVICE_NAME should be set in the subclass that implements this interface.
Supported API: true- Returns:
- String
-