Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » Single-Click-Feature(use the single-click-feature)
Single-Click-Feature [message #1015978] Mon, 04 March 2013 13:14 Go to next message
Juliane Mueller is currently offline Juliane Mueller
Messages: 30
Registered: August 2011
Member
Dear all,

I want draw something automatically in the diagram by a single-click. So is there any feature for a single-click, for example like the double-click-feature?

I've searched, but I can't find anything about it. Only to use double-click.

Regards, Juliane
Re: Single-Click-Feature [message #1015996 is a reply to message #1015978] Mon, 04 March 2013 14:35 Go to previous messageGo to next message
Michael Wenz is currently offline Michael Wenz
Messages: 1621
Registered: July 2009
Location: Walldorf, Germany
Senior Member
Juliane,

you may use any custome feature as such a single click feature. Just return
it on getSingleClickFeature in your feature provider.

Michael
Re: Single-Click-Feature [message #1015998 is a reply to message #1015996] Mon, 04 March 2013 14:49 Go to previous messageGo to next message
Juliane Mueller is currently offline Juliane Mueller
Messages: 30
Registered: August 2011
Member
Hi Michael,

thanks for your fast reply! I'm sorry, but I can't find this method in Override methods.
Can you please give me a more detailed answer?

Regards, Juliane
Re: Single-Click-Feature [message #1016732 is a reply to message #1015998] Thu, 07 March 2013 13:54 Go to previous messageGo to next message
Michael Wenz is currently offline Michael Wenz
Messages: 1621
Registered: July 2009
Location: Walldorf, Germany
Senior Member
Ups, sorry, that happens when one only works with the head version....

Single click features have been introduced for Graphiti 0.10.0 only, it will
be released with Eclipse Kepler in June. They are not available in earlier
versions.

Michael
Re: Single-Click-Feature [message #1016930 is a reply to message #1016732] Fri, 08 March 2013 09:07 Go to previous message
Juliane Mueller is currently offline Juliane Mueller
Messages: 30
Registered: August 2011
Member
Ok, but thanks for your answer!

Regards, Juliane
Previous Topic:Creating Custom Action for Context Menu
Next Topic:Heads up --- Changes in Graphiti API for Kepler M6
Goto Forum:
  


Current Time: Thu Oct 30 15:12:57 GMT 2014

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

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