|
SAP NetWeaver 7.30 Enterprise Portal (SP03) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sap.portal.admin.editor.GenericEventsHandler
public class GenericEventsHandler
The class that contains the default implementation for the generic
events handler.
Generic events are triggered when an administrator clicks a button in
the generic toolbar at the top of the editor. These events are triggered
and captured automatically by the editor framework.
The following lists the generic events that are triggered when the
corresponding button is clicked in the generic toolbar at the top of the
editor, and describes the default handling of the events:
handlePreviewEvent(com.sap.portal.admin.editor.IEditorContext, com.sapportals.common.PPLogger) on the editor’s event
handler. Implement this method to handle a preview event.GenericEventsHandler: You can extend the
implementation of an event handler by overriding a handler method,
providing your own implementation, and at the end of the method calling
the same handler method in the super class.IGenericEventsHandler: You can replace the
default implementation of the event handler for the Refresh, Edit Mode or
Preview events.com.sap.portal.admin.editorframework.eventsHandler property
of the component-config element for the editor component in the
portalapp.xml file.
| Constructor Summary | |
|---|---|
GenericEventsHandler()
|
|
| Method Summary | |
|---|---|
void |
handleCloseEvent(IEditorContext context,
ILockingPolicy lockingPolicy,
PPLogger logger)
Handles a close event. |
void |
handleEditModeEvent(IEditorContext context,
PPLogger logger)
Handles an edit mode event. |
void |
handlePreviewEvent(IEditorContext context,
PPLogger logger)
Handles a preview event. |
void |
handleRefreshEvent(IEditorContext context,
PPLogger logger)
Handles a refresh event. |
void |
handleSaveEvent(IEditorContext context,
IDataHandler dataHandler,
ILockingPolicy lockingPolicy,
PPLogger logger)
Handles a save event. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GenericEventsHandler()
| Method Detail |
|---|
public void handleCloseEvent(IEditorContext context,
ILockingPolicy lockingPolicy,
PPLogger logger)
IGenericEventsHandler
handleCloseEvent in interface IGenericEventsHandlercontext - the current editor contextlockingPolicy - the locking policy to use to release the locklogger - a logger for logging messages
public void handleEditModeEvent(IEditorContext context,
PPLogger logger)
IGenericEventsHandler
handleEditModeEvent in interface IGenericEventsHandlercontext - the current editor contextlogger - a logger for logging messages
public void handlePreviewEvent(IEditorContext context,
PPLogger logger)
IGenericEventsHandler
handlePreviewEvent in interface IGenericEventsHandlercontext - the current editor contextlogger - a logger for logging messages
public void handleRefreshEvent(IEditorContext context,
PPLogger logger)
IGenericEventsHandler
handleRefreshEvent in interface IGenericEventsHandlercontext - the current editor contextlogger - a logger for logging messages
public void handleSaveEvent(IEditorContext context,
IDataHandler dataHandler,
ILockingPolicy lockingPolicy,
PPLogger logger)
IGenericEventsHandler
handleSaveEvent in interface IGenericEventsHandlercontext - the current editor contextdataHandler - the handler of the datalockingPolicy - the locking policy to use for the save operationlogger - a logger for logging messages| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-RUNTIME
|
[sap.com] tc/ep/admin/api
|
api
|
EP-PIN
|
|
SAP NetWeaver 7.30 Enterprise Portal (SP03) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||