de.espirit.firstspirit.client.gui.model.selection
Interface SelectionModel
public interface SelectionModel
Simple model for a single IDProvider
selection, used in different selection contexts of the
java-client (e.g. SelectionModel.EDITORIAL
, SelectionModel.TREE
, ...).
Example:
servicesBroker.getService
(ModelService
.class).addModelListener
(SelectionModel.SelectionModel.EDITORIAL
, new MyListener());
Attention: This part of the API isn't released yet and may change during the ramp up time. It will be released with 4.2 Release 4.
See usages for existing application types. * @see Connection#getService(Class)
- Since:
- 4.2.426
- See Also:
SelectionModel.EDITORIAL
EDITORIAL
static final ModelType<SelectionModel> EDITORIAL
- Model type for current selected
element
of the active editorial tab.
- Since:
- 4.2.426
getElement
@Nullable
IDProvider getElement()
- Returns currently selected
IDProvider
. The model type defines which selection context provides
this element.
- Returns:
- currently selected
IDProvider
. - Since:
- 4.2.426
- See Also:
SelectionModel.EDITORIAL
Copyright © 2012 e-Spirit AG. All Rights Reserved. Build 4.2.480