/* Create Filter */
manager.add(new Action(Messages.ApplicationActionBarAdvisor_CREATE_FILTER) {
@Override
public void run() {
CreateFilterAction action = new CreateFilterAction();
action.selectionChanged(null, selection);
action.run(null);
}
@Override
public ImageDescriptor getImageDescriptor() {
return OwlUI.FILTER;
}
@Override
public String getActionDefinitionId() {
return CreateFilterAction.ID;
};
@Override
public String getId() {
return CreateFilterAction.ID;
};
});
}
/* Update */
{
manager.add(new Separator("reload")); //$NON-NLS-1$
/* Update */
manager.add(new Action(Messages.ApplicationActionBarAdvisor_UPDATE) {
@Override
public void run() {
IActionDelegate action = new ReloadTypesAction();
action.selectionChanged(null, selection);
action.run(null);
}
@Override
public ImageDescriptor getImageDescriptor() {
return OwlUI.getImageDescriptor("icons/elcl16/reload.gif"); //$NON-NLS-1$