Community
Participate
Working Groups
import org.eclipse.ui.IWorkbenchWindow;
import org.eclipse.ui.IWorkbenchWindowActionDelegate;
import org.eclipse.ui.internal.WorkbenchPlugin;
import org.eclipse.ui.internal.util.BundleUtility;
/**
* <p>
*/
private void updateDelegate(final IAction action,
final IEvaluationContext context) {
if (action == null || delegate == null) {
if (action == null) {
return;
}
if (delegate == null) {
if (!BundleUtility.isActive(element.getContributor().getName()) || !loadDelegate()) {
if (editorDelegate != null) {
final Object activeEditor = context