org.eclipse.mtj.ui.editors.device
Class DeviceEditorDialog
java.lang.Object
Dialog
org.eclipse.mtj.ui.editors.device.DeviceEditorDialog
-
public class DeviceEditorDialog
- extends Dialog
Dialog implementation for the editing of a device.
-
Since:
- 1.0
Methods inherited from class java.lang.
Object
|
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
|
DeviceEditorDialog
public DeviceEditorDialog(IShellProvider parentShell)
- Construct a new editor dialog.
-
Parameters:
-
parentShell
- object that returns the current parent shell
DeviceEditorDialog
public DeviceEditorDialog(Shell parentShell)
- Construct a new editor dialog.
-
Parameters:
-
parentShell
- the parent shell, or null
to create a
top-level shell
setDevice
public void setDevice(
IDevice device)
- Set the device to be edited.
-
-
Parameters:
-
device
- the device to be edited
buttonPressed
protected void buttonPressed(int buttonId)
-
configureShell
protected void configureShell(Shell newShell)
-
createDialogArea
protected Control createDialogArea(Composite parent)
-
isJavaExecutableDevice
protected boolean isJavaExecutableDevice()
- Return a boolean indicating whether the device being edited is launched
by a Java executable.
-
-
Returns:
- if the device is launched by a Java executable