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 java.lang.String CLOSE
          close - Generic action constant
static java.lang.String EDIT_MODE
          editMode - Generic action constant
static java.lang.String PREVIEW
          preview - Generic action constant
static java.lang.String REFRESH
          refresh - Generic action constant
static java.lang.String SAVE
          save - Generic action constant
 
Method Summary
 void add(Action action)
          Add action to this tool bar.
 void add(com.sapportals.htmlb.Component component)
          Add HTMLB component to this toolbar.
 void addSeperator()
          Add a sepertotr to this toolbar.
 Action getAction(java.lang.String actionId)
          Get action object by it's id.
 

Field Detail

SAVE

public static final java.lang.String SAVE
save - Generic action constant

CLOSE

public static final java.lang.String CLOSE
close - Generic action constant

PREVIEW

public static final java.lang.String PREVIEW
preview - Generic action constant

EDIT_MODE

public static final java.lang.String EDIT_MODE
editMode - Generic action constant

REFRESH

public static final java.lang.String REFRESH
refresh - Generic action constant
Method Detail

getAction

public Action getAction(java.lang.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(com.sapportals.htmlb.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.