Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-ui-dev] Sharing views across Perspectives (sometimes)

When working on SWT I tend to have two Java perspectives open in the same 
window. The only way to do this now is to clone my first Java perspectives 
but I don't see the behavior that Randy and you describe. 
I have two Java perspectives open with different files selected and 
switching perspectives keeps the state. Is this because the two Java 
perspectives are not in the same page and they are in Randy's case? 
How do you open a perspective in the same page vs. same window as a user? 
All I'm aware of is the preference to open a new perspective in a new 
window vs. the same window.

Knut





Simon_Arsenault@xxxxxxx
Sent by: platform-ui-dev-admin@xxxxxxxxxxx
02/28/02 05:39 PM
Please respond to platform-ui-dev

 
        To:     platform-ui-dev@xxxxxxxxxxx
        cc: 
        Subject:        Re: [platform-ui-dev] Sharing views across Perspectives (sometimes)


The new perspective enhancements will not allow more than one perspective
type opened in the same window.

Question, are these two perspective in 2 different pages in the same 
window
or in the same page (you can tell if they are in the same page if the
opened editors are the same switching between the 2 perspectives).

Simon :-)



  
                      "Randy Hudson"   
                      <hudsonr@xxxxxxxxxx>           To: 
platform-ui-dev@xxxxxxxxxxx 
                      Sent by:                       cc:    
                      platform-ui-dev-admin@         Subject: 
[platform-ui-dev] Sharing views across Perspectives 
                      eclipse.org                    (sometimes)        
  
  
                      02/28/2002 05:13 PM   
                      Please respond to   
                      platform-ui-dev   
  
  



I have 2 "Java Browsing" perspectives open (Perspectives 1 and 2) in the
same workbench window.  In one, I have ProjectA selected in the Projects
View, package P1 in the Package View, Type T1, Member M1.

Next, I go to the other perspective, select ProjectB, package P2, Type T2,
and Method M2.

Finally, I switch back to my first perspective.  The state has been
entirely lost.  All of the Views are showing the selection and contents
from the Perspective 2.  In fact, the Members View is really messed up, as
it doesn't match the open editor.

The problem seems to be that a Workbench window doesn't give each
perspective instance their own View intance.  Is this incorrect usage to
have the same perspective type opened more than once in a window?

_______________________________________________
platform-ui-dev mailing list
platform-ui-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-ui-dev




_______________________________________________
platform-ui-dev mailing list
platform-ui-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-ui-dev





Back to the top