Eclipse RCP open view on certain position -
assume have 3 views a,b,c. how can assure opened in given order. @ moment have problem if b,c open , closed, after opening appended @ end. have b,c,a visible.
to open new view utilize next method:
iworkbenchpage.showview(viewid, secondardid, iworkbenchpage.view_activate);
it seems existing placeholders views ignored.
the short reply is: rather not possible.
the eclipse workbench background ide leaves command on part shown how , user , not give total programmatic command on workbench parts. while think policy fit ides, rcp apps may have reason more restrictive users.
however, might away hack , first close views in question (if open) , open them in desired order. cause flicker , may loose state in opened views (depending on how finish save , restore state).
a rather drastic approach - might work technical pov - fixed views and/or perspectives
if of import have views in specific order, why don't merge them one?
eclipse eclipse-plugin eclipse-rcp
No comments:
Post a Comment