@Dependent @Templated public class DecisionComponentsItemView extends Object implements DecisionComponentsItem.View
| Constructor and Description |
|---|
DecisionComponentsItemView(elemental2.dom.HTMLImageElement icon,
elemental2.dom.HTMLHeadingElement name,
elemental2.dom.HTMLParagraphElement file,
DMNShapeSet dmnShapeSet,
SessionManager sessionManager,
ShapeGlyphDragHandler<?> shapeGlyphDragHandler,
javax.enterprise.event.Event<BuildCanvasShapeEvent> buildCanvasShapeEvent,
elemental2.dom.HTMLDivElement decisionComponentItem,
javax.enterprise.event.Event<org.uberfire.workbench.events.NotificationEvent> notificationEvent,
ClientTranslationService clientTranslationService,
DMNGraphUtils dmnGraphUtils) |
| Modifier and Type | Method and Description |
|---|---|
void |
decisionComponentItemMouseDown(com.google.gwt.event.dom.client.MouseDownEvent mouseDownEvent) |
void |
init(DecisionComponentsItem presenter) |
void |
setFile(String file) |
void |
setIcon(String iconURI) |
void |
setName(String name) |
@Inject
public DecisionComponentsItemView(elemental2.dom.HTMLImageElement icon,
@Named(value="h5")
elemental2.dom.HTMLHeadingElement name,
elemental2.dom.HTMLParagraphElement file,
DMNShapeSet dmnShapeSet,
SessionManager sessionManager,
ShapeGlyphDragHandler<?> shapeGlyphDragHandler,
javax.enterprise.event.Event<BuildCanvasShapeEvent> buildCanvasShapeEvent,
elemental2.dom.HTMLDivElement decisionComponentItem,
javax.enterprise.event.Event<org.uberfire.workbench.events.NotificationEvent> notificationEvent,
ClientTranslationService clientTranslationService,
DMNGraphUtils dmnGraphUtils)
public void init(DecisionComponentsItem presenter)
init in interface org.uberfire.client.mvp.HasPresenter<DecisionComponentsItem>public void setIcon(String iconURI)
setIcon in interface DecisionComponentsItem.Viewpublic void setName(String name)
setName in interface DecisionComponentsItem.Viewpublic void setFile(String file)
setFile in interface DecisionComponentsItem.View@EventHandler(value="decision-component-item") public void decisionComponentItemMouseDown(com.google.gwt.event.dom.client.MouseDownEvent mouseDownEvent)
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.