Skip to main content



      Home
Home » Modeling » Graphiti » Single-Click-Feature(use the single-click-feature)
Single-Click-Feature [message #1015978] Mon, 04 March 2013 08:14 Go to next message
Eclipse UserFriend
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 09:35 Go to previous messageGo to next message
Eclipse UserFriend
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 09:49 Go to previous messageGo to next message
Eclipse UserFriend
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 08:54 Go to previous messageGo to next message
Eclipse UserFriend
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 04:07 Go to previous messageGo to next message
Eclipse UserFriend
Ok, but thanks for your answer!

Regards, Juliane
Re: Single-Click-Feature [message #1693503 is a reply to message #1016930] Fri, 24 April 2015 11:21 Go to previous messageGo to next message
Eclipse UserFriend
Dear All,

I'm trying to use getSingleClickFeture(), but it is not being executed when I click a single Pictogram Element in the Diagram. Is this a bug?

[Updated on: Fri, 24 April 2015 11:27] by Moderator

Re: Single-Click-Feature [message #1693630 is a reply to message #1693503] Mon, 27 April 2015 02:59 Go to previous messageGo to next message
Eclipse UserFriend
It works, when your pictogramelement already has selection.
Re: Single-Click-Feature [message #1693652 is a reply to message #1693630] Mon, 27 April 2015 05:38 Go to previous message
Eclipse UserFriend
Thanks!
Previous Topic:Accessing domain objects through property section
Next Topic:SWT Font management in Graphiti
Goto Forum:
  


Current Time: Fri Nov 07 16:53:33 EST 2025

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

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

Back to the top