Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » F2 Edit on Pictogram Element(Direct Edit on Click of Pictogram Element)
F2 Edit on Pictogram Element [message #686390] Wed, 22 June 2011 06:57 Go to next message
Maqsood Ahmed is currently offline Maqsood AhmedFriend
Messages: 41
Registered: September 2010
Member
Hi All,

I wanted to know if we can Edit a Pictogram Element on the selecting it(Left Click/Double Click/F2), i have enabled Direct Editing of the same , when user drags drops from Palette. But if he desires to edit it again,

1) Is F2 edit configurable?
2) How to enable direct editing on selection of a Pictogram Element.

I have a polygon with Multitext edit box in it.

Current Behaviour: The user selects the PE, and tries to edit it by clicking on the Textarea.

Regards,
Mak
Re: F2 Edit on Pictogram Element [message #686408 is a reply to message #686390] Wed, 22 June 2011 07:28 Go to previous message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1931
Registered: July 2009
Location: Walldorf, Germany
Senior Member
Probably overriding getSelectionInfo in yaour ToolBehaviorProvider will
enable that. In this method you get the selected pictogram element and you
can return the pictogram element your direct editing feature needs as input.

HTH,
Michael

schrieb im Newsbeitrag news:its379$cdk$1@news.eclipse.org...

Hi All,

I wanted to know if we can Edit a Pictogram Element on the selecting it(Left
Click/Double Click/F2), i have enabled Direct Editing of the same , when
user drags drops from Palette. But if he desires to edit it again,

1) Is F2 edit configurable?
2) How to enable direct editing on selection of a Pictogram Element.

I have a polygon with Multitext edit box in it.

Current Behaviour: The user selects the PE, and tries to edit it by clicking
on the Textarea.

Regards,
Mak
Previous Topic:How to set icons for create features to the palett?
Next Topic:autosize Text-GA
Goto Forum:
  


Current Time: Thu Apr 25 14:39:44 GMT 2024

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

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

Back to the top