Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 322117 - [Perspectives] perspectiveExtension:warning "Referenced identifier 'xxx' in attribute 'relative' cannot be found" when referencing IPlaceHolderFolderLayout
Summary: [Perspectives] perspectiveExtension:warning "Referenced identifier 'xxx' in a...
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-09 05:55 EDT by Davy Meers CLA
Modified: 2021-11-26 14:47 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Davy Meers CLA 2010-08-09 05:55:50 EDT
Build Identifier: 20100617-1415

In the PerspectiveFactory you can specify IPlaceHolderFolderLayout's with layout.createPlaceholderFolder.
Using the extension point "org.eclipse.ui.perspectiveExtensions" you can add views to a perspective.

It is possible to place a view relative to a IPlaceHolderFolderLayout (using the relative attribute), but you get the warning "Referenced identifier 'xxx' in attribute 'relative' cannot be found".

This is because of the extension point's schema, that expects an IDREF for the attribute "relative".

It would be nice if we could specify the IPlaceHolderFolderLayout's declaratively (or broader: extend the "org.eclipse.ui.perspective" extension point, so we don't need to create a perspectivefactory any longer).
This would also solve this bug.

Another option is to change the schema, so ithe relative attribute doesn't expect a ID. But i don't really like that, because it opens the door for typo's etcetera.

This is probably related to bug 287551 (https://bugs.eclipse.org/bugs/show_bug.cgi?id=287551).

Reproducible: Always

Steps to Reproduce:
1.create a perspective and add a IPlaceHolderLayout
2.add a view to the perspective using the perspectiveExtensions extension point, relative to the created IPlaceHolderLayout
3.when you run the application everything works as expected, but you get the specified warning
Comment 1 Eclipse Webmaster CLA 2019-09-06 16:04:03 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.
Comment 2 Eclipse Genie CLA 2021-11-26 14:47:51 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.