Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » child not selectable
child not selectable [message #196653] Fri, 11 July 2008 13:09 Go to next message
Eclipse UserFriend
Originally posted by: yappalewa.gmail.com

I made up a compartment with a child but when the popup comes out of the
container, the child placing option is grayed out, I can only place a
widget outside then move it inside with the mouse. But then become
unselectable, what I've done wrong?
Re: child not selectable [message #196774 is a reply to message #196653] Sat, 12 July 2008 07:54 Go to previous messageGo to next message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Martin,

Can you create child element using palette tools?

-----------------
Alex Shatalin
Re: child not selectable [message #196836 is a reply to message #196774] Mon, 14 July 2008 08:40 Go to previous message
Eclipse UserFriend
Originally posted by: paolo.paolo.it

yes, I figured out what the problem was, or at least I solved partially.
it's all due to the fact I de-commented in the xxxEditParts the line
relative to the diagram connections arrows, and to prevent to loose
everytime this I added a "generated not" in all the widgets' editparts.
This was enough to mess up the popup/child creation icon/etc..
I decided to delete all the .diagram project (my only overrides were those
connection arrows and quite a lot of modifications in plugin.xml for
setting project icon, right click contestual action etc, I lost all of
them) but after deletion and fresh regeneration all worked ok.
Anyway, when I place a child node, I can select it but cannot see his
highlighted borders, so that it's not moveable or resizeable, but I'm not
wrong this happens everytime and everytime I forget how to correct this,
will search now in the forum :)

My humble suggestion for gmf plugin creation and code generation, is to
add some feature that also delete from the project the files not requested
any more because sometimes they badly mess up things and you need quite a
lot of work to clean up. This is the case you add a child compartment and
generate code. You will have a xxxNodeEditPart and xxxOtherStuff in many
places, and also xxxNode2EditPart etc. because of the child compartment
opportunity: well, if you decide to remove the child compartment those
xxxNode2... will remain and they really should be removed. I understand
that if you make a custom method or paste in an icon the code generator
shouldn't blindly remove everythong, but some cleanup wizard or a popup
with a question on whether or not to delete those files (like in svn
commit dialogs) would come very handy :)
Previous Topic:thread items not visible when list layout set to false
Next Topic:Border Item Rectilinear router
Goto Forum:
  


Current Time: Thu Mar 28 10:06:27 GMT 2024

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

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

Back to the top