public class MappingBrowserCaptionComponent extends AbstractBrowserComponent implements CockpitEventAcceptor, DesktopRemovalAwareComponent
ADV_QUERY_BTN_ACTIVE_IMG, ADV_QUERY_BTN_IMG, BROWSER_TOOLBAR_SCLASS, CLOSE_BTN_IMG, CONTENT_BROWSER_GB_SCLASS, CONTENT_BROWSER_STICKY_GB_SCLASS, DUPLICATE_BTN_IMG, initialized, MAIN_AREA_BL_SCLASS, MINIMIZE_BTN_IMG, SAVE_QUERY_BTN_IMG, SEARCH_MAGNIFIER_BTN_IMG, SPLIT_ACTIVE_BTN_IMG, SPLIT_INACTIVE_BTN_IMG| Constructor and Description |
|---|
MappingBrowserCaptionComponent(MappingBrowserModel model,
AbstractContentBrowser contentBrowser) |
| Modifier and Type | Method and Description |
|---|---|
void |
desktopRemoved(Desktop desktop) |
protected ImportCockpitMappingService |
getMappingService() |
protected MappingModelValidationService |
getModelValidationService() |
boolean |
initialize()
Initializes this browser component i.e.
|
void |
onCockpitEvent(CockpitEvent cockpitevent) |
void |
resize()
Notifies this browser component that it should resize itself if possible, since the view state might require it.
|
void |
setActiveItem(TypedObject typedobject)
Sets the active item of this browser component to
activeItem. |
void |
setMappingService(ImportCockpitMappingService mappingService) |
void |
setModelValidationService(MappingModelValidationService modelValidationService) |
boolean |
update()
Updates this browser component i.e.
|
void |
updateActiveItems()
Re-renders the currently active item(s).
|
void |
updateItem(TypedObject typedobject,
Set set)
Re-renders the item.
|
void |
updateSelectedItems()
Re-renders the currently selected item(s).
|
getContentBrowser, getModel, setModel, updateItempublic MappingBrowserCaptionComponent(MappingBrowserModel model, AbstractContentBrowser contentBrowser)
protected ImportCockpitMappingService getMappingService()
public void setMappingService(ImportCockpitMappingService mappingService)
protected MappingModelValidationService getModelValidationService()
public void setModelValidationService(MappingModelValidationService modelValidationService)
public boolean initialize()
AbstractBrowserComponentinitialized flag to true after this
method has been called.
Note: This method is automatically called when a model or browser controller is set.initialize in interface CockpitComponentinitialize in class AbstractBrowserComponenttrue if initialization was successful, false otherwiseAbstractBrowserComponent.setModel(BrowserModel)public boolean update()
AbstractBrowserComponentupdate in interface CockpitComponentupdate in class AbstractBrowserComponenttrue if this browser was successfully updated, false otherwisepublic void onCockpitEvent(CockpitEvent cockpitevent)
onCockpitEvent in interface CockpitEventAcceptorpublic void setActiveItem(TypedObject typedobject)
AbstractBrowserComponentactiveItem.setActiveItem in interface CockpitComponentsetActiveItem in class AbstractBrowserComponenttypedobject - the new active itempublic void updateActiveItems()
AbstractBrowserComponentupdateActiveItems in interface CockpitComponentupdateActiveItems in class AbstractBrowserComponentpublic void updateSelectedItems()
AbstractBrowserComponentupdateSelectedItems in interface CockpitComponentupdateSelectedItems in class AbstractBrowserComponentpublic void updateItem(TypedObject typedobject, Set set)
AbstractBrowserComponentupdateItem in interface CockpitComponentupdateItem in class AbstractBrowserComponenttypedobject - the item to be re-renderedset - modified propertiespublic void resize()
AbstractBrowserComponentBorderlayout components.resize in class AbstractBrowserComponentpublic void desktopRemoved(Desktop desktop)
desktopRemoved in interface DesktopRemovalAwareComponentCopyright © 2017 SAP SE. All Rights Reserved.