Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[pde-dev] Shell and Composite ??

Hi 

I want to use FileDialog SWT component in a wizard
page's createControl function. Now my problem is
FileDialog constructor takes input as "Shell" and I
create my wizard page using Composite (i.e. input to
createControl function). I donot have any instance of
Shell in createControl function, all the components in
that page will be laid on top of Composite.

**********
public void createControl(Composite parent) {
Composite composite =  new Composite(parent,
SWT.NULL);

**********

Is there any way I could use FileDialog with
Composite, instead of using it with Shell. I mean can
there be a work-around for this ? Any inputs will be
appreciated.

Regards
Hemant


	
		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 


Back to the top