@Dependent @Default public class CreateConnectorToolboxAction extends AbstractToolboxAction implements IsToolboxActionDraggable<AbstractCanvasHandler>
AbstractToolboxAction.ToolboxGlyphConsumer| Constructor and Description |
|---|
CreateConnectorToolboxAction(DefinitionUtils definitionUtils,
ClientFactoryManager clientFactoryManager,
ClientTranslationService translationService,
ConnectorProxy connectorProxy) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
boolean |
equals(Object o) |
String |
getEdgeId() |
protected String |
getGlyphId(AbstractCanvasHandler canvasHandler,
String uuid) |
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 clicking on the toolbox' button.
|
ToolboxAction<AbstractCanvasHandler> |
onMoveStart(AbstractCanvasHandler canvasHandler,
String uuid,
MouseMoveEvent event)
The operation to perform once start "moving" the toolbox' button.
|
CreateConnectorToolboxAction |
setEdgeId(String edgeId) |
getDefinitionUtils, getGlyph, getTitle@Inject public CreateConnectorToolboxAction(DefinitionUtils definitionUtils, ClientFactoryManager clientFactoryManager, ClientTranslationService translationService, ConnectorProxy connectorProxy)
public CreateConnectorToolboxAction setEdgeId(String edgeId)
public String getEdgeId()
public ToolboxAction<AbstractCanvasHandler> onMouseClick(AbstractCanvasHandler canvasHandler, String uuid, MouseClickEvent event)
ToolboxActiononMouseClick in interface ToolboxAction<AbstractCanvasHandler>canvasHandler - The toolbox' canvas handler instance.uuid - The toolbox' element identifier.public ToolboxAction<AbstractCanvasHandler> onMoveStart(AbstractCanvasHandler canvasHandler, String uuid, MouseMoveEvent event)
IsToolboxActionDraggableonMoveStart in interface IsToolboxActionDraggable<AbstractCanvasHandler>canvasHandler - The toolbox' canvas handler instance.uuid - The toolbox' element identifier.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 AbstractToolboxAction@PreDestroy public void destroy()
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.