|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsemorg.gui.EnumerationWindow
public class EnumerationWindow
Provides a window to manage the enumerations such as salutations or titles.
Field Summary | |
---|---|
private org.eclipse.swt.widgets.Shell |
shell
The window itself. |
private org.eclipse.swt.widgets.List |
typeList
The list containing all type of enumerations. |
private org.eclipse.jface.viewers.ListViewer |
valueListViewer
The list containing all values of a specific enumeration type (e.g. |
Constructor Summary | |
---|---|
EnumerationWindow(org.eclipse.swt.widgets.Shell parent)
Creats a new EnumerationWindow instance using the given
parameters. |
Method Summary | |
---|---|
protected void |
onDelete(Enumeration value)
This method is called if a value of a Enumeration type should be
deleted. |
protected void |
onEdit(Enumeration value)
This method gets invoked to change the value of an existing Enumeration . |
protected void |
onNew()
This method gets invoked for creating a new Enumeration . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private org.eclipse.swt.widgets.Shell shell
private org.eclipse.swt.widgets.List typeList
private org.eclipse.jface.viewers.ListViewer valueListViewer
Constructor Detail |
---|
public EnumerationWindow(org.eclipse.swt.widgets.Shell parent)
EnumerationWindow
instance using the given
parameters.
parent
- the parent shell of the EnumerationWindow
instanceMethod Detail |
---|
protected void onDelete(Enumeration value)
Enumeration
type should be
deleted. It also creates a dialog to confirm the deleting.
value
- the value to deleteprotected void onNew()
Enumeration
. If an
error occurs a error dialog is created to inform the user.
protected void onEdit(Enumeration value)
Enumeration
.
value
- the Enumeration
to change.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |