[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[ve-dev] Is it posssible to Communicating between two Views ?
|
- From: genu kurien <genugeorge@xxxxxxxxx>
- Date: Wed, 10 Aug 2005 21:33:41 -0700 (PDT)
- Delivered-to: ve-dev@eclipse.org
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=tI+a5RadNvB77khSiXTsbAxQoenTIh7RQry6lDMzRZNKMOY9u3TLYaJfSi6+/Oh0+W9lOzi0xYAbLvaiY2WVMBEt2Jcnuv8m12gR+yBefUoJ/o5K5cxeXdEPyryQ+Z1434jO2mr4ysDZSGLvl7Soh42CTZbhvc3vgn9lXN6vYSA= ;
HI,
I have started wrting code recently in RCP and i find out that to make a view i have to write a piece of code in plugin.xml file and then i have to start the veiw by calling the following code in
the perspective class(IPerspectiveFactory)...with the following code .
"layout.addView( DirectoryView.ID, IPageLayout.LEFT, 0.25f, editorArea);"
now.. if i was to make another view let say a "TableView" and i want to communicate between the two Views , i have to get the instance of the two views or atleast one View and pass the instance of it to the other view .. but from the above code i dont get the instance .
1.) What i want to know is how do i start a new View from the application ? is there something like -
"DirectoryView dirView =new DirectoryView();"
2.) Can i start a new View without mentioning it in the plugin.xml file ?
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com