blob: 6364d0c16e7253dd39dc80ea7f4d28a77df9d79f [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2012, 2013 Oracle. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0, which accompanies this distribution
* and is available at https://www.eclipse.org/legal/epl-2.0/.
*
* Contributors:
* Oracle - initial API and implementation
******************************************************************************/
package org.eclipse.jpt.common.ui.internal;
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.jpt.common.utility.internal.ObjectTools;
import org.eclipse.ui.ISelectionListener;
import org.eclipse.ui.IWorkbenchPart;
/**
* Convenience implementation of {@link ISelectionListener}.
*/
public class SelectionAdapter
implements ISelectionListener
{
public void selectionChanged(IWorkbenchPart part, ISelection selection) {
// NOP
}
@Override
public String toString() {
return ObjectTools.toString(this);
}
}