Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 354936 - Problem with perspectiveExtension relative attribute - "Referenced part does not exist yet"
Summary: Problem with perspectiveExtension relative attribute - "Referenced part does ...
Status: VERIFIED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.7   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.8 M7   Edit
Assignee: Curtis Windatt CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-17 06:38 EDT by public CLA
Modified: 2016-03-15 12:39 EDT (History)
5 users (show)

See Also:


Attachments
Referenced part does not exist yet: org.eclipse.ui.views.ProblemView. (69 bytes, text/plain)
2016-03-15 12:39 EDT, yvette biggs CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description public CLA 2011-08-17 06:38:28 EDT
Build Identifier: 20110615-0604

I receive the next message:

!ENTRY org.eclipse.ui 4 4 2011-08-17 14:37:12.817
!MESSAGE Referenced part does not exist yet: org.eclipse.ui.views.TaskList.


Reproducible: Always

Steps to Reproduce:
1. File -> New... -> Project
2. Plug-in Project -> Next
3. Project name: "AView" -> Next
4. ID: AView, Version: 1.0.0, Name:AView, Provider: LeoLabs, Activator: aview.Activator, This... make contribution to UI: yes, Enable API analysis: no, RCP: no -> Next
5. Plug-in with View -> Next
6. Java Package name: aview.views, View Class Name: SampleView, View name: Sample View, View Category ID: aView, Category Name: "a Sample Category", Table viewer, Add static ID: yes, Add view to the java perspective: yes, Add context help: yes -> Finish
7. Right click on AView project -> Run as.. -> Eclipse application
Comment 1 public CLA 2011-08-17 07:10:49 EDT
And the view is not where it is expected to be.


   <extension
         point="org.eclipse.ui.perspectiveExtensions">
      <perspectiveExtension
            targetID="org.eclipse.jdt.ui.JavaPerspective">
         <view
               ratio="0.5"
               relative="org.eclipse.ui.views.TaskList"
               relationship="right"
               id="aview.views.SampleView">
         </view>
      </perspectiveExtension>
   </extension>
Comment 2 Remy Suen CLA 2011-08-17 07:24:58 EDT
(In reply to comment #0)
> !ENTRY org.eclipse.ui 4 4 2011-08-17 14:37:12.817
> !MESSAGE Referenced part does not exist yet: org.eclipse.ui.views.TaskList.

The 'Tasks' view is not added to the 'Java' perspective by default. You need to pick a view that the 'Java' perspective does define in its layout.
Comment 3 public CLA 2011-08-17 08:20:39 EDT
It is a standard example from Eclipse examples.
Comment 4 Remy Suen CLA 2011-08-17 08:24:27 EDT
(In reply to comment #3)
> It is a standard example from Eclipse examples.

Sorry, you're right, the template is wrong.

PDE, please modify the template so that it points to a view that actually is defined in the 'Java' perspective by default.
Comment 5 Curtis Windatt CLA 2012-03-23 12:01:11 EDT
Fixed in master.  The view will now be put relative to the problems view.
Comment 6 Curtis Windatt CLA 2012-05-08 14:26:31 EDT
Verified in I20120503-1800
Comment 7 yvette biggs CLA 2016-03-15 12:39:29 EDT
Created attachment 260316 [details]
Referenced part does not exist yet: org.eclipse.ui.views.ProblemView.