summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSidharth Singh2013-07-15 02:22:17 (EDT)
committer Stephan Born2013-09-23 04:53:11 (EDT)
commit84cf8525f585ea5cc3bf35e4979334367572e1b6 (patch)
tree33344b61b0c26826df1649d26a6f98e113135763
parent343ddb6afd2fd7ebf64cdcc0409636681c999bc6 (diff)
downloadorg.eclipse.stardust.ui.web-84cf8525f585ea5cc3bf35e4979334367572e1b6.zip
org.eclipse.stardust.ui.web-84cf8525f585ea5cc3bf35e4979334367572e1b6.tar.gz
org.eclipse.stardust.ui.web-84cf8525f585ea5cc3bf35e4979334367572e1b6.tar.bz2
Jira-ID: CRNT-28362
-Added PortalApplication view update call for view icons and title change. git-svn-id: https://svn.csa.sungard.com/repos/ipp2/product/trunk/stardust/ui.web@66007 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b Signed-off-by: Sidharth Singh <sidharth.singh@sungard.com>
-rw-r--r--web-modeler/src/main/java/org/eclipse/stardust/ui/web/modeler/portal/JsfViewUpdaterBean.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/web-modeler/src/main/java/org/eclipse/stardust/ui/web/modeler/portal/JsfViewUpdaterBean.java b/web-modeler/src/main/java/org/eclipse/stardust/ui/web/modeler/portal/JsfViewUpdaterBean.java
index ce0eaeb..962f281 100644
--- a/web-modeler/src/main/java/org/eclipse/stardust/ui/web/modeler/portal/JsfViewUpdaterBean.java
+++ b/web-modeler/src/main/java/org/eclipse/stardust/ui/web/modeler/portal/JsfViewUpdaterBean.java
@@ -32,6 +32,7 @@ public class JsfViewUpdaterBean
updateViewImage(view, viewParams);
view.getViewParams().putAll(viewParams);
view.resolveLabelAndDescription();
+ PortalApplication.getInstance().updateViewTitle(view);
}
}
@@ -54,6 +55,7 @@ public class JsfViewUpdaterBean
|| uuid.equals(viewParams.get("modelUUID")))
{
view.setIcon(iconURI);
+ PortalApplication.getInstance().updateViewIconClass(view);
}
}
}
@@ -101,6 +103,7 @@ public class JsfViewUpdaterBean
if (null != viewParams && null != viewParams.get(VIEW_ICON_PARAM_KEY))
{
view.setIcon((String) viewParams.get(VIEW_ICON_PARAM_KEY));
+ PortalApplication.getInstance().updateViewIconClass(view);
viewParams.remove(VIEW_ICON_PARAM_KEY);
}
}