| Qualified names on referance labels [message #1053673] |
Tue, 07 May 2013 04:29  |
serhat gezgin Messages: 136 Registered: January 2013 Location: Izmir |
Senior Member |
|
|
Hi all,
I need qualified name on reference labels but don't know how can i implement this
feature anyone can help me to do ?
Sample scenario is on attached picture
regards.
|
|
|
|
|
|
|
|
|
|
| Re: Qualified names on referance labels [message #1059505 is a reply to message #1059425] |
Mon, 20 May 2013 02:21   |
serhat gezgin Messages: 136 Registered: January 2013 Location: Izmir |
Senior Member |
|
|
Hi,
(on attached picture i explain where i need to qualified name.)
When i write this code to ContentSheetLabelProvider;
public String getText(Object element) {
element = unwrap(element);
if (element instanceof ContentNavigatorGroup) {
return ((ContentNavigatorGroup) element).getGroupName() + ".serhat";
}
IElementType etype = getElementType(getView(element));
return etype == null ? "" : etype.getDisplayName() + ".serhat";
}
I get attached picture. But i need changed name on 2. section (on Attache picture you can see 2. section)
regards
Attachment: aaaa.png
(Size: 188.24KB, Downloaded 13 times)
[Updated on: Mon, 20 May 2013 02:22] Report message to a moderator
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.01822 seconds