public abstract class AbstractBuilderCommand<I> extends AbstractToolboxCommand<I>
ToolboxCommand.Status| Constructor and Description |
|---|
AbstractBuilderCommand(ClientFactoryService clientFactoryServices,
GraphBoundsIndexer graphBoundsIndexer) |
execute, fireElementSelectedEvent, fireLoadingCompleted, fireLoadingStarted, mouseEnter, mouseExitclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetIcon, getTitlepublic AbstractBuilderCommand(ClientFactoryService clientFactoryServices, GraphBoundsIndexer graphBoundsIndexer)
protected abstract String getDefinitionIdentifier(Context<AbstractCanvasHandler> context)
protected abstract DragProxy getDragProxyFactory()
protected abstract DragProxyCallback getDragProxyCallback(Context<AbstractCanvasHandler> context, Element element, Element newElement)
protected abstract BuilderControl getBuilderControl()
protected abstract Object createtBuilderControlItem(Context<AbstractCanvasHandler> context, Element source, Element newElement)
protected abstract boolean onDragProxyMove(int x,
int y,
Element source,
Element newElement,
Node targetNode)
protected abstract BuildRequest createBuildRequest(int x, int y, Element source, Element newElement, Node targetNode)
protected void onDefinitionInstanceBuilt(Context<AbstractCanvasHandler> context, Element source, Element newElement, org.uberfire.mvp.Command callback)
public void mouseDown(Context<AbstractCanvasHandler> context, Element element)
mouseDown in class AbstractToolboxCommand<I>public void click(Context<AbstractCanvasHandler> context, Element element)
click in class AbstractToolboxCommand<I>protected void onStart(Context<AbstractCanvasHandler> context, Element element, Element item, int x1, int y1)
protected void onMove(Context<AbstractCanvasHandler> context, Element element, Element item, int x1, int y1)
protected void onComplete(Context<AbstractCanvasHandler> context, Element element, Element item, int x1, int y1)
protected void onError(Context<AbstractCanvasHandler> context, ClientRuntimeError error)
protected void onItemBuilt(Context<AbstractCanvasHandler> context, String uuid)
public void destroy()
protected ClientFactoryService getClientFactoryServices()
protected GraphBoundsIndexer getGraphBoundsIndexer()
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.