label,
description,
WorkItemWrapper.class,
new SimpleFactory(WorkItemWrapper.class) {
public Object getNewObject() {
WorkItemWrapper workItemWrapper = (WorkItemWrapper) super.getNewObject();
workItemWrapper.setName(label);
workItemWrapper.setWorkDefinition(workDefinition);
return workItemWrapper;
}
},
ImageDescriptor.createFromURL(iconUrl),
ImageDescriptor.createFromURL(iconUrl)