@Dependent @FlowActionsToolbox public class CreateNodeToolboxAction extends AbstractToolboxAction
AbstractToolboxAction.ToolboxGlyphConsumer| Constructor and Description |
|---|
CreateNodeToolboxAction(DefinitionUtils definitionUtils,
ClientTranslationService translationService,
org.jboss.errai.ioc.client.api.ManagedInstance<GeneralCreateNodeAction> actions) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
boolean |
equals(Object o) |
protected String |
getGlyphId(AbstractCanvasHandler canvasHandler,
String uuid) |
String |
getNodeId() |
protected String |
getTitleDefinitionId(AbstractCanvasHandler canvasHandler,
String uuid) |
protected String |
getTitleKey(AbstractCanvasHandler canvasHandler,
String uuid) |
int |
hashCode() |
ToolboxAction<AbstractCanvasHandler> |
onMouseClick(AbstractCanvasHandler canvasHandler,
String uuid,
MouseClickEvent event)
The operation to perform once cliking on the toolbox' button.
|
CreateNodeToolboxAction |
setEdgeId(String edgeId) |
CreateNodeToolboxAction |
setNodeId(String nodeId) |
getDefinitionUtils, getGlyph, getTitle@Inject public CreateNodeToolboxAction(DefinitionUtils definitionUtils, ClientTranslationService translationService, @Any org.jboss.errai.ioc.client.api.ManagedInstance<GeneralCreateNodeAction> actions)
public String getNodeId()
public CreateNodeToolboxAction setNodeId(String nodeId)
public CreateNodeToolboxAction setEdgeId(String edgeId)
protected String getTitleKey(AbstractCanvasHandler canvasHandler, String uuid)
getTitleKey in class AbstractToolboxActionprotected String getTitleDefinitionId(AbstractCanvasHandler canvasHandler, String uuid)
getTitleDefinitionId in class AbstractToolboxActionprotected String getGlyphId(AbstractCanvasHandler canvasHandler, String uuid)
getGlyphId in class AbstractToolboxActionpublic ToolboxAction<AbstractCanvasHandler> onMouseClick(AbstractCanvasHandler canvasHandler, String uuid, MouseClickEvent event)
ToolboxActioncanvasHandler - The toolbox' canvas handler instance.uuid - The toolbox' element identifier.@PreDestroy public void destroy()
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.