Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Element in Metrics View
Element in Metrics View [message #62502] Sun, 15 October 2006 02:51 Go to next message
John Rager is currently offline John RagerFriend
Messages: 15
Registered: July 2009
Junior Member
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 #63116 is a reply to message #62502] Mon, 16 October 2006 08:55 Go to previous messageGo to next message
Radomil Dvorak is currently offline Radomil DvorakFriend
Messages: 249
Registered: July 2009
Senior Member
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 qualifi=
ed =

names.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=3D161016

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 diag=
ram
> 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/
Re: Element in Metrics View [message #67385 is a reply to message #63116] Sun, 22 October 2006 19:58 Go to previous message
John Rager is currently offline John RagerFriend
Messages: 15
Registered: July 2009
Junior Member
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/
Previous Topic:Outline not displaying
Next Topic:Internal Error while generating gmfgen Model
Goto Forum:
  


Current Time: Sun Aug 18 08:22:53 GMT 2024

Powered by FUDForum. Page generated in 0.03610 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top