Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [platform-ui-dev] Voting: Inconsistent Perspective Opening

Ilya,

Your idea about is not part of this proposal, but there is one coming soon
related to it.

Dave


                                                                                                 
                    "Rozenberg, Ilya"                                                            
                    <IRozenberg@xxxxxxxxxxx        To:     "'platform-ui-dev@xxxxxxxxxxx'"       
                    m>                             <platform-ui-dev@xxxxxxxxxxx>                 
                    Sent by:                       cc:                                           
                    platform-ui-dev-admin@e        Subject:     RE: [platform-ui-dev] Voting:    
                    clipse.org                     Inconsistent Perspective Opening              
                                                                                                 
                                                                                                 
                    12/11/01 05:22 PM                                                            
                    Please respond to                                                            
                    platform-ui-dev                                                              
                                                                                                 
                                                                                                 



+1
Can we also have "if a perspective of the type already already opened just
activate it" user setting

-----Original Message-----
From: David_Springgay@xxxxxxx [mailto:David_Springgay@xxxxxxx]
Sent: Tuesday, December 11, 2001 4:10 PM
To: platform-ui-dev@xxxxxxxxxxx
Subject: [platform-ui-dev] Voting: Inconsistent Perspective Opening


Inconsistent Perspective Opening

The Loss of Context Proposal has been split up so we can move forward on
individual issues.  This section concerns the Inconsistent Perspective Open
issues (Problem #13).  We would like to vote on the direction of this
proposal.  If agreement can be reached, we will progress with the
implementation and address PR's as they come up.

In Eclipse, it is possible to open a perspective as a page in the current
window, or as a page in a new window.  The appropriate choice is determined
by user preference.  Unfortunately, many plugins ignore this preference,
and do it their own way, leading to inconsistencies in the UI.

To resolve this issue we will add an openPage method to the IWorkbench
interface.  When called, this method will examine the user preference, and
open the page in the correct mode.  The old methods will be deprecated.
Here is the prototype API.

/**
 * Creates and opens a new workbench page.  If the user preference for
 * "Open Perspective" is "in current window", the page will be created in
 * the current window.  Otherwise, it will be created in a new window.
 * The perspective of the new page is the default perspective.
 * On return, the new window and new page be active.
 *
 * @param input the page input, or <code>null</code> if there is no current
input.
 *  This is used to seed the input for the new page's views.
 * @return the new workbench page
 * @exception WorkbenchException if a new page could not be opened
 */
public IWorkbenchPage openPage(final IAdaptable input)
 throws WorkbenchException;

/**
 * Creates and opens a new workbench page.
 * [ snip ]
 * </p>
 * @param perspectiveId the perspective id for the window's initial page
 * @param input the page input, or <code>null</code> if there is no current
input.
 *  This is used to seed the input for the new page's views.
 * @return the new workbench page
 * @exception WorkbenchException if a new page could not be opened
 */
public IWorkbenchPage openPage(final String perspID, final IAdaptable
input)
 throws WorkbenchException;

Voting:

     +1 = You are in favour of this proposal & agree with further
exploration to determine API/contribution
     changes.
     0 = Abstain
     -1 = You are opposed to this proposal. When voting -1 you must also
provide a detailed explanation of your
     reasons.

Voting ends 1 week from date proposal is submitted to the mailing list.

_______________________________________________
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