How do i initialize a ViewPart ? [message #438730] |
Mon, 24 October 2005 05:40 |
Eclipse User |
|
|
|
Originally posted by: gkurien.icope.com
hi,
i have variable that i want to initialize in the View PArt but since i
can only open a view PArt by calling the find(View) method how do i use a
constructor to initialize some parameters ,before the view part create's
the layout...
|
|
|
|
|
|
|
Re: How do i initialize a ViewPart ? [message #438890 is a reply to message #438835] |
Fri, 28 October 2005 07:31 |
Eclipse User |
|
|
|
Originally posted by: gkurien.icope.com
You said ---
Store the initialization information for your view somewhere else ... like
in the plugin. Then in IViewPart#init() method go back to your plugin and
initialize the internal variable from the plugin.
---
can u give me an example how to do that ?
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04343 seconds