Interface UIProvider
-
- All Superinterfaces:
Disposable
- All Known Implementing Classes:
AbstractUIProvider
,DatabasesUIProvider
,EntityTypesUIProvider
,TablesUIProvider
public interface UIProvider extends Disposable
This interface should be implemented by classes that create an user interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
clearUI()
Clears and disables all UI elements.void
createUI(ScrolledComposite sc)
Creates the UI with the given parentScrolledComposite
.void
setEnabled(boolean enabled)
Sets the enabled state of the UI to the given state.void
setFocus()
Sets the focus to an UI element of the provided UI.void
updateUI()
Updates the UI.-
Methods inherited from interface org.palladiosimulator.pcmtx.pcmtxviews.ui.Disposable
dispose
-
-
-
-
Method Detail
-
updateUI
void updateUI()
Updates the UI.
-
clearUI
void clearUI()
Clears and disables all UI elements.
-
setEnabled
void setEnabled(boolean enabled)
Sets the enabled state of the UI to the given state.- Parameters:
enabled
- the new enabled state
-
createUI
void createUI(ScrolledComposite sc)
Creates the UI with the given parentScrolledComposite
.- Parameters:
sc
- the parentScrolledComposite
-
setFocus
void setFocus()
Sets the focus to an UI element of the provided UI.
-
-