Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Folding??
Folding?? [message #462669] Mon, 17 October 2005 11:21 Go to next message
Martin is currently offline MartinFriend
Messages: 35
Registered: July 2009

I want to build an application with a folding mechanism thatŽs quite
similar to the folding of code segments in the java editor in eclipse. The
only difference is that i donŽt want it for just some piece of text, but
for a whole composite.

Means that i want to have a toggle button which is responsible for the
folding and next to it a screen area, which shows different controls
whether the button is pressed or not. For example in one case there should
be 3 textfields in a row and in the other case there should be 3 rows and
in each row a label and a textfield next to it.

But in both cases the underlying data is the same - only the presentation
is different.

Until now the only way i found to accomplish this is that with every
toggle of the button i dispose the old composite and draw the alternative
view, which is very messy.

I have to admit that IŽm quite new to SWT.

Does anybody know a better solution to this?? Or is there some SWT
component which is capable of that?
Re: Folding?? [message #462691 is a reply to message #462669] Mon, 17 October 2005 11:50 Go to previous message
Robert Bacs is currently offline Robert BacsFriend
Messages: 165
Registered: July 2009
Senior Member

"Martin" <> wrote in message
> Hi,
> I want to build an application with a folding mechanism that
Next Topic:Embedded SWT_AWT EventQueue Exceptions
Goto Forum:

Current Time: Fri Sep 25 08:56:05 GMT 2020

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

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

Back to the top