public static ImageDescriptor getImageDesciptor(String commandId) { String id = getImageId(commandId); if (id != null) { return AdvisorUiPlugin.getDefault().getImageDescriptor(getImageId(commandId)); } return null; }
/** * {@inheritDoc} * * @see IStatusRowProvider#getLinkImage(org.eclipse.core.runtime.IStatus) */ @Override public Image getLinkImage(IStatus status) { return AdvisorUiPlugin.getImageHelper().LIGHTBULB_IMAGE; }
/** * {@inheritDoc} * * @see IStatusRowProvider#getImage(org.eclipse.core.runtime.IStatus) */ @Override public Image getImage(IStatus status) { return AdvisorUiPlugin.getImageHelper().CHECKED_BOX_IMAGE; }
public static Image getImage(String imageId) { return AdvisorUiPlugin.getDefault().getImage(imageId); }