When is a plugin Editable? [message #592022] |
Mon, 16 February 2009 17:30 |
Richard Craddock Messages: 31 Registered: July 2009 |
Member |
|
|
I am using the PDE API, and want to add Extensions to a plugin, but all my
plugins return false to isEditable().
The basic code I am using is:
IPluginModelBase[] allModels = PluginRegistry.getActiveModels();
allContributers = Arrays.asList(allModels);
writeableContributers = new ArrayList<IPluginModelBase>();
for (IPluginModelBase model : getAllContributers()){
if (model.isEditable()){
writeableContributers.add(model);
}
}
In this case my "writeable" collection is always empty.
I have the source of (some of) the plugins in my workspace, and I can edit
them using the PDE itself, so I'm a bit unlcear as to what I need to do to
make them editable.
Thanks in advance,
Richard
|
|
|
Powered by
FUDForum. Page generated in 0.03288 seconds