ptolemy.vergil.actor
Class LinkController

java.lang.Object
  extended bydiva.graph.BasicEdgeController
      extended byptolemy.vergil.actor.LinkController
All Implemented Interfaces:
EdgeController

public class LinkController
extends BasicEdgeController

This class provides interaction techniques for edges that are to be connected between ports and relations. Standard interaction techniques for an undirected edge are allowed.

Since:
Ptolemy II 2.0
Version:
$Id: LinkController.java,v 1.23 2004/04/13 15:10:38 cxh Exp $
Author:
Steve Neuendorffer, Contributor: Edward A. Lee
Accepted Rating:
Red (johnr)
Proposed Rating:
Red (eal)

Nested Class Summary
protected  class LinkController.LinkDropper
          An inner class that handles interactive changes to connectivity.
static class LinkController.LinkRenderer
           
 class LinkController.LinkTarget
           
 
Nested classes inherited from class diva.graph.BasicEdgeController
BasicEdgeController.EdgeDropper
 
Field Summary
protected  Configuration _configuration
          The configuration.
protected static ConfigureAction _configureAction
          The configure action, which handles edit parameters requests.
protected  MenuCreator _menuCreator
          The menu creator.
protected  PtolemyMenuFactory _menuFactory
          The factory belonging to the menu creator.
 
Constructor Summary
LinkController(GraphController controller)
          Create a link controller associated with the specified graph controller.
 
Method Summary
 void setConfiguration(Configuration configuration)
          Set the configuration.
 
Methods inherited from class diva.graph.BasicEdgeController
addEdge, addEdge, clearEdge, drawEdge, getConnectorTarget, getController, getEdgeInteractor, getEdgeRenderer, removeEdge, render, setConnectorTarget, setEdgeInteractor, setEdgeRenderer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_configuration

protected Configuration _configuration
The configuration.


_configureAction

protected static ConfigureAction _configureAction
The configure action, which handles edit parameters requests.


_menuCreator

protected MenuCreator _menuCreator
The menu creator.


_menuFactory

protected PtolemyMenuFactory _menuFactory
The factory belonging to the menu creator.

Constructor Detail

LinkController

public LinkController(GraphController controller)
Create a link controller associated with the specified graph controller.

Parameters:
controller - The associated graph controller.
Method Detail

setConfiguration

public void setConfiguration(Configuration configuration)
Set the configuration. This is may be used by derived controllers to open files or URLs.

Parameters:
configuration - The configuration.