Element in Metrics View [message #62502] |
Sat, 14 October 2006 22:51  |
Eclipse User |
|
|
|
Hello all,
Can anyone please tell me the best way to change what displays in the
Element column of the metrics view, rather than displaying "<base diagram
class>::<a figure class>::<a contained figure class>"? I'd like to simply
display the label of my contained figure class.
I traced the code and ultimately ended up in the ElementMetrics constructor
of the ElementMetrics inner class - I see it calls getQualifiedName() which
returns an element name in the above-mentioned format.
I didn't want to modify this constructor to reset the value of
targetElementQName without checking first with the forum. Has anyone
customized this column?
Thanks!
|
|
|
|
Re: Element in Metrics View [message #67385 is a reply to message #63116] |
Sun, 22 October 2006 15:58  |
Eclipse User |
|
|
|
Thank you Radek!
"Radek Dvorak" <radek.dvorak@borland.com> wrote in message
news:op.thia2kz7hj1a1g@czprd-rdvorak.emea.borl.net...
Hi John,
Currently, only
org.eclipse.gmf.runtime.emf.core.util.EMFCoreUtil.getQualifi edName()
is used here.
I have raised a bugzilla for supporting customization of element qualified
names.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=161016
Regards,
/Radek
On Sun, 15 Oct 2006 04:51:05 +0200, John <jrager@nycap.rr.com> wrote:
> Hello all,
>
> Can anyone please tell me the best way to change what displays in the
> Element column of the metrics view, rather than displaying "<base diagram
> class>::<a figure class>::<a contained figure class>"? I'd like to
> simply
> display the label of my contained figure class.
>
> I traced the code and ultimately ended up in the ElementMetrics
> constructor
> of the ElementMetrics inner class - I see it calls getQualifiedName()
> which
> returns an element name in the above-mentioned format.
>
> I didn't want to modify this constructor to reset the value of
> targetElementQName without checking first with the forum. Has anyone
> customized this column?
>
> Thanks!
>
>
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
|
|
|
Powered by
FUDForum. Page generated in 0.02752 seconds