public class BaseUICockpitPerspective extends AbstractUIPerspective
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DRAG_DROP_ID |
static java.lang.String |
INITIAL_ATTRIBUTES |
static java.lang.String |
PROPERTY_DESCRIPTOR |
activeItem| Constructor and Description |
|---|
BaseUICockpitPerspective() |
| Modifier and Type | Method and Description |
|---|---|
void |
activateItemInEditor(TypedObject activeItem) |
protected void |
activateItemInEditorArea(TypedObject activeItem) |
void |
activateItemInPopupEditor(TypedObject activeItem) |
void |
addCockpitEventAcceptor(CockpitEventAcceptor acceptor) |
boolean |
canCreate(TemplateListEntry entry) |
void |
closeAreasIfOverlapped() |
void |
closePopupEditor() |
void |
collapseEditorArea() |
void |
collapseNavigationArea() |
void |
createItemInPopupEditor(ObjectType type,
java.util.Map<java.lang.String,? extends java.lang.Object> initialValues,
BrowserModel browser)
Deprecated.
since 6.3
|
void |
createItemInPopupEditor(ObjectType type,
java.util.Map<java.lang.String,? extends java.lang.Object> initialValues,
BrowserModel browser,
boolean loadDefaultValues)
Deprecated.
since 6.3
|
void |
createItemInPopupEditor(ObjectType type,
java.util.Map<java.lang.String,? extends java.lang.Object> initialValues,
BrowserModel browser,
boolean loadDefaultValues,
boolean initialValidation)
Deprecated.
since 6.3
|
protected void |
createItemInPopupEditor(ObjectType type,
java.util.Map<java.lang.String,? extends java.lang.Object> initialValues,
BrowserModel browser,
CreateContext ctx,
boolean loadDefaultValues,
boolean initialValidation) |
void |
createItemInPopupEditor(ObjectType type,
java.util.Map<java.lang.String,? extends java.lang.Object> initialValues,
CreateContext context) |
void |
createItemInPopupEditor(ObjectType type,
java.util.Map<java.lang.String,? extends java.lang.Object> initialValues,
CreateContext context,
boolean loadDefaultValues) |
void |
createNewItem(ObjectTemplate template) |
void |
createNewItem(ObjectTemplate template,
CreateContext createContext,
java.util.Map<java.lang.String,java.lang.Object> initValues,
boolean loadDefaultValues,
boolean expandEditorArea,
boolean popup)
Creates new item.
|
void |
createNewItem(ObjectTemplate template,
java.util.Map<java.lang.String,java.lang.Object> initValues) |
void |
createNewItem(ObjectTemplate template,
java.util.Map<java.lang.String,java.lang.Object> initValues,
boolean loadDefaultValues) |
protected void |
createTemplateList(java.lang.String baseType) |
void |
expandEditorArea() |
void |
expandEditorArea(boolean invalidate) |
void |
expandNavigationArea() |
boolean |
generateCreateMenuitems(Menupopup menupopup,
boolean popup) |
boolean |
generateCreateMenuitems(Menupopup menupopup,
boolean expandEditorArea,
CreateContext createContext,
boolean popup,
java.util.Map<java.lang.String,java.lang.Object> initValues,
boolean loadDefaultValues)
Generates menu for creating new items.
|
java.util.List<TemplateListEntry> |
generateTemplateEntryList(CreateContext createContext) |
UIBrowserArea |
getBrowserArea() |
protected BrowserAreaListener |
getBrowserAreaListener() |
java.lang.String |
getCustomCsaURI() |
UIEditorArea |
getEditorArea() |
LayoutRegion |
getEditorAreaComponent() |
protected EditorAreaListener |
getEditorAreaListener() |
UINavigationArea |
getNavigationArea() |
LayoutRegion |
getNavigationAreaComponent() |
protected NavigationAreaListener |
getNavigationAreaListener() |
NotifierZKComponent |
getNotifier() |
UIEditorArea |
getPopupEditorArea() |
protected java.util.List<TemplateListEntry> |
getTemplateList(java.lang.String baseType) |
protected UIConfigurationService |
getUIConfigurationService() |
void |
handleItemRemoved(TypedObject object) |
void |
initialize(java.util.Map<java.lang.String,java.lang.Object> params) |
boolean |
isActivatable(TypedObject item) |
boolean |
isForceOpenInEditorArea() |
boolean |
isPopupEditorOpen() |
void |
onCockpitEvent(CockpitEvent event) |
void |
onHide() |
void |
onShow() |
void |
openReferenceCollectionInBrowserContext(java.util.Collection<TypedObject> objects,
ObjectTemplate template,
TypedObject rootItem,
java.util.Map<java.lang.String,? extends java.lang.Object> parameters) |
void |
removeCockpitEventAcceptor(CockpitEventAcceptor acceptor) |
void |
resetOpenBrowserContainer() |
void |
setBrowserArea(UIBrowserArea browserArea) |
void |
setBrowserAreaListener(BrowserAreaListener browserAreaListener) |
void |
setCustomCsaURI(java.lang.String customCsaURI) |
void |
setEditorArea(UIEditorArea editorArea) |
void |
setEditorAreaComponent(LayoutRegion editorAreaComponent) |
void |
setEditorAreaListener(EditorAreaListener editorAreaListener) |
void |
setEditorAreaTypes(java.util.Set<EditorAreaTypeRule> typeRules) |
void |
setForceOpenInEditorArea(boolean forceOpenInEditorArea) |
void |
setNavigationArea(UINavigationArea navigationArea) |
void |
setNavigationAreaComponent(LayoutRegion navigationAreaComponent) |
void |
setNavigationAreaListener(NavigationAreaListener navAreaListener) |
void |
setNotifier(NotifierZKComponent notifier) |
void |
setPopupEditorArea(UIEditorArea popupEditorArea) |
void |
setPopupEditorWindow(Window popupEditorWindow) |
void |
setUiConfigurationService(UIConfigurationService uiConfigurationService) |
void |
toggleNavAndEditArea() |
void |
update() |
getActiveItem, getDragAndDropWrapperService, getEffectBorderColor, getEffectDuration, getFocusedArea, getInfoBoxTimeout, getLabel, getMoveTargetX, getMoveTargetY, getTemplateList, getTypeService, getUid, getViewURI, isActivationEffectEnabled, isSelectable, setActivationEffectEnabled, setActiveItem, setCockpitTypeService, setDragAndDropWrapperService, setEffectBorderColor, setEffectDuration, setFocusedArea, setInfoBoxTimeout, setLabel, setMoveTargetX, setMoveTargetY, setSelectable, setTemplateList, setUid, setViewURIpublic static final java.lang.String INITIAL_ATTRIBUTES
public static final java.lang.String PROPERTY_DESCRIPTOR
public static final java.lang.String DRAG_DROP_ID
public void setUiConfigurationService(UIConfigurationService uiConfigurationService)
protected UIConfigurationService getUIConfigurationService()
public void setEditorAreaTypes(java.util.Set<EditorAreaTypeRule> typeRules)
public void onHide()
onHide in class AbstractUIPerspectivepublic void onShow()
onShow in class AbstractUIPerspectivepublic void resetOpenBrowserContainer()
public void createItemInPopupEditor(ObjectType type, java.util.Map<java.lang.String,? extends java.lang.Object> initialValues, CreateContext context)
public void createItemInPopupEditor(ObjectType type, java.util.Map<java.lang.String,? extends java.lang.Object> initialValues, CreateContext context, boolean loadDefaultValues)
@Deprecated public void createItemInPopupEditor(ObjectType type, java.util.Map<java.lang.String,? extends java.lang.Object> initialValues, BrowserModel browser)
@Deprecated public void createItemInPopupEditor(ObjectType type, java.util.Map<java.lang.String,? extends java.lang.Object> initialValues, BrowserModel browser, boolean loadDefaultValues)
@Deprecated public void createItemInPopupEditor(ObjectType type, java.util.Map<java.lang.String,? extends java.lang.Object> initialValues, BrowserModel browser, boolean loadDefaultValues, boolean initialValidation)
protected void createItemInPopupEditor(ObjectType type, java.util.Map<java.lang.String,? extends java.lang.Object> initialValues, BrowserModel browser, CreateContext ctx, boolean loadDefaultValues, boolean initialValidation)
public boolean isPopupEditorOpen()
public void closePopupEditor()
public boolean isActivatable(TypedObject item)
public void activateItemInPopupEditor(TypedObject activeItem)
protected void activateItemInEditorArea(TypedObject activeItem)
public final void activateItemInEditor(TypedObject activeItem)
public UINavigationArea getNavigationArea()
public void setNavigationArea(UINavigationArea navigationArea)
public UIBrowserArea getBrowserArea()
public void setBrowserArea(UIBrowserArea browserArea)
public UIEditorArea getEditorArea()
public void setEditorArea(UIEditorArea editorArea)
public void setCustomCsaURI(java.lang.String customCsaURI)
public java.lang.String getCustomCsaURI()
public NotifierZKComponent getNotifier()
public void setNotifier(NotifierZKComponent notifier)
public void setPopupEditorWindow(Window popupEditorWindow)
public void initialize(java.util.Map<java.lang.String,java.lang.Object> params)
public void openReferenceCollectionInBrowserContext(java.util.Collection<TypedObject> objects, ObjectTemplate template, TypedObject rootItem, java.util.Map<java.lang.String,? extends java.lang.Object> parameters)
public void handleItemRemoved(TypedObject object)
public void setBrowserAreaListener(BrowserAreaListener browserAreaListener)
protected BrowserAreaListener getBrowserAreaListener()
public void setEditorAreaListener(EditorAreaListener editorAreaListener)
protected EditorAreaListener getEditorAreaListener()
public void setNavigationAreaListener(NavigationAreaListener navAreaListener)
protected NavigationAreaListener getNavigationAreaListener()
public void setPopupEditorArea(UIEditorArea popupEditorArea)
public UIEditorArea getPopupEditorArea()
public void setEditorAreaComponent(LayoutRegion editorAreaComponent)
public LayoutRegion getEditorAreaComponent()
public void setNavigationAreaComponent(LayoutRegion navigationAreaComponent)
public LayoutRegion getNavigationAreaComponent()
public void expandEditorArea()
public void toggleNavAndEditArea()
public void expandEditorArea(boolean invalidate)
public void expandNavigationArea()
public void collapseNavigationArea()
public void collapseEditorArea()
public void update()
public void addCockpitEventAcceptor(CockpitEventAcceptor acceptor)
public void removeCockpitEventAcceptor(CockpitEventAcceptor acceptor)
public void onCockpitEvent(CockpitEvent event)
public void createNewItem(ObjectTemplate template)
public void createNewItem(ObjectTemplate template, java.util.Map<java.lang.String,java.lang.Object> initValues)
public void createNewItem(ObjectTemplate template, java.util.Map<java.lang.String,java.lang.Object> initValues, boolean loadDefaultValues)
public void createNewItem(ObjectTemplate template, CreateContext createContext, java.util.Map<java.lang.String,java.lang.Object> initValues, boolean loadDefaultValues, boolean expandEditorArea, boolean popup)
template - the template of new item to be createdcreateContext - the creation context, optionalinitValues - initial valuesloadDefaultValues - if true, default values will be preloadedexpandEditorArea - if true, editor area will be expandedpopup - if true, the creation dialog will be opened as a popupprotected void createTemplateList(java.lang.String baseType)
protected java.util.List<TemplateListEntry> getTemplateList(java.lang.String baseType)
public boolean generateCreateMenuitems(Menupopup menupopup,
boolean popup)
public boolean generateCreateMenuitems(Menupopup menupopup,
boolean expandEditorArea,
CreateContext createContext,
boolean popup,
java.util.Map<java.lang.String,java.lang.Object> initValues,
boolean loadDefaultValues)
menupopup - the menu componentexpandEditorArea - if true, editor area will be expandedcreateContext - the creation context, optionalpopup - if true, the creation dialog will be opened as a popupinitValues - initial valuesloadDefaultValues - if true, default values will be preloadedpublic java.util.List<TemplateListEntry> generateTemplateEntryList(CreateContext createContext)
public void closeAreasIfOverlapped()
public boolean canCreate(TemplateListEntry entry)
public void setForceOpenInEditorArea(boolean forceOpenInEditorArea)
public boolean isForceOpenInEditorArea()
Copyright © 2018 SAP SE. All Rights Reserved.