Skip to main content



      Home
Home » Modeling » Graphiti » Cannot show context button when pictogram element on the right edge of diagram editor.
Cannot show context button when pictogram element on the right edge of diagram editor. [message #1740875] Fri, 19 August 2016 05:22 Go to next message
Eclipse UserFriend
Hi there,

I cannot choose context button when pictogram element on the right edge of diagram editor.

Please check result at the attachment.

Regards,
Zhenchao
  • Attachment: Picture1.png
    (Size: 47.06KB, Downloaded 238 times)

[Updated on: Mon, 22 August 2016 00:47] by Moderator

Re: Cannot show context button when pictogram element on the right edge of diagram editor. [message #1741114 is a reply to message #1740875] Tue, 23 August 2016 03:55 Go to previous messageGo to next message
Eclipse UserFriend
Zhenchao,

this is a really annoying issue we were not able to get rid off. The reason of this is deeper inside the GEF and Draw2D coding and even in layers underneath. It was not possible to overcome this with official APIs thus fixing was not possible.

What we have introduced is a deprecated method in the tool behavior provider (getDiagramScrollingBehavior) that would allow to switch to a mode that will always show scrollbars, which is of couse only a workaround. Unfortunately it relies on rewriting internal functionality from the frameworks Graphiti uses. Therefore we cannot guarantee that this will continue to work in the futire as well and therefor we deprecated this functionality.

Other options to overcome this are as well not really nice, an idea would be to define some invisible shapes on the diagram and place them as far outside in the diagram so that they will enable the scrollbars and the context buttons can appear without creating them.

Sorry for not haveing a better answer,
Michael
Re: Cannot show context button when pictogram element on the right edge of diagram editor. [message #1741259 is a reply to message #1741114] Wed, 24 August 2016 04:55 Go to previous message
Eclipse UserFriend
Hi Michael,

Thank you for your reply.

Yes. Finally, I implemented the second suggestion.

Regards,
Zhenchao
Previous Topic:DefaultConnectionEditPolicy not respecting scroll?
Next Topic:getSingleClickFeature of DefaultTollBehaviorProvider not triggered
Goto Forum:
  


Current Time: Sun Aug 31 14:56:56 EDT 2025

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

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

Back to the top