|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jface.preference.FieldEditor
org.eclipse.cdt.managedbuilder.ui.properties.FileListControlFieldEditor
public class FileListControlFieldEditor
Field editor that uses FileListControl for user input.
Field Summary |
---|
Fields inherited from class org.eclipse.jface.preference.FieldEditor |
---|
IS_VALID, VALUE |
Constructor Summary | |
---|---|
FileListControlFieldEditor(java.lang.String name,
java.lang.String labelText,
org.eclipse.swt.widgets.Composite parent,
int type)
Creates a file list control field editor. |
|
FileListControlFieldEditor(java.lang.String name,
java.lang.String labelText,
org.eclipse.swt.widgets.Composite parent,
java.lang.String value,
int type)
Creates a file list control field editor. |
|
FileListControlFieldEditor(java.lang.String name,
java.lang.String labelText,
java.lang.String tooltip,
org.eclipse.swt.widgets.Composite parent,
int type)
Creates a file list control field editor. |
Method Summary | |
---|---|
org.eclipse.swt.widgets.Label |
getLabelControl(org.eclipse.swt.widgets.Composite parent)
|
int |
getNumberOfControls()
Returns the number of basic controls this field editor consists of. |
java.lang.String[] |
getStringListValue()
|
java.lang.String |
getToolTipText()
Returns the field editor's tool tip text, or null if it has not been set. |
void |
setEnabled(boolean enabled,
org.eclipse.swt.widgets.Composite parent)
|
void |
setStyle()
Set style |
void |
setToolTip(java.lang.String tooltip)
Sets the field editor's tool tip text to the argument, which may be null indicating that no tool tip text should be shown. |
Methods inherited from class org.eclipse.jface.preference.FieldEditor |
---|
dispose, fillIntoGrid, getFieldEditorFontName, getLabelText, getPreferenceName, getPreferenceStore, isValid, load, loadDefault, presentsDefaultValue, setFocus, setLabelText, setPage, setPreferenceName, setPreferencePage, setPreferenceStore, setPropertyChangeListener, store |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileListControlFieldEditor(java.lang.String name, java.lang.String labelText, org.eclipse.swt.widgets.Composite parent, int type)
name
- the name of the preference this field editor works onlabelText
- the label text of the field editorparent
- the parent of the field editor's controltype
- the browseType of the file list controlpublic FileListControlFieldEditor(java.lang.String name, java.lang.String labelText, java.lang.String tooltip, org.eclipse.swt.widgets.Composite parent, int type)
name
- the name of the preference this field editor works onlabelText
- the label text of the field editortooltip
- the tooltip text of the field editorparent
- the parent of the field editor's controltype
- the browseType of the file list controlpublic FileListControlFieldEditor(java.lang.String name, java.lang.String labelText, org.eclipse.swt.widgets.Composite parent, java.lang.String value, int type)
name
- the name of the preference this field editor works onlabelText
- the label text of the field editorparent
- the parent of the field editor's controlvalue
- the field editor's valuetype
- the browseType of the file list controlMethod Detail |
---|
public void setToolTip(java.lang.String tooltip)
string
- the new tool tip text (or null)
org.eclipse.swt.SWTException
- public java.lang.String getToolTipText()
org.eclipse.swt.SWTException
- public java.lang.String[] getStringListValue()
public int getNumberOfControls()
getNumberOfControls
in class org.eclipse.jface.preference.FieldEditor
public void setStyle()
public org.eclipse.swt.widgets.Label getLabelControl(org.eclipse.swt.widgets.Composite parent)
getLabelControl
in class org.eclipse.jface.preference.FieldEditor
public void setEnabled(boolean enabled, org.eclipse.swt.widgets.Composite parent)
setEnabled
in class org.eclipse.jface.preference.FieldEditor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |