Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » How to get scolling in a wizard dialog
How to get scolling in a wizard dialog [message #491] Thu, 30 April 2009 22:33 Go to next message
Eclipse UserFriend
Originally posted by: francis.oaklandsoftware.com

I have a wizard dialog which has worked great, but now I'm trying it on a
low-resolution 800x600 and the contents will not scroll. I can't find any
obvious ways to add scrolling support (maybe I'm doing something wrong in
populating the page, below is the code I use for that).

Out of curiosity, I tried the new Java project wizard and it has the same
problem, and if you are on 800x600 it's not possible to select a working
set because you can't make that fully visible.

(BTW - I need to use 800x600 for recording a screen cast, it's not cuz I
have a really old computer).

Looking for that snappy Boris response!


My code in the Wizard page:

public void createControl(Composite parent)
{
final Composite composite = new Composite(parent, SWT.NULL);
setControl(composite);
composite.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true,
true));
composite.setLayout(new GridLayout());

Label label;

label = new Label(composite, SWT.WRAP);
label.setText(GuiMessages.JavaImporterPropsPage_Select);
label.setLayoutData(new GridData(SWT.BEGINNING,
SWT.BEGINNING,
false,
false));

.... much more ....


}



--
Common Navigator Framework section in Platform Plugin Developer Guide
(Programmer's Guide)
http://help.eclipse.org/ganymede/topic/org.eclipse.platform. doc.isv/guide/cnf.htm

http://dev.eclipse.org/blogs/francis
http://wiki.eclipse.org/Common_Navigator_Framework
http://wiki.eclipse.org/Common_Navigator_Framework_Use_Cases


You have brains in your head.
You have feet in your shoes.
- Dr Seuss, Oh the Places You'll Go
Re: How to get scolling in a wizard dialog [message #508 is a reply to message #491] Fri, 01 May 2009 05:10 Go to previous messageGo to next message
Boris Bokowski is currently offline Boris BokowskiFriend
Messages: 272
Registered: July 2009
Senior Member
Hi Francis,

"Francis Upton" <francis@oaklandsoftware.com> wrote in message
news:op.us70xcdqmbraco@berlioz...
>I have a wizard dialog which has worked great, but now I'm trying it on a
>low-resolution 800x600 and the contents will not scroll. I can't find any
>obvious ways to add scrolling support (maybe I'm doing something wrong in
>populating the page, below is the code I use for that).

Sounds like a question for the SWT newsgroup to me...

> Out of curiosity, I tried the new Java project wizard and it has the same
> problem, and if you are on 800x600 it's not possible to select a working
> set because you can't make that fully visible.

Have a look at the preferences dialog, I think it does implement scrolling.
Kim was swearing a lot while she worked on it, so I would expect the worst
;-)

> Looking for that snappy Boris response!

hehe!

> My code in the Wizard page:
> ... *SWT* code...

See? You are a little off topic ;-)

Boris
Re: How to get scolling in a wizard dialog [message #521 is a reply to message #508] Fri, 01 May 2009 06:47 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: francis.oaklandsoftware.com

*shudder* I suspected I would have to get involved with my good friend
the ScrolledComposite. I understand why she was swearing. Thanks for the
pointer!


On Thu, 30 Apr 2009 22:10:25 -0700, Boris Bokowski
<Boris_Bokowski@ca.ibm.com> wrote:

> Hi Francis,
>
> "Francis Upton" <francis@oaklandsoftware.com> wrote in message
> news:op.us70xcdqmbraco@berlioz...
>> I have a wizard dialog which has worked great, but now I'm trying it on
>> a
>> low-resolution 800x600 and the contents will not scroll. I can't find
>> any
>> obvious ways to add scrolling support (maybe I'm doing something wrong
>> in
>> populating the page, below is the code I use for that).
>
> Sounds like a question for the SWT newsgroup to me...
>
>> Out of curiosity, I tried the new Java project wizard and it has the
>> same
>> problem, and if you are on 800x600 it's not possible to select a working
>> set because you can't make that fully visible.
>
> Have a look at the preferences dialog, I think it does implement
> scrolling.
> Kim was swearing a lot while she worked on it, so I would expect the
> worst
> ;-)
>
>> Looking for that snappy Boris response!
>
> hehe!
>
>> My code in the Wizard page:
>> ... *SWT* code...
>
> See? You are a little off topic ;-)
>
> Boris
>
>



