directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pierre-Arnaud Marcelot" ...@marcelot.net>
Subject [Studio] Customizable size for ConnectionWidget
Date Wed, 17 Oct 2007 13:04:07 GMT
Hi Dev,

I'm using the ConnectionWidget class (
org.apache.directory.studio.connection.ui.widgets.ConnectionWidget) in the
Schema Editor plugin to let the user select the connection he wants to
associate with a Schema Project. The widget performs well but is
unfortunately defined with a height value of 250 which causes the window to
be a little too high.

I was wondering if was possible to modify the interface of the methods:

   - public void createWidget( Composite parent )
   - protected Control createContent( Composite parent )

to be able to give them a GridData for specifying the size of the widget
instead of using a default size of width = 450 & height = 250.

WDYT ?

Regards,
P-A

Mime
View raw message