@Dependent public class AssetDisplayer extends Object implements AssetDisplayerView.Presenter, org.jboss.errai.common.client.api.elemental2.IsElement
Constructor and Description |
---|
AssetDisplayer(AssetDisplayerView view,
PlaceManager placeManager) |
Modifier and Type | Method and Description |
---|---|
void |
delete() |
elemental2.dom.HTMLElement |
getElement() |
Path |
getPath() |
void |
init() |
void |
open() |
void |
render(Path assetPath,
Command deleteCommand) |
@Inject public AssetDisplayer(AssetDisplayerView view, PlaceManager placeManager)
@PostConstruct public void init()
public elemental2.dom.HTMLElement getElement()
getElement
in interface org.jboss.errai.common.client.api.elemental2.IsElement
public void open()
open
in interface AssetDisplayerView.Presenter
public void delete()
delete
in interface AssetDisplayerView.Presenter
public Path getPath()
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.