Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Create Shortcuts programmatically
Create Shortcuts programmatically [message #172018] Sun, 10 February 2008 22:11 Go to next message
Eclipse UserFriend
Originally posted by: trommas.yahoo.com

Hi all :)

I need to verify if something would be possible (my master thesis is
nearing it's end - but I might throw in one last feature):


Is it possible to create a shortcut programmatically? (ex. in an Action)

Does anyone know if this is doable?


Cheers,

Tomas Zijdemans
Re: Create Shortcuts programmatically [message #172041 is a reply to message #172018] Mon, 11 February 2008 12:47 Go to previous messageGo to next message
Boris Blajer is currently offline Boris BlajerFriend
Messages: 217
Registered: July 2009
Senior Member
Hi Tomas,

Everything, even if started interactively, ends up being executed
programmatically, so it is definitely doable. I suggest you set a
breakpoint somewhere (e.g., ViewService.createNode is a good place to
start), create a shortcut by usual means. When the breakpoint is hit,
you should be able to go up the stacktrace back to the code that
originated the startcut creation.

Best regards,
Boris

Tomas Zijdemans wrote:
> Hi all :)
>
> I need to verify if something would be possible (my master thesis is
> nearing it's end - but I might throw in one last feature):
>
>
> Is it possible to create a shortcut programmatically? (ex. in an Action)
>
> Does anyone know if this is doable?
>
>
> Cheers,
>
> Tomas Zijdemans
Re: Create Shortcuts programmatically [message #172111 is a reply to message #172018] Mon, 11 February 2008 13:39 Go to previous message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Tomas,

See generated xxxCreateShortcutAction

-----------------
Alex Shatalin
Previous Topic:Multiple Diagram Partitioning
Next Topic:intermittent missing or disappearing svg
Goto Forum:
  


Current Time: Tue Apr 16 21:00:58 GMT 2024

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

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

Back to the top