|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsemorg.gui.list.ListWindow
semorg.gui.list.CompanyInternalPresentationListWindow
public class CompanyInternalPresentationListWindow
Provides the list window for company internal presentation data records. This
class can be instantiated as normal list windows using the menu the
MainWindow
as well as popup list windows by the controls
AssociationTabControl
and ForeignKeyConstraintSelector
.
Field Summary | |
---|---|
static ListWindow |
instance
A static instance of the actual list window. |
Fields inherited from class semorg.gui.list.ListWindow |
---|
chooseButton, columns, deleteItem, editItem, filter, filterItem, mainTable, mainTableViewer, newItem, shell, sortString, toolBar |
Constructor Summary | |
---|---|
private |
CompanyInternalPresentationListWindow()
Instantiates a new list window. |
|
CompanyInternalPresentationListWindow(AssociationTabControl caller)
Instantiates a new list window as a popup. |
|
CompanyInternalPresentationListWindow(ForeignKeyConstraintSelector caller)
Instantiates a new list window as a popup. |
Method Summary | |
---|---|
protected void |
createChooseButtonListener(AssociationTabControl caller)
Creates a SelectionListener for the choose button which passes the SimpleIDKeys of the selected elements to the calling AssociationTabControl by invoking the method addSelectedIds of the caller instance. |
protected void |
createChooseButtonListener(ForeignKeyConstraintSelector caller)
Adds a listener to the mainTableViewer which inserts the doubleclicked item into the calling ForeignKeyConstraintSelector instance. |
protected void |
createSpecializedMainTableListener()
Adds a listener to the mainTableViewer which opens a edit dialog to edit the doubleclicked item. |
protected void |
createSpecializedMainTableListener(AssociationTabControl caller)
Adds a listener to the mainTableViewer which inserts the doubleclicked item into the calling AssociationTabControl instance. |
protected void |
createSpecializedMainTableListener(ForeignKeyConstraintSelector caller)
Adds a listener to the mainTableViewer which inserts the doubleclicked item into the calling ForeignKeyConstraintSelector instance |
protected void |
createSpecializedToolBarListeners()
Creates listeners for the toolbar buttons ListWindow.editItem ,
ListWindow.newItem and ListWindow.deleteItem which provide the functionality
of the buttons. |
static void |
createWindow(org.eclipse.swt.widgets.Shell parent)
Creates the static list window instance. |
protected Object |
getTableInputFromDB()
Returns a vector of table class instances which will be displayed in the GUI table of the list window. |
static void |
openList()
Opens the shell of the static list window instance. |
Methods inherited from class semorg.gui.list.ListWindow |
---|
addUpdateListener, createListToolbarBasics, createTableBasics, setActive, setVisible, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static ListWindow instance
CompanyInternalPresentationWindow
.
Constructor Detail |
---|
private CompanyInternalPresentationListWindow()
public CompanyInternalPresentationListWindow(ForeignKeyConstraintSelector caller)
caller
- the ForeignKeyConstraintSelector
instance which
wants to create this list windowpublic CompanyInternalPresentationListWindow(AssociationTabControl caller)
caller
- the AssociationTabControl
instance which wants to
create this list windowMethod Detail |
---|
protected void createSpecializedMainTableListener()
createSpecializedMainTableListener
in class ListWindow
ListWindow.createSpecializedMainTableListener()
protected void createSpecializedMainTableListener(AssociationTabControl caller)
AssociationTabControl
instance.
createSpecializedMainTableListener
in class ListWindow
caller
- the AssociationTabControl
instance
which called the actual list windowListWindow.createSpecializedMainTableListener(semorg.gui.util.AssociationTabControl)
protected void createSpecializedMainTableListener(ForeignKeyConstraintSelector caller)
ForeignKeyConstraintSelector
instance. *
createSpecializedMainTableListener
in class ListWindow
caller
- the ForeignKeyConstraintSelector
instance which called the actual list windowListWindow.createSpecializedMainTableListener(semorg.gui.util.ForeignKeyConstraintSelector)
protected void createSpecializedToolBarListeners()
ListWindow
ListWindow.editItem
,
ListWindow.newItem
and ListWindow.deleteItem
which provide the functionality
of the buttons. These listeners opens edit windows or deleting
dialogs and invoke the deleting or creating methods.
createSpecializedToolBarListeners
in class ListWindow
ListWindow.createSpecializedToolBarListeners()
protected void createChooseButtonListener(AssociationTabControl caller)
ListWindow
createChooseButtonListener
in class ListWindow
caller
- the AssociationTabControl instance which called the list
window.ListWindow.createChooseButtonListener(semorg.gui.util.AssociationTabControl)
protected void createChooseButtonListener(ForeignKeyConstraintSelector caller)
ForeignKeyConstraintSelector
instance.
createChooseButtonListener
in class ListWindow
caller
- the ForeignKeyConstraintSelector instance which called the
list window.ListWindow.createSpecializedMainTableListener(semorg.gui.util.ForeignKeyConstraintSelector)
public static void openList()
protected Object getTableInputFromDB()
ListWindow
getTableInputFromDB
in class ListWindow
ListWindow.getTableInputFromDB()
public static void createWindow(org.eclipse.swt.widgets.Shell parent)
parent
- the parent shell.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |