com.sap.portal.admin.editor

Interface IEditorConfiguration


public interface IEditorConfiguration

The editor configuration API. This API must be used in order to configure an editor.


Method Summary
 void addEditorPane(Class editorPaneClass, String activatingEvent)
          Deprecated. use ddEditorPane(PaneMetaData) instead.
 void addEditorPane(Class editorPaneClass, String activatingEvent, String paneTitle)
          Deprecated. use ddEditorPane(PaneMetaData) instead.
 void addEditorPane(Class editorPaneClass, String activatingEvent, String paneTitle, String description)
          Deprecated. use ddEditorPane(PaneMetaData) instead.
 void addEditorPane(PaneMetaData paneMetaData)
          Add editor pane to this editor.
 void setDefaultEditorPane(Class defaultEditorPaneClass)
          Set the editor pane that will be the default pane.
 void setLogger(PPLogger logger)
          Set the logger that all the log/trace messages will be sent to.
 void setTitle(String newTitle)
          Deprecated. use the titles of the panes.
 

Method Detail

setDefaultEditorPane

public void setDefaultEditorPane(Class defaultEditorPaneClass)
Set the editor pane that will be the default pane. The default pane will be the first pane that will be presented in the portal, when the editor will be called. By default, the first pane that was added, will be consider as the default pane.

Parameters:
defaultEditorPaneClass -

setLogger

public void setLogger(PPLogger logger)
Set the logger that all the log/trace messages will be sent to. The default logger,If no logger will be set, is the Editor Framework logger

Parameters:
logger - a logger object that will be set as the logger for this editor

setTitle

public void setTitle(String newTitle)
Deprecated. use the titles of the panes.

Set the title for this editor

Parameters:
newTitle -

addEditorPane

public void addEditorPane(Class editorPaneClass,
                          String activatingEvent)
Deprecated. use ddEditorPane(PaneMetaData) instead.

Add editor pane to this editor. Each editor must contain at least one editor pane. The instance of the pane will be created only by demand. The demand of the pane will be performed by an activating event.

Parameters:
editorPaneClass - the name of the pane class.
activatingEvent - the name of the event that will activate this pane

addEditorPane

public void addEditorPane(Class editorPaneClass,
                          String activatingEvent,
                          String paneTitle)
Deprecated. use ddEditorPane(PaneMetaData) instead.

Add editor pane to this editor. Each editor must contain at least one editor pane. The instance of the pane will be created only by demand. The demand of the pane will be performed by an activating event.

Parameters:
editorPaneClass - the name of the pane class.
activatingEvent - the name of the event that will activate this pane if this param is null- the activating event will be default by editor ramework.
paneTitle - NLS string that will be used for messages, and for default transitions UI.

addEditorPane

public void addEditorPane(Class editorPaneClass,
                          String activatingEvent,
                          String paneTitle,
                          String description)
Deprecated. use ddEditorPane(PaneMetaData) instead.

Add editor pane to this editor. Each editor must contain at least one editor pane. The instance of the pane will be created only by demand. The demand of the pane will be performed by an activating event.

Parameters:
editorPaneClass - the name of the pane class.
activatingEvent - the name of the event that will activate this pane if this param is null- the activating event will be default by editor ramework.
paneTitle - NLS string that will be used for messages, and for default transitions UI.
description - the description of this pane, will be presented as tooltip.

addEditorPane

public void addEditorPane(PaneMetaData paneMetaData)
Add editor pane to this editor. Each editor must contain at least one editor pane. The instance of the pane will be created only by demand. The meta data of this pane is given using the pane meta data helper class.

Parameters:
paneMetaData - the meta data for this pane


Copyright 2006 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Microsoft, Windows, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. Oracle is a registered trademark of Oracle Corporation. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc. HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C, World Wide Web Consortium, Massachusetts Institute of Technology. Java is a registered trademark of Sun Microsystems, Inc. JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. MaxDB is a trademark of MySQL AB, Sweden. SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary. These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.