@Dependent public class SettingsPresenter extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
SettingsPresenter.View |
| Constructor and Description |
|---|
SettingsPresenter(SettingsPresenter.View view,
org.uberfire.client.promise.Promises promises,
javax.enterprise.event.Event<org.uberfire.workbench.events.NotificationEvent> notificationEvent,
SettingsSections<ProjectScreenModel> settingsSections,
org.uberfire.ext.editor.commons.client.file.popups.SavePopUpPresenter savePopUpPresenter,
org.jboss.errai.common.client.api.Caller<ProjectScreenService> projectScreenService,
org.guvnor.common.services.project.client.context.WorkspaceProjectContext projectContext,
org.jboss.errai.ioc.client.api.ManagedInstance<org.uberfire.backend.vfs.ObservablePath> observablePaths,
org.guvnor.common.services.project.client.repositories.ConflictingRepositoriesPopup conflictingRepositoriesPopup,
SectionManager<ProjectScreenModel> sectionManager,
org.guvnor.common.services.project.client.security.ProjectController projectController) |
| Modifier and Type | Method and Description |
|---|---|
SettingsPresenter.View |
getView() |
boolean |
mayClose() |
void |
onSettingsSectionChanged(SettingsSectionChange<ProjectScreenModel> settingsSectionChange) |
void |
reset() |
void |
setup() |
elemental2.promise.Promise<Void> |
setupUsingCurrentSection() |
void |
showSaveModal() |
@Inject public SettingsPresenter(SettingsPresenter.View view, org.uberfire.client.promise.Promises promises, javax.enterprise.event.Event<org.uberfire.workbench.events.NotificationEvent> notificationEvent, SettingsSections<ProjectScreenModel> settingsSections, org.uberfire.ext.editor.commons.client.file.popups.SavePopUpPresenter savePopUpPresenter, org.jboss.errai.common.client.api.Caller<ProjectScreenService> projectScreenService, org.guvnor.common.services.project.client.context.WorkspaceProjectContext projectContext, org.jboss.errai.ioc.client.api.ManagedInstance<org.uberfire.backend.vfs.ObservablePath> observablePaths, org.guvnor.common.services.project.client.repositories.ConflictingRepositoriesPopup conflictingRepositoriesPopup, SectionManager<ProjectScreenModel> sectionManager, org.guvnor.common.services.project.client.security.ProjectController projectController)
@PostConstruct public void setup()
public elemental2.promise.Promise<Void> setupUsingCurrentSection()
public void showSaveModal()
public void onSettingsSectionChanged(@Observes
SettingsSectionChange<ProjectScreenModel> settingsSectionChange)
public boolean mayClose()
public void reset()
public SettingsPresenter.View getView()
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.