com.sap.portal.admin.studio

Interface IToolBar


public interface IToolBar

IToolBar Tool bar of the admin studio worspace. This toolbar contains the generic actions and also the specific editor actions Also a regular HTMLB components can be added


Field Summary
static String CLOSE
          close - Generic action constant
static String EDIT_MODE
          editMode - Generic action constant
static String PREVIEW
          preview - Generic action constant
static String REFRESH
          refresh - Generic action constant
static String SAVE
          save - Generic action constant
 
Method Summary
 void add(Action action)
          Add action to this tool bar.
 void add(Component component)
          Add HTMLB component to this toolbar.
 void addSeperator()
          Add a sepertotr to this toolbar.
 Action getAction(String actionId)
          Get action object by it's id.
 

Field Detail

SAVE

public static final String SAVE
save - Generic action constant

See Also:
Constant Field Values

CLOSE

public static final String CLOSE
close - Generic action constant

See Also:
Constant Field Values

PREVIEW

public static final String PREVIEW
preview - Generic action constant

See Also:
Constant Field Values

EDIT_MODE

public static final String EDIT_MODE
editMode - Generic action constant

See Also:
Constant Field Values

REFRESH

public static final String REFRESH
refresh - Generic action constant

See Also:
Constant Field Values
Method Detail

getAction

public Action getAction(String actionId)
Get action object by it's id.

Parameters:
actionId - the is of the action to be retrieved.
Returns:
the action which its id was given, or null if no such action.

add

public void add(Action action)
Add action to this tool bar. The action will be added as a button. This action can be retrieved client/server side, in order to update it's properties.

Parameters:
action - the action to be added

add

public void add(Component component)
Add HTMLB component to this toolbar. This comonent will not be part of the actions set and must be maintained.

Parameters:
component - htmlb component to be added

addSeperator

public void addSeperator()
Add a sepertotr to this toolbar. This seperatot will be added in the place that this method was operated.



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.