Package com.vdoc.sdk.commons.ui.utils
Class NavigatorUtils
java.lang.Object
com.vdoc.sdk.commons.ui.utils.NavigatorUtils
Navigator utility class
- Author:
- vmartinon
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.axemble.vdp.ui.framework.composites.base.CtlAbstractViewfindFormEmbeddedView(String classs, String method) This method can only be used in UI context of a process form
Its aim is to get embedded views widget and so provider if needed (getProvider() on CtlAbstractView)static IResourcegetCurrentResource(IWorkflowModule workflowModule) Method used to get current resource in which our screen is included.protected static IResourcegetCurrentResource(IWorkflowModule workflowModule, com.axemble.vdp.ui.framework.foundation.Navigator navigator) Gets the current resource of aNavigatorstatic IWorkflowInstancegetCurrentWorkflowInstance(IWorkflowModule workflowModule) Find current Workflow instancestatic com.axemble.vdp.ui.framework.document.AbstractDocumentgetDocumentByNavigatorId(String navigatorId) Get the abstract document by a Navigator IDstatic IWorkflowInstancegetWorkflowInstanceByNavigatorId(String navigatorId, IWorkflowModule iWorkflowModule) Get the workflow instance by a Navigator ID
-
Method Details
-
getCurrentResource
Method used to get current resource in which our screen is included. Example : you include a view screen in a workflow form : in view provider, you need to use your workflow instance you're included in- Parameters:
workflowModule- the workflow module- Returns:
- the current resource
-
getCurrentWorkflowInstance
Find current Workflow instance- Parameters:
workflowModule- the workflow module- Returns:
- the Workflow instance
- See Also:
-
findFormEmbeddedView
public static com.axemble.vdp.ui.framework.composites.base.CtlAbstractView findFormEmbeddedView(String classs, String method) This method can only be used in UI context of a process form
Its aim is to get embedded views widget and so provider if needed (getProvider() on CtlAbstractView)- Parameters:
classs- Class name of screenmethod- Method name of screen- Returns:
- the widget of asked view
-