Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Multiple views don't care of perspective layout, is it a BUG ?
Multiple views don't care of perspective layout, is it a BUG ? [message #249248] Fri, 04 June 2004 08:42
Eclipse UserFriend
Originally posted by: tommy.mi.com

Hi,

I don't know if it's a bug or me, but views which has the attribute
'allowMultiple' set to 'true', they (the views) don't care of the
perspective layout.

I use M8 and M9.

Exemple :

Two views declared in plugin.xml with attribute 'allowMultiple' set to
'true' :
- zone1.view
- zone2.view

Two IPlaceholderFolderLayout declared in MyPerspectiveFactory.java :
- zone1 on the left of the editor area
- zone2 on the bottom of the editor area

I add zone1.view to zone1 with method 'zone1.addPlaceholder("zone1.view")'
I add zone2.view to zone2 with method 'zone2.addPlaceholder("zone2.view")'

Let's open the perspective...

The opening of views is done with the method :
page.showView(primaryId, secondaryId, WorkbenchPage.VIEW_ACTIVATE);

* I open a zone2.view view with the secondary id '1'.
It's displayed in the folder zone2 --> OK.

* I open a zone1.view view with the secondary id '1'.
It's displayed in the folder zone1 --> OK.

* I open a zone1.view view with the secondary id '2'.
It's displayed in the folder zone2 --> NOK.
The folder zone2 is the folder which is in the right-bottom corner, so
it's the 'default' folder for views with no folder.

So, is it a bug or not ?

Thanks.
Previous Topic:Disable Code Formatter for Binary Expressions ?
Next Topic:How to manage RCP window title
Goto Forum:
  


Current Time: Sat Dec 21 16:54:11 GMT 2024

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

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

Back to the top