Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » initial palette width(how to set initial palette width)
initial palette width [message #625602] Wed, 22 September 2010 09:26 Go to next message
emil salageanu is currently offline emil salageanuFriend
Messages: 94
Registered: June 2010
Location: Nice, France
Does anybody know how to set the initial width of the palette?

Have anybody had problems when trying to resize the palette by simply resizing the eclipse widow containing the palette (resizing the palette using the "resize" action works well but resizing the eclipse window containing the palette by dragging it has a strange behavior).

Re: initial palette width [message #1071119 is a reply to message #625602] Fri, 19 July 2013 11:38 Go to previous message
Susinda Perera is currently offline Susinda PereraFriend
Messages: 8
Registered: July 2013
Junior Member
use getInitialPaletteSize method in your document editor

public class YourDocumentEditor extends DiagramDocumentEditor{

        ///// other methods ////

	protected int getInitialPaletteSize() {
			return 240;

Previous Topic:Custom XML output
Next Topic:Creating metamodel object instances without graphical view
Goto Forum:

Current Time: Sat Mar 06 14:43:15 GMT 2021

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

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

Back to the top