Commit 5f9d3998 authored by Eyrak Paen-Rochlitz's avatar Eyrak Paen-Rochlitz Committed by Gerrit Code Review @ Eclipse.org
Browse files

Merge "Bug 575256 [ui] Change diagram titles for better usability"

parents dca88de6 2e8fc23e
......@@ -51,7 +51,7 @@ public class DiagramAccess extends DiagramAccessBase {
public String getDiagramName(EObject rootObject) {
if (rootObject instanceof ActorClass) {
ActorClass ac = (ActorClass) rootObject;
return "Behavior of "+ac.getName();
return ac.getName() + " Behavior";
}
return "unknown";
}
......
......@@ -42,7 +42,7 @@ public class DiagramAccess extends DiagramAccessBase {
public String getDiagramName(EObject rootObject) {
if (rootObject instanceof StructureClass) {
StructureClass sc = (StructureClass) rootObject;
return "Structure of "+sc.getName();
return sc.getName() + " Structure";
}
return "unknown";
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment