Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » DirectEditing in BoxRelativeAnchor(How to activate it ?)
DirectEditing in BoxRelativeAnchor [message #953840] Mon, 22 October 2012 15:21 Go to next message
Karol Desnos is currently offline Karol DesnosFriend
Messages: 3
Registered: October 2012
Junior Member
Hello everyone,

I am currently developing a GUI using for a rapid prototyping tool using graphiti, and I have a question about anchors.

My question is: is it possible to activate the directEditing of a text encloses in an BoxRelativeAnchor?
Indeed, as shown in the image below, in my GUI each "port" has a label, and I would like to make it editable using a direct editing feature.

index.php/fa/12012/0/

I already tried to add a direct editing feature, similarly to what's done in the Graphiti tutorial, but it seems that the getDirectEditingFeature of the feature provider is simply not called when I click on the label of my port.

Is there a solution ?

Thanks for your help,

Karol
  • Attachment: Graphiti.png
    (Size: 1.55KB, Downloaded 408 times)
Re: DirectEditing in BoxRelativeAnchor [message #958959 is a reply to message #953840] Fri, 26 October 2012 10:44 Go to previous messageGo to next message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1931
Registered: July 2009
Location: Walldorf, Germany
Senior Member
Karol,

I don't think this is possible currently. Anchors are not real shapes (what
turned out in the meantime to be a not so good design decision...) so it
would probably need some extra code in the Graphiti framework to enable
direct editing on anchors. A workaround could be to place an extra shape
with the text just besides the anchor.

Would you please file an enhancement bugzilla for the feature request for
direct editing of anchor texts?

Thanks,
Michael
Re: DirectEditing in BoxRelativeAnchor [message #990455 is a reply to message #958959] Wed, 12 December 2012 15:04 Go to previous message
Karol Desnos is currently offline Karol DesnosFriend
Messages: 3
Registered: October 2012
Junior Member
Hi Michael,

Thanks for your answer, sorry for my very late reaction, I was very busy and had to put aside the development of my GUI.
I just created an enhancement request on bugzilla, it is the first time I do that so I hope everything is OK.

Thanks,

Karol
Previous Topic:Unlik
Next Topic:Utilizing Graphiti Diagrams
Goto Forum:
  


Current Time: Thu Apr 18 11:18:43 GMT 2024

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

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

Back to the top