com.sap.portal.admin.editor

Interface IEditorBuilder

All Known Implementing Classes:
AbstractEditorComponent

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

public interface IEditorBuilder

The interface that defines methods for setting up an editor. Each editor is defined by a Java class that extends AbstractEditorComponent, which implements this interface.


Method Summary
 void setupEditor(IEditorConfiguration editorConfig, IPortalComponentProfile profile, Map params, ResourceBundle editorTexts)
          Deprecated. Sets up an editor structure and panes.
 

Method Detail

setupEditor

void setupEditor(IEditorConfiguration editorConfig,
                 IPortalComponentProfile profile,
                 Map params,
                 ResourceBundle editorTexts)
Deprecated. 
Sets up an editor structure and panes. Creates instances of the panes, configures them, and adds them to the editor.
The following example shows how to implement the method.
         void setupEditor(IEditorConfiguration editorConfig,
                IPortalComponentProfile profile, 
                Map params,
                ResourceBundle editorTexts)
          {
                PaneMetaData paneExample =
                       new PaneMetaData(Pane.class, "Example Pane");
                paneExample.setDescription("Example Pane");             
                editorConfig.addEditorPane(paneExample);
          }
 

Parameters:
editorConfig - an interface for configuring the editor
profile - a profile for the component
params - URL parameters
editorTexts - a resource bundle
See Also:
IEditorConfiguration
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