Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » Diagram Options mixture
Diagram Options mixture [message #899539] Wed, 01 August 2012 07:00 Go to next message
Rui Domingues is currently offline Rui Domingues
Messages: 189
Registered: October 2010
Senior Member
Why, when I run my project, together with tutorial project, Options from tutorial project (e.g. context menu) appears in my project diagram??

Thanks in advance
Re: Diagram Options mixture [message #899541 is a reply to message #899539] Wed, 01 August 2012 07:14 Go to previous messageGo to next message
Matthias Gorning is currently offline Matthias Gorning
Messages: 81
Registered: April 2010
Location: Germany
Member
Which options from the tutorial project do you mean?
Re: Diagram Options mixture [message #899569 is a reply to message #899541] Wed, 01 August 2012 09:13 Go to previous messageGo to next message
Rui Domingues is currently offline Rui Domingues
Messages: 189
Registered: October 2010
Senior Member
Hi. I'm talking about rename context menu for example.

Thanks
Rui
Re: Diagram Options mixture [message #899583 is a reply to message #899569] Wed, 01 August 2012 10:10 Go to previous messageGo to next message
Matthias Gorning is currently offline Matthias Gorning
Messages: 81
Registered: April 2010
Location: Germany
Member
Do you mean, if you open a context menu in your diagram editor, that this menu contains items from the tutorial editor???

What is a "rename context menu"? A rename item in the context menu?

Sorry, but for me your questions are not clear enough.
Re: Diagram Options mixture [message #899593 is a reply to message #899583] Wed, 01 August 2012 10:25 Go to previous messageGo to next message
Rui Domingues is currently offline Rui Domingues
Messages: 189
Registered: October 2010
Senior Member
Sorry for not being clear.

I have only one project opened ( a prototype to study graphiti).
When I run it, I create my root element, and right-click this element, it appears an item name "Renam Eclass", which I believe belongs to Tutorial Project.

I hope you understand better now. You can see in the attached image.
  • Attachment: Untitled.png
    (Size: 377.85KB, Downloaded 55 times)
Re: Diagram Options mixture [message #899723 is a reply to message #899593] Thu, 02 August 2012 02:16 Go to previous messageGo to next message
Matthias Gorning is currently offline Matthias Gorning
Messages: 81
Registered: April 2010
Location: Germany
Member
Thank you for clarification. Which version of Graphiti do you use?

I think in an older version we had such kind of problems.
Re: Diagram Options mixture [message #899747 is a reply to message #899723] Thu, 02 August 2012 03:53 Go to previous messageGo to next message
Rui Domingues is currently offline Rui Domingues
Messages: 189
Registered: October 2010
Senior Member
Version 0.9. in JUNO. it can be seen in attachment

thanks
rui
  • Attachment: Untitled.png
    (Size: 132.83KB, Downloaded 35 times)
Re: Diagram Options mixture [message #899779 is a reply to message #899747] Thu, 02 August 2012 06:31 Go to previous message
Matthias Gorning is currently offline Matthias Gorning
Messages: 81
Registered: April 2010
Location: Germany
Member
This version is OK.

I have no clue why this item appears in the context menu of your editor.

You should set a breakpoint in the method getContextMenu(ICustomContext context) of your IToolBehaviorProvider.

Previous Topic:Move and Add with highlight
Next Topic:Cannot modify resource set without a write transaction
Goto Forum:
  


Current Time: Sat Aug 30 06:30:59 EDT 2014

Powered by FUDForum. Page generated in 0.01936 seconds