Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » diagram partitioning - wrong palette loaded
diagram partitioning - wrong palette loaded [message #156903] Wed, 24 October 2007 09:21 Go to next message
Johannes Gross is currently offline Johannes GrossFriend
Messages: 28
Registered: July 2009
Junior Member
hi

this seems like a "small" thing but i dont find the fault:

i did an editor based on one ecore file and 2 graph,tool,map files
(based on usecase2 of norbert schöpke)
when i run the editor i can create an example. the deal is that in the
palette there are only the entries of the sub-model (which i cant add to
canvas - ok) but if i mouse-over the diagram surface i get the model
elements. so everything despite the palette entries is ok.

ideas?

thx in advance
hannes
Re: diagram partitioning - wrong palette loaded [message #156967 is a reply to message #156903] Wed, 24 October 2007 12:12 Go to previous messageGo to next message
Nicolai Kamenzky is currently offline Nicolai KamenzkyFriend
Messages: 82
Registered: July 2009
Member
Hi Hannes!

You definitely get this behaviour if you open your diagram
with the sub diagram editor.

You have a super diagram editor and a sub diagram editor.
If you select "Open with..." in the context menu of your
diagram file you are able to choose both editors. If you
choose the sub diagram editor you get the behaviour.

Maybe that is your problem.

Cheers,
Nicolai


--

I'm using an evaluation license of nemo since 51 days.
You should really try it!
http://www.malcom-mac.com/nemo
Re: diagram partitioning - wrong palette loaded [message #156972 is a reply to message #156967] Wed, 24 October 2007 12:37 Go to previous messageGo to next message
Johannes Gross is currently offline Johannes GrossFriend
Messages: 28
Registered: July 2009
Junior Member
Hej Nicolai,


you definitley got the point that the wrong editor is loaded/dominant.
Now here comes the crucial point: if i go for "Open with.." the editors
are both checked. They do have different names but maybe on the basic
level somewhere their identifiers are same.. (thats my suggestion)
so it maybe a wrong value in one of the gmfgen files....

any ideas world?


thx anyways!

by hannes




Nicolai Kamenzky schrieb:
> Hi Hannes!
>
> You definitely get this behaviour if you open your diagram
> with the sub diagram editor.
>
> You have a super diagram editor and a sub diagram editor.
> If you select "Open with..." in the context menu of your
> diagram file you are able to choose both editors. If you
> choose the sub diagram editor you get the behaviour.
>
> Maybe that is your problem.
>
> Cheers,
> Nicolai
>
>
Re: diagram partitioning - wrong palette loaded [message #157060 is a reply to message #156972] Wed, 24 October 2007 19:43 Go to previous messageGo to next message
Nicolai Kamenzky is currently offline Nicolai KamenzkyFriend
Messages: 82
Registered: July 2009
Member
I have decided to remove the open with entry of my sub
editor since you won't be able to directly open the
diagram file with the sub editor anyway.

But I don't know how to remove the entry because I didn't
work on that yet.

If you know how to do that please tell it to me. :)

Cheers,
Nicolai


--

I'm using an evaluation license of nemo since 51 days.
You should really try it!
http://www.malcom-mac.com/nemo
Re: diagram partitioning - wrong palette loaded [message #158537 is a reply to message #157060] Tue, 06 November 2007 15:28 Go to previous message
Johannes Gross is currently offline Johannes GrossFriend
Messages: 28
Registered: July 2009
Junior Member
ok thats what i found out lately about this topic:

when i was creating models quick and dirty and this palette/editor
problem occured it came from the Gen Editor View property "ID" from the
sub-gmfgen was the same as the one of the top-models .gmfgen. You can
change it by changing the "Class Name" property of Gen Editor View....
(in the sub..)

greetings






Nicolai Kamenzky schrieb:
> I have decided to remove the open with entry of my sub
> editor since you won't be able to directly open the
> diagram file with the sub editor anyway.
>
> But I don't know how to remove the entry because I didn't
> work on that yet.
>
> If you know how to do that please tell it to me. :)
>
> Cheers,
> Nicolai
>
>
Previous Topic:how to change the width limit for a compartment
Next Topic:propsheet.ecore problem in CVS
Goto Forum:
  


Current Time: Sat Aug 17 11:27:51 GMT 2024

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

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

Back to the top