public interface MainView
Modifier and Type | Interface and Description |
---|---|
static class |
MainView.Action |
Modifier and Type | Method and Description |
---|---|
void |
addActionListener(ActionListener<MainView.Action> capture) |
void |
addMenu(MenuAction action)
Adds a menu item to the window.
|
String |
getHostVmTreeFilterText() |
Ref |
getSelectedHostOrVm() |
JFrame |
getTopFrame() |
void |
hideMainWindow() |
void |
removeMenu(MenuAction action)
Removes a menu item to the window.
|
void |
setStatusBarPrimaryStatus(String primaryStatus) |
void |
setSubView(BasicView view) |
void |
setWindowTitle(String title) |
void |
showContextActions(List<ContextAction> actions,
MouseEvent e)
Shows a popup context menu created from the list of supplied context
actions.
|
void |
showMainWindow() |
void |
updateTree(List<Filter<HostRef>> hostFilters,
List<Filter<VmRef>> vmFilters,
List<DecoratorProvider<HostRef>> hostDecorators,
List<DecoratorProvider<VmRef>> vmDecorators,
HostsVMsLoader any) |
void addActionListener(ActionListener<MainView.Action> capture)
void updateTree(List<Filter<HostRef>> hostFilters, List<Filter<VmRef>> vmFilters, List<DecoratorProvider<HostRef>> hostDecorators, List<DecoratorProvider<VmRef>> vmDecorators, HostsVMsLoader any)
String getHostVmTreeFilterText()
void setWindowTitle(String title)
void showMainWindow()
void hideMainWindow()
Ref getSelectedHostOrVm()
void setSubView(BasicView view)
void setStatusBarPrimaryStatus(String primaryStatus)
void addMenu(MenuAction action)
void removeMenu(MenuAction action)
void showContextActions(List<ContextAction> actions, MouseEvent e)
ActionEvent
is fired with the id
MainView.Action.HOST_VM_CONTEXT_ACTION
and the user-selected
ContextAction
as the payload.actions
- the ContextAction
s available to the user.
Normally classes implementing sub-interfaces of ContextAction
are used here.e
- the mouse event that triggered the context action. Used to
position the context menu.JFrame getTopFrame()
Copyright © 2013. All Rights Reserved.