Bug 101278 - [Properties] Want to overide the top level page
Summary: [Properties] Want to overide the top level page
Status: RESOLVED INVALID
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2005-06-22 11:50 EDT by Oliver Soehnges CLA
Modified: 2009-08-30 02:11 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 Oliver Soehnges CLA 2005-06-22 11:50:31 EDT
Until Eclipse 3.0 we used the constant 
ID "org.eclipse.ui.propertypages.info.file" for creating an "Info" property 
page as first and topmost entry of all property pages of an entity. We saw and 
still see no other possibility to ignore the alphabetic sort order of the 
entries. Additionaly we define an filter for each property page in the 
following way:

         <filter
               name="remoteclass"
               value="com.fujitsu.enabler.scm.EScmProject">
         </filter>

This worked well until Eclipse 3.0. But with the latest version of Eclipse 3.1 
(downloaded today) the filter check doesn't work any more, because Eclipse 3.1 
seems to have problems with the multiple used ids for the same object class.

Here a short sample for the problem:

     <page
            objectClass="com.fujitsu.enabler.eclipse.scm.Class1"
            adaptable="false"
            name="Info"
            class="com.fujitsu.enabler.eclipse.scm.ui.PropPageClass1"
            id="org.eclipse.ui.propertypages.info.file">
            <filter
               name="filter1"
               value="value1">
            </filter>
     </page>
     <page
            objectClass="com.fujitsu.enabler.eclipse.scm.Class1"
            adaptable="false"
            name="Info"              
            class="com.fujitsu.enabler.eclipse.scm.ui.PropPageClass2"
            id="org.eclipse.ui.propertypages.info.file">
            <filter
               name="filter2"
               value="value2">
            </filter>
     </page>

If the property pages for "com.fujitsu.enabler.eclipse.scm.Class1" are called, 
only the filter "filter2" will be checked. "filter1" check is not invoked (but 
was invoked with Eclipse 3.0).

I agree that it maybe it's not valid to define the same id twice, but if not, 
we would at least need some possiblity to set a define page (like "Info") as 
first entry of the list...

Thanks for any comments about this....
Comment 1 Tod Creasey CLA 2005-06-22 14:42:29 EDT
Currently we hard code the info page to be the first one - this is a feature
request to allow you to set it. It has never been valid to do this before - you
were just getting lucky.
Comment 2 Tod Creasey CLA 2006-04-07 13:40:23 EDT
There are no plans to work on this feature
Comment 3 Denis Roy CLA 2009-08-30 02:11:26 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.