Class ExperimentalFeaturesGroup
- java.lang.Object
-
- org.uberfire.experimental.client.editor.group.ExperimentalFeaturesGroup
-
- All Implemented Interfaces:
Comparable<ExperimentalFeaturesGroup>,org.jboss.errai.common.client.api.elemental2.IsElement,ExperimentalFeaturesGroupView.Presenter
@Dependent public class ExperimentalFeaturesGroup extends Object implements org.jboss.errai.common.client.api.elemental2.IsElement, ExperimentalFeaturesGroupView.Presenter, Comparable<ExperimentalFeaturesGroup>
-
-
Constructor Summary
Constructors Constructor Description ExperimentalFeaturesGroup(ExperimentalFeaturesGroupView view, org.jboss.errai.ui.client.local.spi.TranslationService translationService, org.jboss.errai.ioc.client.api.ManagedInstance<ExperimentalFeatureEditor> editorInstance)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()voidcollapse()intcompareTo(ExperimentalFeaturesGroup other)voiddoEnableAll()voidexpand()elemental2.dom.HTMLElementgetElement()StringgetLabel()voidinit(String labelKey, Collection<org.uberfire.experimental.service.registry.ExperimentalFeature> features, org.uberfire.mvp.ParameterizedCommand<org.uberfire.experimental.service.editor.EditableExperimentalFeature> callback)booleanisExpanded()voidnotifyExpand()
-
-
-
Field Detail
-
labelKey
protected String labelKey
-
editors
protected List<ExperimentalFeatureEditor> editors
-
callback
protected org.uberfire.mvp.ParameterizedCommand<org.uberfire.experimental.service.editor.EditableExperimentalFeature> callback
-
-
Constructor Detail
-
ExperimentalFeaturesGroup
@Inject public ExperimentalFeaturesGroup(ExperimentalFeaturesGroupView view, org.jboss.errai.ui.client.local.spi.TranslationService translationService, org.jboss.errai.ioc.client.api.ManagedInstance<ExperimentalFeatureEditor> editorInstance)
-
-
Method Detail
-
init
public void init(String labelKey, Collection<org.uberfire.experimental.service.registry.ExperimentalFeature> features, org.uberfire.mvp.ParameterizedCommand<org.uberfire.experimental.service.editor.EditableExperimentalFeature> callback)
-
doEnableAll
public void doEnableAll()
- Specified by:
doEnableAllin interfaceExperimentalFeaturesGroupView.Presenter
-
getElement
public elemental2.dom.HTMLElement getElement()
- Specified by:
getElementin interfaceorg.jboss.errai.common.client.api.elemental2.IsElement
-
compareTo
public int compareTo(ExperimentalFeaturesGroup other)
- Specified by:
compareToin interfaceComparable<ExperimentalFeaturesGroup>
-
expand
public void expand()
-
collapse
public void collapse()
-
isExpanded
public boolean isExpanded()
- Specified by:
isExpandedin interfaceExperimentalFeaturesGroupView.Presenter
-
notifyExpand
public void notifyExpand()
- Specified by:
notifyExpandin interfaceExperimentalFeaturesGroupView.Presenter
-
getLabel
public String getLabel()
- Specified by:
getLabelin interfaceExperimentalFeaturesGroupView.Presenter
-
clear
@PreDestroy public void clear()
-
-