|
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.ObjectComposite
org.eclipse.mtj.ui.editors.device.AbstractDeviceEditorPage
public abstract class AbstractDeviceEditorPage
Abstract superclass for all of the device editor pages.
| Field Summary | |
|---|---|
protected DeviceEditorDialog |
dialog
|
protected org.eclipse.mtj.internal.core.sdk.device.AbstractMIDPDevice |
editDevice
|
protected String |
errorMessage
|
protected boolean |
valid
|
| Constructor Summary | |
|---|---|
AbstractDeviceEditorPage(Composite parent,
int style)
Construct a new editor page. |
|
| Method Summary | |
|---|---|
protected abstract void |
addPageControls(Composite parent)
Create the controls specific to this page. |
abstract void |
commitDeviceChanges()
Commit all of the changes on this page to the device. |
abstract String |
getDescription()
Return a description of what is being specified on this page. |
abstract String |
getTitle()
Return the title for this page. |
boolean |
isValid()
Return a boolean indicating whether the values on the page are valid. |
void |
setDevice(IMIDPDevice device)
Set the device to be edited. |
void |
setDialog(DeviceEditorDialog dialog)
Set the dialog in which this page resides. |
protected void |
setErrorMessage(String message)
Set the error message to be displayed to the user. |
protected void |
setValid(boolean isValid)
Update the validity status of this page. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected DeviceEditorDialog dialog
protected org.eclipse.mtj.internal.core.sdk.device.AbstractMIDPDevice editDevice
protected String errorMessage
protected boolean valid
| Constructor Detail |
|---|
public AbstractDeviceEditorPage(Composite parent,
int style)
parent - style - | Method Detail |
|---|
public abstract void commitDeviceChanges()
throws CoreException
CoreExceptionpublic abstract String getDescription()
public abstract String getTitle()
public boolean isValid()
public void setDevice(IMIDPDevice device)
device - public void setDialog(DeviceEditorDialog dialog)
dialog - protected abstract void addPageControls(Composite parent)
parent - protected void setErrorMessage(String message)
message - protected void setValid(boolean isValid)
isValid -
|
Mobile Tools for Java Release 1.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||