Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Newbie using Views
Newbie using Views [message #448949] Sun, 16 January 2005 11:12
Ben is currently offline BenFriend
Messages: 46
Registered: July 2009
I'm a newbie writing a plugin for eclipse ( so please be patient ).

I've got a wizard and wizardpage, and when I press finish, I'd like to be
able to open a view that I have called NewsTreeView. The code I've got so
far is:

public void connectionEstablished ( NNTPClient a_Client )
System.out.println( "Success" );
m_bConnectionEstablished = true;
getShell().getDisplay().asyncExec( new Runnable() {

public void run() {
com.mobileinteractive.newsclient.views.NewsTreeView view = new




Now, this does not open my treeview. I've found an IView.init method which
may work, but it says that it should not be used by the client. I'm
basically looking for code to open up a predefined view ( its already stated
in the extension point schema ), programatically. Is there a method like
I can't find this anywhere in the tutorials.


Previous Topic:EditorPart and Graphic disposed
Next Topic:Beginner's question TitleAreaDialog as main Window
Goto Forum:

Current Time: Tue Sep 29 02:27:55 GMT 2020

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

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

Back to the top