Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Autosize is not working when I use custom tabbar.
Autosize is not working when I use custom tabbar. [message #1808819] Tue, 02 July 2019 10:06 Go to next message
Prajna VGFriend
Messages: 48
Registered: July 2018
Member
Hi all,

I am trying to create custom tab bar so that I can remove some tab bar icons.
I created a custom tabbar using org.eclipse.sirius.diagram.ui.tabbarContributor extension point as in
https://www.eclipse.org/sirius/doc/developer/extensions-provide_tabbar_extensions.html

As my requirement, some icons are hidden but the issue is Autosize is not working properly. When I create an element the autosize is enabled by default(Autosize should be disabled as the newly created element is by default autosized.) and it is not working when I change container size and then do autosize.

index.php/fa/35855/0/

I have added diagramElementContributionItems.add(createAutoSizeContribution(part)); in getDiagramElementContributionItem but still that is not working.

But then when I switch between diagrams it will work fine like when we use default tab bar.
  • Attachment: Autosize.PNG
    (Size: 3.81KB, Downloaded 261 times)
Re: Autosize is not working when I use custom tabbar. [message #1808970 is a reply to message #1808819] Fri, 05 July 2019 09:44 Go to previous message
Pierre Guilet is currently offline Pierre GuiletFriend
Messages: 249
Registered: June 2017
Senior Member
Hi,

It is a bug. I have made a ticket https://bugs.eclipse.org/bugs/show_bug.cgi?id=549004

Regards,


Pierre Guilet - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius

[Updated on: Fri, 05 July 2019 09:44]

Report message to a moderator

Previous Topic:EMF generated editor with Sirius Properties
Next Topic:String representation of constraints
Goto Forum:
  


Current Time: Tue Aug 20 05:05:08 GMT 2019

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

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

Back to the top