[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.rcp] Re: Attach view
|
- From: Daniel Krügler <dsp@xxxxxxx>
- Date: Tue, 10 Jul 2007 13:06:21 +0200
- Newsgroups: eclipse.platform.rcp
- Organization: EclipseCorner
- User-agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)
Carsten Spieker wrote:
Unfortunately this trial does not work as I tried.
You probably have to ensure that your runtime workspace is clean.
Perspective settings are typically adminstrated in some lazy
manner. Indeed the method createInitialLayout of your perspective
factory is only called once, if you have setSaveAndRestore enabled.
Alternatively, if your RCP app publishes the "Reset Perspective"
action, a possible fix is to invoke this action.
Generally I recommend to use the ext.pt.
"org.eclipse.ui.perspectiveExtensions" to perform this kind of
perspective specific layouting. Just add the element
"perspectiveExtension" (and specify it's targetId, which
corresponds to a given perspective factory id), add a subelement
"view" and there you can practically all view specific layout
settings.
Greetings from Bremen,
Daniel Krügler