Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Custom command to custom palette item
Custom command to custom palette item [message #723331] Thu, 08 September 2011 11:09 Go to next message
janpojer is currently offline janpojerFriend
Messages: 40
Registered: July 2011
Member
Hi,

I am trying to create custom operation on double click on item from palette.

I have created the item and modified the handleDoubleClick function.
From there i wanted to launch my command, but i am a bit lost what kind of command should i use and how to create it.

I am trying to open another diagram window (of different resource).

Anyone tried this?

Thanks..

Jan
Re: Custom command to custom palette item [message #723361 is a reply to message #723331] Thu, 08 September 2011 12:16 Go to previous message
janpojer is currently offline janpojerFriend
Messages: 40
Registered: July 2011
Member
Solved by inheriting Command class and defining execute method for my functionality.
Previous Topic:popupMenus extension plugin problem
Next Topic:Display second diagram with given resource
Goto Forum:
  


Current Time: Sun Mar 07 15:14:03 GMT 2021

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

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

Back to the top