Class GitUrlsPresenter
- java.lang.Object
-
- org.kie.workbench.common.screens.library.client.settings.generalsettings.GitUrlsPresenter
-
public class GitUrlsPresenter extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGitUrlsPresenter.View
-
Constructor Summary
Constructors Constructor Description GitUrlsPresenter(GitUrlsPresenter.View view, javax.enterprise.event.Event<org.uberfire.workbench.events.NotificationEvent> notificationEventEvent, org.jboss.errai.ui.client.local.spi.TranslationService translationService, org.uberfire.client.util.Clipboard clipboard)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcopyToClipboard(elemental2.dom.HTMLInputElement element)GitUrlsPresenter.ViewgetView()voidinit()voidsetSelectedProtocol(String selectedProtocol)voidsetup(List<org.kie.workbench.common.screens.projecteditor.model.GitUrl> gitUrls)
-
-
-
Constructor Detail
-
GitUrlsPresenter
@Inject public GitUrlsPresenter(GitUrlsPresenter.View view, javax.enterprise.event.Event<org.uberfire.workbench.events.NotificationEvent> notificationEventEvent, org.jboss.errai.ui.client.local.spi.TranslationService translationService, org.uberfire.client.util.Clipboard clipboard)
-
-
Method Detail
-
init
@PostConstruct public void init()
-
setup
public void setup(List<org.kie.workbench.common.screens.projecteditor.model.GitUrl> gitUrls)
-
setSelectedProtocol
public void setSelectedProtocol(String selectedProtocol)
-
copyToClipboard
public void copyToClipboard(elemental2.dom.HTMLInputElement element)
-
getView
public GitUrlsPresenter.View getView()
-
-