blob: 05e449e1513a8056aaf699e709207a8f2bdfa464 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2007 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
******************************************************************************/
package org.eclipse.ui.internal.tweaklets;
import org.eclipse.swt.widgets.Display;
import org.eclipse.ui.IWorkbenchPart;
/**
* @since 3.3
*
*/
public class AllowGrabFocus extends GrabFocus {
/*
* (non-Javadoc)
*
* @see org.eclipse.ui.internal.tweaklets.GrabFocusManager#allowGrabFocus(org.eclipse.ui.IWorkbenchPart)
*/
public boolean grabFocusAllowed(IWorkbenchPart part) {
return true;
}
/*
* (non-Javadoc)
*
* @see org.eclipse.ui.internal.tweaklets.GrabFocusManager#init(Display)
*/
public void init(Display display) {
}
/* (non-Javadoc)
* @see org.eclipse.ui.internal.tweaklets.GrabFocusManager#dispose()
*/
public void dispose() {
}
}