Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Enable adding child to container while compartment is hidden
Enable adding child to container while compartment is hidden [message #498509] Tue, 17 November 2009 10:03
Vitaly Savicks is currently offline Vitaly SavicksFriend
Messages: 15
Registered: July 2009
Junior Member
Does anyone know what changes should be made to generated code or at
least what classes are involved in the following case.

Let's say I have a container element of A which contains children of
type B (in a compartment). When I select a tool B from palette and drag
it over the compartment, the mouse is changed accordingly and I can
click and add a child.

Now let's say I have hidden the compartment using filters, so I only got
an empty-looking A. When I drag B over it, the action is disabled, which
is logical. But how can I enable it or add the code to allow to add B
when compartment is hidden?

Any help is appreciated a lot.
Previous Topic:Adding Images to a GMF Diagram
Next Topic:Integrate GMF in RCP application
Goto Forum:
  


Current Time: Fri Mar 29 09:25:13 GMT 2024

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

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

Back to the top