Bug 2579 - DCR: Perspective title should indicate its contents (1GGN90H)
Summary: DCR: Perspective title should indicate its contents (1GGN90H)
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 2.0 M6   Edit
Assignee: Knut Radloff CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-10 22:39 EDT by Jerome Lanneluc CLA
Modified: 2002-05-08 12:18 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jerome Lanneluc CLA 2001-10-10 22:39:10 EDT
1. Setup open perspective to open a new window
	2. Setup new type hierarchy to be inside the Hierarchy perspective
	3. Open hierarchy on type java.lang.String
	4. Minimize window
	5. Open hierarchy on type java.util.Vector
	6. Mininmize window
	Observe: You cannot tell the diffence between the 2 iconified window: they both say:
		"Java Type Hierarchy - Eclipse Project SDK"

	I would expect them to say:
	- java.lang.String
	- java.util.Vector

NOTES:
EG (7/11/01 11:39:53 AM)
	The window title is managed by the workbench. For perspective with an input
	the input should be shown in the title.
	Changed the PR into a DCR and moved to ITPUI

EJP (7/31/01 12:49:18 PM)
	Here is a fix:
	Change the method WorkbenchWindow>>#updateTitle to:

private void updateTitle() {
	String title = workbench.getProductInfo().getName();
	if (activePage != null) {
		IPerspectiveDescriptor persp = activePage.getPerspective();
		String label = persp.getLabel();
		IAdaptable input = activePage.getInput();
		if((input != null) && (activePage.getInput() != ResourcesPlugin.getWorkspace().getRoot()))
			label = activePage.getLabel();
		title = WorkbenchMessages.format("WorkbenchWindow.shellTitle", new Object[] {label, title}); //$NON-NLS-1$
	}
	getShell().setText(title);	
}
Comment 1 DJ Houghton CLA 2001-10-29 19:02:01 EST
PRODUCT VERSION:
	R0.9

Comment 2 Kevin Haaland CLA 2002-03-20 14:59:33 EST
Working sets should address this request. We will need to make it possible for 
the user to know which working set they are using. 
Comment 3 Knut Radloff CLA 2002-05-08 12:18:59 EDT
Resource navigator now displays the working set name in the tooltip, just like 
the packages view does. 
When a container is set as input for the current or a new page the working set 
name appears in the tooltip after the input name.
Setting the name on the window does not apply because working sets are view 
specific at this time.