lineage
Class Identify

java.lang.Object
  extended by lineage.Identify
All Implemented Interfaces:
TPlugIn

public class Identify
extends java.lang.Object
implements TPlugIn


Constructor Summary
Identify()
           
 
Method Summary
 boolean applies(java.lang.Object ob)
          Returns true if this plugin can be applied to an Object like @param ob.
 Bureaucrat identify(Line3D pipe)
           
static java.lang.Object identify(java.lang.Object... args)
          Takes 2 arg (the Pipe or Polyline and the lib-name) or 5 args: Line3D pipe, String lib-name, double delta, boolean direct and boolean substring
 java.lang.Object invoke(java.lang.Object... args)
          Run the plugin directly.
 boolean setup(java.lang.Object... args)
          Setup with optional parameters (may be null).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Identify

public Identify()
Method Detail

identify

public static java.lang.Object identify(java.lang.Object... args)
Takes 2 arg (the Pipe or Polyline and the lib-name) or 5 args: Line3D pipe, String lib-name, double delta, boolean direct and boolean substring


setup

public boolean setup(java.lang.Object... args)
Description copied from interface: TPlugIn
Setup with optional parameters (may be null). Returns true of the setup was successful or not interrupted (like by clicking cancel on a dialog).

Specified by:
setup in interface TPlugIn

identify

public Bureaucrat identify(Line3D pipe)

invoke

public java.lang.Object invoke(java.lang.Object... args)
Description copied from interface: TPlugIn
Run the plugin directly.

Specified by:
invoke in interface TPlugIn

applies

public boolean applies(java.lang.Object ob)
Description copied from interface: TPlugIn
Returns true if this plugin can be applied to an Object like @param ob. This may or may not be a Displayable object.

Specified by:
applies in interface TPlugIn