com.sap.portal.adminstudio.workunitfwapipublic interface IEditModeEnabler
| Modifier and Type | Method and Description |
|---|---|
boolean |
enableEditMode(IEditorContext ctx)
Deprecated.
Indicates whether the editor opens in edit mode (
true)
or read-only mode (false). |
boolean |
isEditModeEvent(IEditorContext ctx)
Deprecated.
Indicates whether the current request is an edit mode event
(
true). |
boolean enableEditMode(IEditorContext ctx) throws EditorResourceException
true)
or read-only mode (false).ctx - the current editor contexttrue if the editor is open in edit mode,
false if the editor is open in read-only
modeEditorResourceException - editor resource exceptionboolean isEditModeEvent(IEditorContext ctx)
true). This occurs if the request requires switching from
read-only mode to edit mode. The editor framework attempts to switch the
editor to edit mode using the method enableEditMode and
the methods in the class EditorLockingStatus.ctx - the current editor contexttrue if the current request is for edit mode
false if the request is not for edit mode| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-RUNTIME
|
[sap.com] tc/ep/admin/api
|
api
|
EP-PIN
|
Copyright 2021 SAP SE Complete Copyright Notice