Package org.cishell.gui.prefgui.preferencepages

Source Code of org.cishell.gui.prefgui.preferencepages.BlankPreferencePage

package org.cishell.gui.prefgui.preferencepages;

import net.sf.commonclipse.preferences.LabelFieldEditor;

import org.eclipse.jface.preference.FieldEditorPreferencePage;

public class BlankPreferencePage extends FieldEditorPreferencePage {

  private String description;
 
  public BlankPreferencePage(int style, String title, String description) {
    super(style);
    this.setTitle(title);
    this.description = description;
  }
 
  protected void createFieldEditors() {
    LabelFieldEditor label = new LabelFieldEditor(description, this.getFieldEditorParent());
    this.addField(label);
  }

}
TOP

Related Classes of org.cishell.gui.prefgui.preferencepages.BlankPreferencePage

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.