Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » how to change node representation in palette and diagram?
how to change node representation in palette and diagram? [message #981001] Mon, 12 November 2012 04:39 Go to next message
Iqbal Hossain is currently offline Iqbal Hossain
Messages: 101
Registered: May 2011
Location: Bangladesh
Senior Member
Hello,
In my diagram editor, i was trying to change the icon of palette element. As shown in the figure below, i have change the icon for NODE, BUS, ETHERNET etc to rectangular box with fixed color.(as red circled)

index.php/fa/12295/0/


One thing is done the that i have change the icon but the problem is when i try to create a node in the diagram in the left-upper corner the icon shows which doesnt matched with the diagram. as seen in following image. when i create rectangular node then its ok but if circle or other form then it shows the problem...

index.php/fa/12296/0/

can anyone help me out. I like to delete the icon from the diagram. when i create a node then it shouldn't contain the icon.
  • Attachment: 1.jpg
    (Size: 22.12KB, Downloaded 206 times)
  • Attachment: 2.jpg
    (Size: 21.39KB, Downloaded 179 times)
Re: how to change node representation in palette and diagram? [message #981203 is a reply to message #981001] Mon, 12 November 2012 08:30 Go to previous messageGo to next message
Ralph Gerbig is currently offline Ralph Gerbig
Messages: 697
Registered: November 2009
Senior Member
Hi,

do you have your labels displaying an icon? I think this can be simply switched of in GMF graph model for the Icon.

Ralph
Re: how to change node representation in palette and diagram? [message #981207 is a reply to message #981203] Mon, 12 November 2012 08:34 Go to previous messageGo to next message
Iqbal Hossain is currently offline Iqbal Hossain
Messages: 101
Registered: May 2011
Location: Bangladesh
Senior Member
I am not sure...but as i can see labels doesnt displaying any icon.
can u check it?r u talking about it?


index.php/fa/12304/0/
  • Attachment: 222.jpg
    (Size: 40.48KB, Downloaded 221 times)

[Updated on: Mon, 12 November 2012 08:37]

Report message to a moderator

Re: how to change node representation in palette and diagram? [message #981244 is a reply to message #981207] Mon, 12 November 2012 09:13 Go to previous message
Iqbal Hossain is currently offline Iqbal Hossain
Messages: 101
Registered: May 2011
Location: Bangladesh
Senior Member
thnx....I solved it...I just false element icon of labels...
Previous Topic:Popup-list for different relations
Next Topic:Diagram does not refresh correctly
Goto Forum:
  


Current Time: Tue Oct 21 18:28:49 GMT 2014

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

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