Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Property page not displaying - any ideas?

It looks like a change in the platform which requires you to specify unique ids for each
page contribution.  I notice similar behavioral changes with objectcontribution on ICElements
with filters where they stopped working in 3.1 (with this one I was actually confused why it worked
to begin with...)

Dave.

Treggiari, Leo wrote:
Hi,

Sometime during Eclipse 3.1 or CDT 3.0 development,

the MBS “resource” property page stopped displaying.
It uses the nameFilter attribute of the

org.eclipse.ui.propertyPages extension point.
Here is an example

<extension

    point="org.eclipse.ui.propertyPages">

  <page

    objectClass="org.eclipse.core.resources.IFile"

    adaptable="true"

    name="%MngResourceProp.name"

    nameFilter="*.c"

class="org.eclipse.cdt.managedbuilder.ui.properties.ResourceBuildPropertyPage"

id="org.eclipse.cdt.managedbuilder.ui.properties.ResourceBuildProperties">

  </page>

</extension>

A Foo.c file only gets the Info property page now, and the

Info page identifies the file as Type: File (C++ Header File).

Could a CDT change have affected this, or is it time for an

Eclipse bugzilla?

Thanks,

Leo


------------------------------------------------------------------------

_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev


Back to the top