public abstract class ConnectionPlaceholderNode extends DefaultElement
Constructor and Description |
---|
ConnectionPlaceholderNode(java.util.Map<java.lang.String,java.lang.String> criteria) |
Modifier and Type | Method and Description |
---|---|
boolean |
createConnection(Context context) |
protected abstract boolean |
createConnection(java.util.Map<java.lang.String,java.lang.String> criteria,
Context context) |
javax.swing.Icon |
getIcon()
This implementation returns a plain document icon.
|
java.lang.String |
getShortLabel()
This implementation returns a place-holder
String . |
getAttributes, getChildren, getData, mayHaveChildren
getLongLabel, getToolTipText, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getLongLabel, getToolTipText, toString
public ConnectionPlaceholderNode(java.util.Map<java.lang.String,java.lang.String> criteria)
public java.lang.String getShortLabel()
DefaultDisplayable
String
.getShortLabel
in interface Displayable
getShortLabel
in class DefaultDisplayable
Displayable
that can be shown to the user.Displayable.getShortLabel()
public javax.swing.Icon getIcon()
DefaultDisplayable
getIcon
in interface Displayable
getIcon
in class DefaultDisplayable
Icon
to be displayed for the
Displayable
.Displayable.getIcon()
public boolean createConnection(Context context)
protected abstract boolean createConnection(java.util.Map<java.lang.String,java.lang.String> criteria, Context context)