Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » PropertyTester org.eclipse.core.resources.contentTypeId and hierarchical content types
PropertyTester org.eclipse.core.resources.contentTypeId and hierarchical content types [message #483234] Mon, 31 August 2009 16:52 Go to next message
Mario Winterer is currently offline Mario Winterer
Messages: 136
Registered: July 2009
Senior Member
Hi!

The PropertyTester for property
"org.eclipse.core.resources.contentTypeId" seems to not support
hierarchical content types, i.e. the test only yields true, if the
content type of the current file is exactly equal to the expected value,
but not if it is a child of the expected content type (i.e. the expected
content type is a base type of the file's content type).

Is this a bug?

Mario
Re: PropertyTester org.eclipse.core.resources.contentTypeId and hierarchical content types [message #483244 is a reply to message #483234] Mon, 31 August 2009 18:02 Go to previous messageGo to next message
Paul Webster is currently offline Paul Webster
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

I'd open an enhancement request at https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Platform &component=UI

The property tester should have an option to test the inheritance hierarchy, not just equality.

PW


Re: PropertyTester org.eclipse.core.resources.contentTypeId and hierarchical content types [message #483329 is a reply to message #483244] Tue, 01 September 2009 07:35 Go to previous message
Mario Winterer is currently offline Mario Winterer
Messages: 136
Registered: July 2009
Senior Member
I've filed bug #288216
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=288216)

Paul Webster schrieb:
> I'd open an enhancement request at
> https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Platform &component=UI
> The property tester should have an option to test the inheritance
> hierarchy, not just equality.
>
> PW
>
Previous Topic:What controls the open state of a view on workspace creation?
Next Topic:Perspective change prompt
Goto Forum:
  


Current Time: Tue Sep 16 03:15:22 GMT 2014

Powered by FUDForum. Page generated in 0.01897 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software