Skip to main content



      Home
Home » Modeling » Graphiti » DirectEditing in BoxRelativeAnchor(How to activate it ?)
DirectEditing in BoxRelativeAnchor [message #953840] Mon, 22 October 2012 11:21 Go to next message
Eclipse UserFriend
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 456 times)
Re: DirectEditing in BoxRelativeAnchor [message #958959 is a reply to message #953840] Fri, 26 October 2012 06:44 Go to previous messageGo to next message
Eclipse UserFriend
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 10:04 Go to previous message
Eclipse UserFriend
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: Sat Jul 26 04:48:41 EDT 2025

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

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

Back to the top