[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[cdt-core-dev] Plugin developement, CDT equivalent to "org.eclipse.core.resources.IProject"
|
Hello there,
I'm writing a plugin to be used together with CDT. The plugins itself is
fine, but
I am having trouble with the plugin.xml file, especially regarding the
<selection>
tags:
The important line: <selection
class="org.eclipse.core.resources.IProject" />
As a result, my plugin should be disabled if no Object implementing
"org.eclipse.core.resources.IProject" is selected. It dows work as
expected, but
unfortunately, the plugin is also disabled when I select an C/C++
Project from
the C/C++ Project view.
Selecting the same project from different view, or selecting a non C/C++
project
from the C/C++ project view works fine.
I spent quite some time trying to find out what type of interface is
Implemented by a C/C++ Project inside the C/C++ project view but I did
not succeed.
Is this be a bug related to the C/C++ Project view ?
How can I detect if a C/C++ project is selected inside the C/C++ project
view ?
Rgards,
Lars Heineken.
PS: I'm running Eclispe 3.1.0 M5 and CDT 3.0.0 M5