|
VRJConfig UI API |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.vrjuggler.vrjconfig.commoneditors.devicegraph.ConfigElementHolder
org.vrjuggler.vrjconfig.commoneditors.devicegraph.ProxyInfo
public class ProxyInfo
A holder for ConfigElements that is used to provide run-time
identification of a ConfigElement reference for a device proxy
configuration. Proper use of this type is critical for proper handling of
ConfigElement references held in a JGraph graph model.
DeviceGraphLayoutCache,
DeviceGraphModel,
ProxiedDeviceCellViewFactory| Constructor Summary | |
|---|---|
ProxyInfo(ConfigElement proxyElt,
ConfigContext ctx,
List aliases)
Creates a new container for the given ConfigElement reference for a device proxy configuration. |
|
| Method Summary | |
|---|---|
boolean |
acceptsSource(GraphModel model,
Object edge,
Object port)
Verifies that the given port can be a source of the given edge within the given model. |
boolean |
acceptsTarget(GraphModel model,
Object edge,
Object port)
Verifies that the given port can be a target of the given edge within the given model. |
void |
addAlias(ConfigElement aliasElt)
|
List |
getAliases()
Returns the list of aliases for the device proxy config element held by this object. |
void |
removeAlias(ConfigElement aliasElt)
|
| Methods inherited from class org.vrjuggler.vrjconfig.commoneditors.devicegraph.ConfigElementHolder |
|---|
getContext, getElement, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ProxyInfo(ConfigElement proxyElt,
ConfigContext ctx,
List aliases)
proxyElt - the config element for the device proxyctx - the context in which proxyElt is activealiases - the full list of aliases (instances of
org.vrjuggler.jccl.config.ConfigElement) for proxyElt
in ctx| Method Detail |
|---|
public boolean acceptsSource(GraphModel model,
Object edge,
Object port)
BaseDeviceInfo object) is of a type to
which we are allowed to point.
acceptsSource in class ConfigElementHolder
public boolean acceptsTarget(GraphModel model,
Object edge,
Object port)
ProxyPointerInfo) is allowed to point at our vertex.
acceptsTarget in class ConfigElementHolderpublic List getAliases()
public void addAlias(ConfigElement aliasElt)
public void removeAlias(ConfigElement aliasElt)
|
VRJConfig UI API |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||