Class SettingsScreenPresenter
- java.lang.Object
-
- org.kie.workbench.common.screens.library.client.screens.organizationalunit.settings.SettingsScreenPresenter
-
- All Implemented Interfaces:
org.uberfire.ext.widgets.common.client.common.HasBusyIndicator
@Dependent public class SettingsScreenPresenter extends Object implements org.uberfire.ext.widgets.common.client.common.HasBusyIndicator
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSettingsScreenPresenter.View
-
Constructor Summary
Constructors Constructor Description SettingsScreenPresenter(SettingsScreenPresenter.View view, org.jboss.errai.ui.client.local.spi.TranslationService ts, org.guvnor.structure.client.security.OrganizationalUnitController organizationalUnitController, org.guvnor.common.services.project.client.context.WorkspaceProjectContext projectContext, org.uberfire.ext.widgets.common.client.common.BusyIndicatorView busyIndicatorView, SectionManager<org.kie.workbench.common.screens.library.api.settings.SpaceScreenModel> sectionManager, SettingsSections settingsSections, org.uberfire.client.promise.Promises promises, javax.enterprise.event.Event<org.uberfire.workbench.events.NotificationEvent> notificationEvent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SettingsScreenPresenter.ViewgetView()voidhideBusyIndicator()voidonSettingsSectionChanged(SettingsSectionChange<org.kie.workbench.common.screens.library.api.settings.SpaceScreenModel> settingsSectionChange)voidpostConstruct()voidreset()voidsave()elemental2.promise.Promise<Void>setupUsingCurrentSection()voidshowBusyIndicator(String message)
-
-
-
Constructor Detail
-
SettingsScreenPresenter
@Inject public SettingsScreenPresenter(SettingsScreenPresenter.View view, org.jboss.errai.ui.client.local.spi.TranslationService ts, org.guvnor.structure.client.security.OrganizationalUnitController organizationalUnitController, org.guvnor.common.services.project.client.context.WorkspaceProjectContext projectContext, org.uberfire.ext.widgets.common.client.common.BusyIndicatorView busyIndicatorView, SectionManager<org.kie.workbench.common.screens.library.api.settings.SpaceScreenModel> sectionManager, SettingsSections settingsSections, org.uberfire.client.promise.Promises promises, javax.enterprise.event.Event<org.uberfire.workbench.events.NotificationEvent> notificationEvent)
-
-
Method Detail
-
postConstruct
@PostConstruct public void postConstruct()
-
setupUsingCurrentSection
public elemental2.promise.Promise<Void> setupUsingCurrentSection()
-
getView
public SettingsScreenPresenter.View getView()
-
showBusyIndicator
public void showBusyIndicator(String message)
- Specified by:
showBusyIndicatorin interfaceorg.uberfire.ext.widgets.common.client.common.HasBusyIndicator
-
hideBusyIndicator
public void hideBusyIndicator()
- Specified by:
hideBusyIndicatorin interfaceorg.uberfire.ext.widgets.common.client.common.HasBusyIndicator
-
onSettingsSectionChanged
public void onSettingsSectionChanged(@Observes SettingsSectionChange<org.kie.workbench.common.screens.library.api.settings.SpaceScreenModel> settingsSectionChange)
-
save
public void save()
-
reset
public void reset()
-
-