Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 115921 Details for
Bug 238335
update the Java EE perspective
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Patch
UpdatePerspective.patch (text/plain), 3.31 KB, created by
Georgi Dimitrov
on 2008-10-23 08:21:08 EDT
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Georgi Dimitrov
Created:
2008-10-23 08:21:08 EDT
Size:
3.31 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jst.j2ee.ui >Index: j2ee_ui/org/eclipse/jst/j2ee/internal/perspective/J2EEPerspective.java >=================================================================== >RCS file: /cvsroot/webtools/jeetools/plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/perspective/J2EEPerspective.java,v >retrieving revision 1.20 >diff -u -r1.20 J2EEPerspective.java >--- j2ee_ui/org/eclipse/jst/j2ee/internal/perspective/J2EEPerspective.java 27 Feb 2008 17:46:50 -0000 1.20 >+++ j2ee_ui/org/eclipse/jst/j2ee/internal/perspective/J2EEPerspective.java 23 Oct 2008 12:16:51 -0000 >@@ -40,6 +40,8 @@ > private static final String ID_SEARCH_VIEW = "org.eclipse.search.ui.views.SearchView"; //$NON-NLS-1$ > private static final String ID_DATA_VIEW = "org.eclipse.datatools.connectivity.DataSourceExplorerNavigator"; //$NON-NLS-1$ > public static final String ID_CONSOLE_VIEW= "org.eclipse.ui.console.ConsoleView"; //$NON-NLS-1$ >+ public static final String ID_MARKERS_VIEW= "org.eclipse.ui.views.AllMarkersView"; >+ public static final String ID_TASKLIST_VIEW= "org.eclipse.mylyn.tasks.ui.views.tasks"; > > public J2EEPerspective() { > super(); >@@ -75,11 +77,11 @@ > layout.addShowViewShortcut(ID_DATA_VIEW); > layout.addShowViewShortcut(IPageLayout.ID_BOOKMARKS); > layout.addShowViewShortcut(IPageLayout.ID_OUTLINE); >- layout.addShowViewShortcut(IPageLayout.ID_PROBLEM_VIEW); > layout.addShowViewShortcut(IPageLayout.ID_PROP_SHEET); > layout.addShowViewShortcut(IPageLayout.ID_RES_NAV); >- layout.addShowViewShortcut(IPageLayout.ID_TASK_LIST); > layout.addShowViewShortcut(ID_WST_SNIPPETS_VIEW); >+ layout.addShowViewShortcut(ID_MARKERS_VIEW); >+ layout.addShowViewShortcut(ID_TASKLIST_VIEW); > > // views - search > layout.addShowViewShortcut(ID_SEARCH_VIEW); >@@ -102,13 +104,14 @@ > > // Bottom right. > IFolderLayout bottomRight = layout.createFolder("bottomRight", IPageLayout.BOTTOM, 0.7f, editorArea);//$NON-NLS-1$ >- bottomRight.addView(IPageLayout.ID_PROBLEM_VIEW); >- bottomRight.addView(IPageLayout.ID_TASK_LIST); >+ bottomRight.addView(ID_MARKERS_VIEW); > bottomRight.addView(IPageLayout.ID_PROP_SHEET); > bottomRight.addView(ID_SERVERS_VIEW); > addDBViewIfPresent(layout,bottomRight); > bottomRight.addView(ID_WST_SNIPPETS_VIEW); > >+ bottomRight.addPlaceholder(IPageLayout.ID_PROBLEM_VIEW); >+ bottomRight.addPlaceholder(IPageLayout.ID_TASK_LIST); > bottomRight.addPlaceholder(ID_CONSOLE_VIEW); > bottomRight.addPlaceholder(IPageLayout.ID_BOOKMARKS); > bottomRight.addPlaceholder(IProgressConstants.PROGRESS_VIEW_ID); >@@ -117,6 +120,8 @@ > // Top right. > IFolderLayout topRight = layout.createFolder("topRight", IPageLayout.RIGHT, 0.7f, editorArea);//$NON-NLS-1$ > topRight.addView(IPageLayout.ID_OUTLINE); >+ addTLViewIfPresent(layout, topRight); >+ > } > private void addDBViewIfPresent(IPageLayout page,IFolderLayout bottomRight) { > // TODO Auto-generated method stub >@@ -124,6 +129,12 @@ > if (dbView != null) > bottomRight.addView(ID_DATA_VIEW); > } >+ private void addTLViewIfPresent(IPageLayout page,IFolderLayout topRight) { >+ // TODO Auto-generated method stub >+ IViewDescriptor tlView = PlatformUI.getWorkbench().getViewRegistry().find(ID_TASKLIST_VIEW); >+ if (tlView != null) >+ topRight.addView(ID_TASKLIST_VIEW); >+ } > } > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
kaloyan
:
iplog+
Actions:
View
|
Diff
Attachments on
bug 238335
:
105750
|
112945
|
113030
|
113238
|
115278
| 115921