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: 53
Registered: July 2018
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

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.


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 288 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: 250
Registered: June 2017
Senior Member

It is a bug. I have made a ticket


Pierre Guilet - Obeo
Need training or professional services for 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: Thu Feb 20 19:12:33 GMT 2020

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

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

Back to the top