Beispiel #1
0
 public static void SetAttachedProperties(WorkflowDesignerWindow workflowDesignerWindow,
                                          IContextualResourceModel resource, string iconPath)
 {
     UIElementTitleProperty.SetTitle(workflowDesignerWindow, resource.ResourceName);
     UIElementTabActionContext.SetTabActionContext(workflowDesignerWindow, WorkSurfaceContext.Workflow);
     UIElementImageProperty.SetImage(workflowDesignerWindow, iconPath);
 }
Beispiel #2
0
 public static void SetAttachedProperties(RuntimeConfigurationView view, string tabName)
 {
     UIElementTabActionContext.SetTabActionContext(view, WorkSurfaceContext.Settings);
     UIElementTitleProperty.SetTitle(view, tabName);
     UIElementImageProperty.SetImage(view, "/images/database_save.png");
 }
Beispiel #3
0
 public static void SetAttachedProperties(DeployView view, string tabName)
 {
     UIElementTabActionContext.SetTabActionContext(view, WorkSurfaceContext.DeployResources);
     UIElementTitleProperty.SetTitle(view, tabName);
     UIElementImageProperty.SetImage(view, "/images/database_save.png");
 }