--
Common Navigator Framework section in Platform Plugin Developer Guide
(Programmer's Guide)
http://help.eclipse.org/ganymede/topic/org.eclipse.platform. doc.isv/guide/cnf.htm

http://dev.eclipse.org/blogs/francis
http://wiki.eclipse.org/Common_Navigator_Framework
http://wiki.eclipse.org/Common_Navigator_Framework_Use_Cases


You have brains in your head.
You have feet in your shoes.
- Dr Seuss, Oh the Places You'll Go
Re: How to get scolling in a wizard dialog [message #534 is a reply to message #521] Fri, 01 May 2009 13:24 Go to previous messageGo to next message
Boris Bokowski is currently offline Boris BokowskiFriend
Messages: 272
Registered: July 2009
Senior Member
Btw, the bug for the general problem (WizardDialog should scroll like
preferences dialog) is: https://bugs.eclipse.org/bugs/show_bug.cgi?id=188724

Boris

"Francis Upton" <francis@oaklandsoftware.com> wrote in message
news:op.us8ntxc3mbraco@berlioz...
> *shudder* I suspected I would have to get involved with my good friend
> the ScrolledComposite. I understand why she was swearing. Thanks for the
> pointer!
>
>
> On Thu, 30 Apr 2009 22:10:25 -0700, Boris Bokowski
> <Boris_Bokowski@ca.ibm.com> wrote:
>
>> Hi Francis,
>>
>> "Francis Upton" <francis@oaklandsoftware.com> wrote in message
>> news:op.us70xcdqmbraco@berlioz...
>>> I have a wizard dialog which has worked great, but now I'm trying it on
>>> a
>>> low-resolution 800x600 and the contents will not scroll. I can't find
>>> any
>>> obvious ways to add scrolling support (maybe I'm doing something wrong
>>> in
>>> populating the page, below is the code I use for that).
>>
>> Sounds like a question for the SWT newsgroup to me...
>>
>>> Out of curiosity, I tried the new Java project wizard and it has the
>>> same
>>> problem, and if you are on 800x600 it's not possible to select a working
>>> set because you can't make that fully visible.
>>
>> Have a look at the preferences dialog, I think it does implement
>> scrolling.
>> Kim was swearing a lot while she worked on it, so I would expect the
>> worst
>> ;-)
>>
>>> Looking for that snappy Boris response!
>>
>> hehe!
>>
>>> My code in the Wizard page:
>>> ... *SWT* code...
>>
>> See? You are a little off topic ;-)
>>
>> Boris
>>
>>
>
>
>
> --
> Common Navigator Framework section in Platform Plugin Developer Guide
> (Programmer's Guide)
>
> http://help.eclipse.org/ganymede/topic/org.eclipse.platform. doc.isv/guide/cnf.htm
>
> http://dev.eclipse.org/blogs/francis
> http://wiki.eclipse.org/Common_Navigator_Framework
> http://wiki.eclipse.org/Common_Navigator_Framework_Use_Cases
>
>
> You have brains in your head.
> You have feet in your shoes.
> - Dr Seuss, Oh the Places You'll Go
Re: How to get scolling in a wizard dialog [message #548 is a reply to message #534] Fri, 01 May 2009 13:57 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: francis.oaklandsoftware.com

Hmmm, well since I need to do the work anyways, might as well put it in
the correct place.

On Fri, 01 May 2009 06:24:50 -0700, Boris Bokowski
<Boris_Bokowski@ca.ibm.com> wrote:

> Btw, the bug for the general problem (WizardDialog should scroll like
> preferences dialog) is:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=188724
>
> Boris
>
> "Francis Upton" <francis@oaklandsoftware.com> wrote in message
> news:op.us8ntxc3mbraco@berlioz...
>> *shudder* I suspected I would have to get involved with my good friend
>> the ScrolledComposite. I understand why she was swearing. Thanks for
>> the
>> pointer!
>>
>>
>> On Thu, 30 Apr 2009 22:10:25 -0700, Boris Bokowski
>> <Boris_Bokowski@ca.ibm.com> wrote:
>>
>>> Hi Francis,
>>>
>>> "Francis Upton" <francis@oaklandsoftware.com> wrote in message
>>> news:op.us70xcdqmbraco@berlioz...
>>>> I have a wizard dialog which has worked great, but now I'm trying it
>>>> on
>>>> a
>>>> low-resolution 800x600 and the contents will not scroll. I can't find
>>>> any
>>>> obvious ways to add scrolling support (maybe I'm doing something wrong
>>>> in
>>>> populating the page, below is the code I use for that).
>>>
>>> Sounds like a question for the SWT newsgroup to me...
>>>
>>>> Out of curiosity, I tried the new Java project wizard and it has the
>>>> same
>>>> problem, and if you are on 800x600 it's not possible to select a
>>>> working
>>>> set because you can't make that fully visible.
>>>
>>> Have a look at the preferences dialog, I think it does implement
>>> scrolling.
>>> Kim was swearing a lot while she worked on it, so I would expect the
>>> worst
>>> ;-)
>>>
>>>> Looking for that snappy Boris response!
>>>
>>> hehe!
>>>
>>>> My code in the Wizard page:
>>>> ... *SWT* code...
>>>
>>> See? You are a little off topic ;-)
>>>
>>> Boris
>>>
>>>
>>
>>
>>
>> --
>> Common Navigator Framework section in Platform Plugin Developer Guide
>> (Programmer's Guide)
>>
>> http://help.eclipse.org/ganymede/topic/org.eclipse.platform. doc.isv/guide/cnf.htm
>>
>> http://dev.eclipse.org/blogs/francis
>> http://wiki.eclipse.org/Common_Navigator_Framework
>> http://wiki.eclipse.org/Common_Navigator_Framework_Use_Cases
>>
>>
>> You have brains in your head.
>> You have feet in your shoes.
>> - Dr Seuss, Oh the Places You'll Go
>
>



--
Common Navigator Framework section in Platform Plugin Developer Guide
(Programmer's Guide)
http://help.eclipse.org/ganymede/topic/org.eclipse.platform. doc.isv/guide/cnf.htm

http://dev.eclipse.org/blogs/francis
http://wiki.eclipse.org/Common_Navigator_Framework
http://wiki.eclipse.org/Common_Navigator_Framework_Use_Cases


You have brains in your head.
You have feet in your shoes.
- Dr Seuss, Oh the Places You'll Go
Re: In AGR While Creating Datapool, "Link to Datapool" is not visible [message #1788241] Wed, 30 May 2018 16:25 Go to previous messageGo to next message
Eclipse UserFriend
1
Re: In AGR While Creating Datapool, "Link to Datapool" is not visible [message #1788267] Wed, 30 May 2018 16:31 Go to previous message
Eclipse UserFriend
1
Previous Topic:Pack tree columns on property sheet entry change
Next Topic:Where to get Jface source code including compile information
Goto Forum:
  


Current Time: Tue Sep 18 20:57:17 GMT 2018

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

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

Back to the top