|
Mobile Tools for Java Release 1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.mtj.ui.devices.DeviceSelector
public class DeviceSelector
A device selector provides user interface functionality for selecting a device from the registry.
| Constructor Summary | |
|---|---|
DeviceSelector()
|
|
| Method Summary | |
|---|---|
void |
createContents(Composite parent,
boolean includeGroup,
boolean includeManageButton)
Fill in the user interface components into the parent. |
void |
dispose()
Dispose as necessary. |
void |
enableFireSelectionChanged(boolean fireSelectionChangedListener)
|
String |
getDeviceGroupComentLabel()
|
String |
getDeviceGroupLabel()
|
IDevice |
getSelectedDevice()
Return the device selected by the user or null if the user
has not yet selected a device. |
boolean |
isFireSelectionChangedEnabled()
|
void |
setDeviceGroupComentLabel(String deviceGroupComentLabel)
|
void |
setDeviceGroupLabel(String deviceGroupLabel)
|
void |
setEnabled(boolean enabled)
Set the controls to the specified state of enablement. |
void |
setSelectedDevice(IDevice device)
Select the specified device within the selector if possible. |
void |
setSelectionChangedListener(ISelectionChangedListener listener)
Set the listener for changes in the device selection. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DeviceSelector()
| Method Detail |
|---|
public void createContents(Composite parent,
boolean includeGroup,
boolean includeManageButton)
parent - includeGroup - includeManageButton - TODOpublic void dispose()
public void enableFireSelectionChanged(boolean fireSelectionChangedListener)
fireSelectionChangedListener - the fireSelectionChangedListener to
setpublic String getDeviceGroupComentLabel()
public String getDeviceGroupLabel()
public IDevice getSelectedDevice()
null if the user
has not yet selected a device.
public boolean isFireSelectionChangedEnabled()
public void setDeviceGroupComentLabel(String deviceGroupComentLabel)
deviceGroupComentLabel - the deviceGroupComentLabel to setpublic void setDeviceGroupLabel(String deviceGroupLabel)
deviceGroupLabel - the deviceGroupLabel to setpublic void setEnabled(boolean enabled)
enabled - public void setSelectedDevice(IDevice device)
device - public void setSelectionChangedListener(ISelectionChangedListener listener)
listener -
|
Mobile Tools for Java Release 1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||