|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.cdt.internal.ui.preferences.PathEntryVariablesGroup
public class PathEntryVariablesGroup
Nested Class Summary | |
---|---|
static class |
PathEntryVariablesGroup.PathEntryVariableElement
Simple data structure that holds a path variable name/value pair. |
Constructor Summary | |
---|---|
PathEntryVariablesGroup(boolean multiSelect,
int variableType)
Creates a new PathVariablesGroup. |
|
PathEntryVariablesGroup(boolean multiSelect,
int variableType,
org.eclipse.swt.widgets.Listener selectionListener)
Creates a new PathVariablesGroup. |
Method Summary | |
---|---|
org.eclipse.swt.widgets.Control |
createContents(org.eclipse.swt.widgets.Composite parent)
Creates the widget group. |
void |
dispose()
Disposes the group's resources. |
boolean |
getEnabled()
Returns the enabled state of the group's widgets. |
PathEntryVariablesGroup.PathEntryVariableElement[] |
getSelection()
Returns the selected variables. |
boolean |
performOk()
Commits the temporary state to the path variable manager in response to user confirmation. |
void |
setEnabled(boolean enabled)
Sets the enabled state of the group's widgets. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PathEntryVariablesGroup(boolean multiSelect, int variableType)
multiSelect
- create a multi select treevariableType
- the type of variables that are displayed in
the widget group. IResource.FILE
and/or IResource.FOLDER
logically ORed together.public PathEntryVariablesGroup(boolean multiSelect, int variableType, org.eclipse.swt.widgets.Listener selectionListener)
multiSelect
- create a multi select treevariableType
- the type of variables that are displayed in
the widget group. IResource.FILE
and/or IResource.FOLDER
logically ORed together.selectionListener
- listener notified when the selection changes
in the variables list.Method Detail |
---|
public org.eclipse.swt.widgets.Control createContents(org.eclipse.swt.widgets.Composite parent)
dispose
when the group is no
longer needed.
parent
- the widget parent
public void dispose()
public boolean getEnabled()
true
if called prior to calling
createContents
.
true
if called prior to calling createContents
.public PathEntryVariablesGroup.PathEntryVariableElement[] getSelection()
createContents
public boolean performOk()
IPathEntryVariableManager.setValue(String, IPath)
public void setEnabled(boolean enabled)
createContents
.
enabled
- the new enabled state of the group's widgets
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |