public abstract class BrowseController extends AbstractKeyEnabledController
| Modifier and Type | Field and Description |
|---|---|
protected SourceNavigator |
activeNavigator |
protected Clipboard |
clipboard |
protected Menupopup |
contextMenu |
protected LayoutService |
layoutService |
protected List<Class> |
navigatorClasses |
protected List<SourceNavigator> |
navigators |
protected TypeService |
typeService |
| Constructor and Description |
|---|
BrowseController() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
createBrowserContextMenu(Div browserParent)
Method that created context menu for browser
|
protected abstract Div |
createBrowserParent(Borderlayout parentLayout)
Method that will prepare centerArea to display navigator content
|
Toolbar |
createToolbar(North buttonsToolbar,
Div browserParent)
Creates toolbar elements for source browser area.
|
void |
gainFocus(Div browserParent)
Sets focus at given component
|
Clipboard |
getClipboard() |
Menupopup |
getContextMenu() |
void |
performRefresh()
Refreshes view
|
void |
performSearch(Textbox searchTextbox,
Div browserParent)
Performs search on active navigator if searchable, or selects first available searchable navigator
|
void |
setClipboard(Clipboard clipboard)
Getters and setters
|
void |
setLayoutService(LayoutService layoutService) |
void |
setNavigatorClasses(List<Class> navigatorClasses) |
void |
setTypeService(TypeService typeService) |
protected void |
viewCreated(Borderlayout borderlayout)
Initial show for the area.
|
copyPressed, copyToClipboard, deletePressed, focusChanged, getContentToCopy, keyPressed, movePressed, moveToClipboard, otherKeyPressed, pastePressed, performDelete, performPaste, setFocusableComponentprotected transient Menupopup contextMenu
protected Clipboard clipboard
protected final List<SourceNavigator> navigators
protected SourceNavigator activeNavigator
protected LayoutService layoutService
protected TypeService typeService
protected abstract Div createBrowserParent(Borderlayout parentLayout)
protected abstract void createBrowserContextMenu(Div browserParent)
protected void viewCreated(Borderlayout borderlayout)
Events#ON_SELECT event that is
responsible for creating preview in the previewArea.public void performSearch(Textbox searchTextbox,
Div browserParent)
public void performRefresh()
public void gainFocus(Div browserParent)
public Toolbar createToolbar(North buttonsToolbar,
Div browserParent)
public void setClipboard(Clipboard clipboard)
setClipboard in class AbstractKeyEnabledControllerpublic Clipboard getClipboard()
getClipboard in class AbstractKeyEnabledControllerpublic void setLayoutService(LayoutService layoutService)
public void setTypeService(TypeService typeService)
public Menupopup getContextMenu()
Copyright © 2017 SAP SE. All Rights Reserved.