com.sap.portal.admin.editor

Interface IEditModeEnabler


Deprecated. As of SAP NetWeaver 2007 release, replaced by package com.sap.portal.adminstudio.workunitfwapi

public interface IEditModeEnabler

The interface that determines whether the current request is an edit mode event. It is also responsible for checking whether edit mode is allowed.


Method Summary
 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).
 

Method Detail

enableEditMode

boolean enableEditMode(IEditorContext ctx)
                       throws EditorResourceException
Deprecated. 
Indicates whether the editor opens in edit mode (true) or read-only mode (false).

Parameters:
ctx - the current editor context
Returns:
true if the editor is open in edit mode, false if the editor is open in read-only mode
Throws:
EditorResourceException

isEditModeEvent

boolean isEditModeEvent(IEditorContext ctx)
Deprecated. 
Indicates whether the current request is an edit mode event (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.

Parameters:
ctx - the current editor context
Returns:
true if the current request is for edit mode false if the request is not for edit mode
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] EP-RUNTIME [sap.com] tc/ep/admin/api api EP-PIN


Copyright 2015 SAP AG Complete Copyright Notice