info.magnolia.ui.workbench.event
Class SelectionChangedEvent
java.lang.Object
info.magnolia.ui.workbench.event.SelectionChangedEvent
- All Implemented Interfaces:
- info.magnolia.event.Event<SelectionChangedEvent.Handler>
public class SelectionChangedEvent
- extends Object
- implements info.magnolia.event.Event<SelectionChangedEvent.Handler>
This event is fired when an item is selected (i.e. a row in the data grid within the workbench
representing either a Node
or a Property
).
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SelectionChangedEvent
public SelectionChangedEvent(String workspace,
Set<JcrItemAdapter> items)
getWorkspace
public String getWorkspace()
getItemIds
public List<String> getItemIds()
getFirstItem
public JcrItemAdapter getFirstItem()
getFirstItemId
public String getFirstItemId()
getItems
public List<JcrItemAdapter> getItems()
dispatch
public void dispatch(SelectionChangedEvent.Handler handler)
- Specified by:
dispatch
in interface info.magnolia.event.Event<SelectionChangedEvent.Handler>
Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.