|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectCH.ifa.draw.standard.AbstractFigure
CH.ifa.draw.standard.CompositeFigure
org.openbp.cockpit.modeler.figures.process.NodeFigure
org.openbp.cockpit.modeler.figures.process.MultiSocketNodeFigure
org.openbp.cockpit.modeler.figures.process.PlaceholderNodeFigure
public class PlaceholderNodeFigure
Placeholder figure.
| Field Summary |
|---|
| Fields inherited from class org.openbp.cockpit.modeler.figures.process.NodeFigure |
|---|
displayBox, iconFigure, iconOverlayFigure, node, presentationFigure, REGION_TYPE, ROTATE_CCW, ROTATE_CW, shadowFigure |
| Fields inherited from class CH.ifa.draw.standard.CompositeFigure |
|---|
_nHighestZ, _nLowestZ, fFigures |
| Fields inherited from interface CH.ifa.draw.framework.Figure |
|---|
POPUP_MENU |
| Fields inherited from interface org.openbp.cockpit.modeler.figures.VisualElement |
|---|
VISUAL_DISPLAY_ALL, VISUAL_DND_PARTICIPANT, VISUAL_VISIBLE |
| Constructor Summary | |
|---|---|
PlaceholderNodeFigure()
Constructor. |
|
| Method Summary | |
|---|---|
protected void |
assignPlaceholderReference(ModelObject mo)
Assigns a reference to the given model object to this placeholder node figure. |
void |
assignPlaceholderReference(java.lang.String referencePath)
Assigns a reference to the given model object to this placeholder node figure. |
protected java.lang.String |
getDropRegionIdForFlavor(java.util.List flavors,
java.awt.datatransfer.Transferable data,
java.awt.event.MouseEvent mouseEvent)
Determines if none of the flavors in the list is accepted by DnD actions. |
boolean |
handleEvent(VisualElementEvent event)
Handler method that is called for handling events. |
boolean |
importData(java.lang.Object regionId,
java.awt.datatransfer.Transferable data,
java.awt.Point p)
Imports the given transferable into the given region. |
protected void |
substitutePlaceholderNode(Node newNode,
boolean newNodeFlag)
|
void |
updateFigure()
In addition to synchronization all children, synchronizes the presentation figure if applicable. |
| Methods inherited from class org.openbp.cockpit.modeler.figures.process.MultiSocketNodeFigure |
|---|
determineCenterIcon, getDefaultFillColor, getDropRegions, getImportersAt, initIcon, initOverlayIcon, initTextFigure, removeSocket |
| Methods inherited from class CH.ifa.draw.standard.CompositeFigure |
|---|
add, addAll, addAll, bringToFront, draw, figureAt, figureChanged, figureCount, figureInvalidated, figureRemoved, figureRequestRemove, figureRequestUpdate, figures, figures, figuresReverse, findFigure, findFigure, findFigureInsideWithout, findFigureWithout, getFigureFromLayer, getLayer, includes, init, orphan, orphanAll, orphanAll, read, remove, removeAll, removeAll, removeAll, replace, sendToBack, sendToLayer, write |
| Methods inherited from class CH.ifa.draw.standard.AbstractFigure |
|---|
addFigureChangeListener, addToContainer, canConnect, connectedTextLocator, connectionInsets, connectorVisibility, decompose, displayBox, displayBox, getAttribute, getZValue, invalidate, isEmpty, listener, moveBy, removeFigureChangeListener, removeFromContainer, setAttribute, setZValue, size, willChange |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.openbp.cockpit.modeler.figures.generic.Colorizable |
|---|
getFillColor, setFillColor |
| Methods inherited from interface CH.ifa.draw.framework.Figure |
|---|
addFigureChangeListener, addToContainer, basicDisplayBox, canConnect, center, changed, clone, connectedTextLocator, connectionInsets, connectorAt, connectorVisibility, containsPoint, decompose, displayBox, displayBox, displayBox, draw, figures, findFigureInside, getAttribute, getZValue, handles, includes, invalidate, isEmpty, listener, moveBy, release, removeFigureChangeListener, removeFromContainer, setAttribute, setZValue, size, willChange |
| Methods inherited from interface CH.ifa.draw.util.Storable |
|---|
read, write |
| Methods inherited from interface CH.ifa.draw.framework.FigureChangeListener |
|---|
figureChanged, figureInvalidated, figureRemoved, figureRequestRemove, figureRequestUpdate |
| Constructor Detail |
|---|
public PlaceholderNodeFigure()
| Method Detail |
|---|
public boolean handleEvent(VisualElementEvent event)
VisualElement
handleEvent in interface VisualElementhandleEvent in class NodeFigureevent - Event that desribes the event
public void updateFigure()
NodeFigure
updateFigure in interface UpdatableFigureupdateFigure in class NodeFigure
protected java.lang.String getDropRegionIdForFlavor(java.util.List flavors,
java.awt.datatransfer.Transferable data,
java.awt.event.MouseEvent mouseEvent)
getDropRegionIdForFlavor in class MultiSocketNodeFigureflavors - Flavors to checkdata - Transferred objectmouseEvent - Mouse event of the DnD drop action
public boolean importData(java.lang.Object regionId,
java.awt.datatransfer.Transferable data,
java.awt.Point p)
InteractionClient
importData in interface InteractionClientimportData in class MultiSocketNodeFigureregionId - Id of the region to import into (see BasicDropRegion.getId)data - Transferable to importp - Drop point in glass coordinates
InteractionClient.importData(Object, Transferable, Point)protected void assignPlaceholderReference(ModelObject mo)
mo - Model object to referencepublic void assignPlaceholderReference(java.lang.String referencePath)
referencePath - Reference path to assign
protected void substitutePlaceholderNode(Node newNode,
boolean newNodeFlag)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||