Bug 202174 - Define "Web" perspective
Summary: Define "Web" perspective
Status: RESOLVED FIXED
Alias: None
Product: WTP Java EE Tools
Classification: WebTools
Component: wst.web (show other bugs)
Version: 3.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 3.0 M4   Edit
Assignee: Carl Anderson CLA
QA Contact: Chuck Bridgham CLA
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks: 209191
  Show dependency tree
 
Reported: 2007-09-04 12:03 EDT by Jim Zhang CLA
Modified: 2008-04-24 00:44 EDT (History)
6 users (show)

See Also:


Attachments
patch for web perspective on org.eclipse.wst.web.ui (19.00 KB, patch)
2007-11-08 12:01 EST, Jim Zhang CLA
bjorn.freeman-benson: iplog+
Details | Diff
icon gif (1000 bytes, image/gif)
2007-11-15 20:27 EST, Jim Zhang CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jim Zhang CLA 2007-09-04 12:03:37 EDT
WST should define a "Web" perspective just as JST does a "Java EE" one.  First of all it's natural that it should be there as WST is for general web development (html, styles, AJAX).  Secondly when that's missing from WST other "adopter" projects/products add there own which run into each other when installed together.  

Since WTP currently does not define many "web only" views, the base definition of the "Web" perspective will appear to be a subset of Java EE perspective.  But it should be defined as a separate perspective so that it allows adopters to extend from it and add web only views to it.
Comment 1 David Williams CLA 2007-09-04 12:12:46 EDT
Sounds like a good idea to me. 

Adding Bob Goodman to CC as I think ATF has done something similar. 

Bob, think that can/should move into WST? 

Comment 2 Robert Goodman CLA 2007-09-05 11:58:25 EDT
ATF has two perspectives a Web Browser Tools and a Web Development perspective. The Web Browser Tools perspective has the views for  ATF browser tooling (DOM inspector, CSS view Request monitor, These tools are specific to ATF.  The Web Development perspective looks like the following. 

	
	    ____ ________________ _____
	   |    |                |     |
	   | P  |                |  O  |
	   | R  |     ED         |  u  |
	   | o  |                |  t  |
	   | j  |                |  l  |
	   |    |________________|  i  |
	   | E  |                |  n  |
	   | X  | PROB/SERV/PROP |  e  |
	   |_P__|________________|_____|
	  
The Web Development perspective consists of one class and some plugin XML definitions to add an ATF' s specific action set, control New Wizards short cuts, etc. We added in the perspective to get better control of the layout and menu items shown to the web developer. One of the complaints we have received is that the other perspectives have too many unrelated options for web development. We are also looking at eventually releasing a version of ATF that only contains WST and it dependencies. In this case the default perspective is the Resource perspective which doesn't have all the views a web developer needs. If WST is going to add in a Web Perspective, then ATF would drop its Wed Development Perspective. I would like to be part of the discussion on what the perspective will contain. 
Comment 3 Jim Zhang CLA 2007-11-08 12:01:09 EST
Created attachment 82460 [details]
patch for web perspective on org.eclipse.wst.web.ui
Comment 4 Jim Zhang CLA 2007-11-08 12:02:55 EST
Comment on attachment 82460 [details]
patch for web perspective on org.eclipse.wst.web.ui

Here's the patch, created based on current ATF web perspective minus ATF-specific portion.  Thanks to Bob Goodman for providing the base contents.
Comment 5 Jim Zhang CLA 2007-11-15 20:27:57 EST
Created attachment 83018 [details]
icon gif

attaching the icon from org.eclipse.atf.ui
Comment 6 Carl Anderson CLA 2007-11-19 15:22:09 EST
I moved the icon to icons/full/cview16/web_perspective.gif (since that is in line with what most perspectives do), and I tweaked the org.eclipse.jst.j2ee.ui plugin so that the Web and Java EE perspectives have each other on their perspective shortcut list.
I also went ahead and added the fix for 209191 to this.

This code has been committed to CVS.
Comment 7 David Williams CLA 2008-04-24 00:44:22 EDT
mass change to add 'contributed' keyword based on bugzilla query, please correct if that's not accurate (by marking patches as obsolete and removing the 'contributed' keyword.