Skip to main content


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 MuellerFriend
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 WenzFriend
Messages: 1931
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 MuellerFriend
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 WenzFriend
Messages: 1931
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 messageGo to next message
Juliane Mueller is currently offline Juliane MuellerFriend
Messages: 30
Registered: August 2011
Member
Ok, but thanks for your answer!

Regards, Juliane
Re: Single-Click-Feature [message #1693503 is a reply to message #1016930] Fri, 24 April 2015 15:21 Go to previous messageGo to next message
Djordje Stanojevic is currently offline Djordje StanojevicFriend
Messages: 14
Registered: February 2014
Junior Member
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?


Djordje Stanojevic

[Updated on: Fri, 24 April 2015 15:27]

Report message to a moderator

Re: Single-Click-Feature [message #1693630 is a reply to message #1693503] Mon, 27 April 2015 06:59 Go to previous messageGo to next message
Krisztian Koncz is currently offline Krisztian KonczFriend
Messages: 31
Registered: September 2014
Location: Budapest
Member

It works, when your pictogramelement already has selection.
Re: Single-Click-Feature [message #1693652 is a reply to message #1693630] Mon, 27 April 2015 09:38 Go to previous message
Djordje Stanojevic is currently offline Djordje StanojevicFriend
Messages: 14
Registered: February 2014
Junior Member
Thanks!

Djordje Stanojevic
Previous Topic:Accessing domain objects through property section
Next Topic:SWT Font management in Graphiti
Goto Forum:
  


Current Time: Tue Mar 19 03:58:45 GMT 2024

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

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

Back to the top