blob: 42390c97b294b16e172507c8e8fc446ac37c4c04 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2000, 2016 IBM Corporation and others.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* SPDX-License-Identifier: EPL-2.0
*
*******************************************************************************/
package org.eclipse.dltk.python.internal.debug.ui.interpreters;
import org.eclipse.dltk.internal.debug.ui.interpreters.AbstractInterpreterLibraryBlock;
import org.eclipse.dltk.internal.debug.ui.interpreters.AddScriptInterpreterDialog;
import org.eclipse.dltk.internal.debug.ui.interpreters.LibraryLabelProvider;
import org.eclipse.dltk.python.internal.debug.ui.PythonDebugUIPlugin;
import org.eclipse.jface.dialogs.IDialogSettings;
import org.eclipse.jface.viewers.IBaseLabelProvider;
/**
* Control used to edit the libraries associated with a Interpreter install
*/
public class PythonInterpreterLibraryBlock extends AbstractInterpreterLibraryBlock {
public PythonInterpreterLibraryBlock(AddScriptInterpreterDialog d) {
super(d);
}
@Override
protected IBaseLabelProvider getLabelProvider() {
return new LibraryLabelProvider();
}
@Override
protected IDialogSettings getDialogSettions() {
return PythonDebugUIPlugin.getDefault().getDialogSettings();
}
}