Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre-Charles David2017-02-20 15:40:36 +0000
committerJoao Barata2017-07-11 09:22:34 +0000
commitd01f7023be370fe022c00464ef20eb913bf6bfae (patch)
treec268a645acb04a3bd520052a6d30a9bd622c50b0
parent74b2552edaa5474a33b39e997256145293e64dff (diff)
downloadorg.eclipse.amalgam-d01f7023be370fe022c00464ef20eb913bf6bfae.tar.gz
org.eclipse.amalgam-d01f7023be370fe022c00464ef20eb913bf6bfae.tar.xz
org.eclipse.amalgam-d01f7023be370fe022c00464ef20eb913bf6bfae.zip
[509735] Fix two ActivityExplorerePage setters
The header title and page description setters did nothing. The effect is not visible in the context of Capella: * For "header title", concrete pages implementations are provided which override the getHeaderTitle() method. * For "page description", it seems we always are in sub-classes of BasicSessionActivityExplorerPage, which overrides handleContributedSectionsFor() and does not use the broken "description" field from the page, but the one from the section instead. Bug: 509735 Change-Id: I3e6f89422f021eb232c8e966f013d9c746f03da4 Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
-rw-r--r--plugins/org.eclipse.amalgam.explorer.activity.ui/src/org/eclipse/amalgam/explorer/activity/ui/api/editor/pages/ActivityExplorerPage.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.amalgam.explorer.activity.ui/src/org/eclipse/amalgam/explorer/activity/ui/api/editor/pages/ActivityExplorerPage.java b/plugins/org.eclipse.amalgam.explorer.activity.ui/src/org/eclipse/amalgam/explorer/activity/ui/api/editor/pages/ActivityExplorerPage.java
index 9e7f5fcb..2641721a 100644
--- a/plugins/org.eclipse.amalgam.explorer.activity.ui/src/org/eclipse/amalgam/explorer/activity/ui/api/editor/pages/ActivityExplorerPage.java
+++ b/plugins/org.eclipse.amalgam.explorer.activity.ui/src/org/eclipse/amalgam/explorer/activity/ui/api/editor/pages/ActivityExplorerPage.java
@@ -348,7 +348,7 @@ public class ActivityExplorerPage extends CommonActivityExplorerPage implements
* @param title
*/
protected void setHeaderTitle(String title) {
- title = title;
+ this.title = title;
}
/**
@@ -489,7 +489,7 @@ public class ActivityExplorerPage extends CommonActivityExplorerPage implements
*/
private void setPageDescription(String description) {
- description = description;
+ this.description = description;
}
/**

Back to the top