info.magnolia.ui.vaadin.editor
Interface PageEditorListener

All Known Implementing Classes:
PageEditorPresenter

public interface PageEditorListener

Listener interface for handling events coming from the client side. Do not change the constant action names, without updating configuration of actions used in actionbar.


Field Summary
static String ACTION_ADD_AREA
           
static String ACTION_ADD_COMPONENT
           
static String ACTION_CANCEL_MOVE_COMPONENT
           
static String ACTION_DELETE_COMPONENT
           
static String ACTION_EDIT_COMPONENT
           
static String ACTION_EDIT_ELEMENT
           
static String ACTION_SORT_COMPONENT
           
static String ACTION_START_MOVE_COMPONENT
           
static String ACTION_STOP_MOVE_COMPONENT
           
static String ACTION_VIEW_EDIT
           
static String ACTION_VIEW_PREVIEW
           
 
Method Summary
 void onAction(String actionName, Object... args)
           
 void onElementSelect(AbstractElement nodeSelection)
           
 

Field Detail

ACTION_EDIT_ELEMENT

static final String ACTION_EDIT_ELEMENT
See Also:
Constant Field Values

ACTION_EDIT_COMPONENT

static final String ACTION_EDIT_COMPONENT
See Also:
Constant Field Values

ACTION_ADD_COMPONENT

static final String ACTION_ADD_COMPONENT
See Also:
Constant Field Values

ACTION_ADD_AREA

static final String ACTION_ADD_AREA
See Also:
Constant Field Values

ACTION_SORT_COMPONENT

static final String ACTION_SORT_COMPONENT
See Also:
Constant Field Values

ACTION_START_MOVE_COMPONENT

static final String ACTION_START_MOVE_COMPONENT
See Also:
Constant Field Values

ACTION_STOP_MOVE_COMPONENT

static final String ACTION_STOP_MOVE_COMPONENT
See Also:
Constant Field Values

ACTION_CANCEL_MOVE_COMPONENT

static final String ACTION_CANCEL_MOVE_COMPONENT
See Also:
Constant Field Values

ACTION_DELETE_COMPONENT

static final String ACTION_DELETE_COMPONENT
See Also:
Constant Field Values

ACTION_VIEW_PREVIEW

static final String ACTION_VIEW_PREVIEW
See Also:
Constant Field Values

ACTION_VIEW_EDIT

static final String ACTION_VIEW_EDIT
See Also:
Constant Field Values
Method Detail

onElementSelect

void onElementSelect(AbstractElement nodeSelection)

onAction

void onAction(String actionName,
              Object... args)


Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.