Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » When is a plugin Editable?
When is a plugin Editable? [message #592022] Mon, 16 February 2009 17:30
Richard Craddock is currently offline Richard CraddockFriend
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
Previous Topic:Running the project builders when headless
Next Topic:Create a filter rule in New Project Wizard
Goto Forum:
  


Current Time: Sat Apr 20 01:11:37 GMT 2024

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

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

Back to the top