Class TableDetailsUI
- java.lang.Object
-
- org.palladiosimulator.pcmtx.pcmtxviews.ui.TableDetailsUI
-
- All Implemented Interfaces:
Observer
,ISelectionChangedListener
,DetailsUI
,Disposable
public class TableDetailsUI extends Object implements ISelectionChangedListener, Observer, DetailsUI
-
-
Constructor Summary
Constructors Constructor Description TableDetailsUI(Composite parent, DataRepositoryManager drManager, Viewer viewer)
Creates a newTableDetailsUI
with the given parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispose()
Disposes theTableDetailsUI
.void
refreshDatabaseViewer()
Refreshes the Viewer for availableDatabase
s.void
refreshEntityTypesViewer()
Refreshes the TreeViewer for availableEntityType
s.void
selectionChanged(SelectionChangedEvent event)
void
update(Observable o, Object arg)
Notifies thisTableDetailsUI
about changes in the list of availableEntityType
s or in the list of availableDatabase
s.
-
-
-
Constructor Detail
-
TableDetailsUI
public TableDetailsUI(Composite parent, DataRepositoryManager drManager, Viewer viewer)
Creates a newTableDetailsUI
with the given parameters.- Parameters:
parent
- the parentComposite
drManager
- theDataRepositoryManager
to find availableDatabase
sviewer
- the viewer theTable
to view details for is selected
-
-
Method Detail
-
selectionChanged
public void selectionChanged(SelectionChangedEvent event)
- Specified by:
selectionChanged
in interfaceISelectionChangedListener
-
refreshDatabaseViewer
public void refreshDatabaseViewer()
Refreshes the Viewer for availableDatabase
s.
-
refreshEntityTypesViewer
public void refreshEntityTypesViewer()
Refreshes the TreeViewer for availableEntityType
s.
-
update
public void update(Observable o, Object arg)
Notifies thisTableDetailsUI
about changes in the list of availableEntityType
s or in the list of availableDatabase
s.
-
dispose
public void dispose()
Disposes theTableDetailsUI
.- Specified by:
dispose
in interfaceDisposable
-
-