Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » FormSection question
FormSection question [message #50542] Tue, 27 May 2003 20:06 Go to next message
Eclipse UserFriend
Originally posted by: lmap.canada.com

Hi,

I am playing with the FormSection class and getting an weird behavior. When
I open my editor with an expanded form section, the form's control is 3 or 4
lines higher than what I would like it to be. If I collapse and expand the
form, the height is adjusted to the expected value. What am I missing?

Btw, I know this is an internal API and that we should not be using it. But
I need to implement the PDE editor's look & feel so I need to use those
classes (better than keeping reinventing the wheel). I am now trying to
decide if I should leave a dependency to an internal package or if I should
copy the jar to my plugin. Any tips here? Another related question: does
anyone know why the org.eclipse.update.ui.forms.internal.* classes are not
part of API?

Thx in advance!
Re: FormSection question [message #51974 is a reply to message #50542] Wed, 28 May 2003 14:33 Go to previous message
Todd Chambery is currently offline Todd ChamberyFriend
Messages: 31
Registered: July 2009
Member
Luiz,

I started a small project that extracts the minimal components required
for a collapsable textbox. If you'd like to take a look,

:pserver:anonymous@cvs.zclipse.sourceforge.net:/cvsroot/zclipse

(CollapsableTextBox project, run using the XTextboxTester)

I started looking into extracting this for the same reason you list
below, so that I'm not using internal APIs. I'd definitely like to get
access to the PDE stuff, but I can understand why eclipse is reluctant
to add every complex widget to the core public API.

Incidentally, I'm interested in creating or hooking into a component
repository where working code components can be freely shared and used.
As it relates to your post, if eclipse won't make the PDE widgets
public, and you are able to extract the widgets yourself, it would be
nice to have a one-stop shop for finding your work and not have to
reinvent the wheel (org.zclipse.zlibrarian project in the same cvs
repository is the thing I've just started working on).

Todd


Luiz Marcelo wrote:
> Hi,
>
> I am playing with the FormSection class and getting an weird behavior. When
> I open my editor with an expanded form section, the form's control is 3 or 4
> lines higher than what I would like it to be. If I collapse and expand the
> form, the height is adjusted to the expected value. What am I missing?
>
> Btw, I know this is an internal API and that we should not be using it. But
> I need to implement the PDE editor's look & feel so I need to use those
> classes (better than keeping reinventing the wheel). I am now trying to
> decide if I should leave a dependency to an internal package or if I should
> copy the jar to my plugin. Any tips here? Another related question: does
> anyone know why the org.eclipse.update.ui.forms.internal.* classes are not
> part of API?
>
> Thx in advance!
>
>
Previous Topic:CVS Diff Initialisation
Next Topic:a "current project" question
Goto Forum:
  


Current Time: Thu Dec 26 18:11:50 GMT 2024

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

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

Back to the top