Example usage for org.eclipse.jface.preference PathEditor getListControl

List of usage examples for org.eclipse.jface.preference PathEditor getListControl

Introduction

In this page you can find the example usage for org.eclipse.jface.preference PathEditor getListControl.

Prototype

public List getListControl(Composite parent) 

Source Link

Document

Returns this field editor's list control.

Usage

From source file:net.sourceforge.texlipse.properties.BibDirectoriesPreferencePage.java

License:Open Source License

/**
 * Creates the property editing UI components of this page.
 *///from www.j a  v  a  2  s. c  o m
protected void createFieldEditors() {
    Composite parent = getFieldEditorParent();
    PathEditor dir = new PathEditor(TexlipseProperties.BIB_DIR,
            TexlipsePlugin.getResourceString("preferenceBibDirLabel"), "", parent);
    addField(dir);
    dir.getButtonBoxControl(parent).setToolTipText(TexlipsePlugin.getResourceString("preferenceBibDirTooltip"));
    dir.getLabelControl(parent).setToolTipText(TexlipsePlugin.getResourceString("preferenceBibDirTooltip"));
    dir.getListControl(parent).setToolTipText(TexlipsePlugin.getResourceString("preferenceBibDirTooltip"));
}