org.ow2.clif.analyze.lib.graph
Class AnalyzerImpl

java.lang.Object
  extended by org.ow2.clif.analyze.lib.graph.AnalyzerImpl
All Implemented Interfaces:
org.objectweb.fractal.api.control.BindingController, org.objectweb.fractal.api.control.LifeCycleController, AnalyzerLink

public class AnalyzerImpl
extends java.lang.Object
implements org.objectweb.fractal.api.control.BindingController, AnalyzerLink, org.objectweb.fractal.api.control.LifeCycleController

The Class AnalyzerImpl.

Author:
Gregory Calonnier, Jordan Brunier

Field Summary
static java.lang.String CLIF_ANALYZER
          Fractal ADL definition file of the CLIF Analyzer.
static javax.swing.JFrame frame
           
static javax.swing.JInternalFrame quickAnalyzer
           
 
Fields inherited from interface org.ow2.clif.analyze.api.AnalyzerLink
ANALYZER_LINK
 
Fields inherited from interface org.objectweb.fractal.api.control.LifeCycleController
STARTED, STOPPED
 
Constructor Summary
AnalyzerImpl()
          Instantiates a new analyzer impl.
 
Method Summary
 void bindFc(java.lang.String clientItfName, java.lang.Object serverItf)
           
 java.lang.String getFcState()
           
 java.lang.String getLabel()
           
static void init()
           
 java.lang.String[] listFc()
           
 java.lang.Object lookupFc(java.lang.String clientItfName)
           
static void main(java.lang.String[] args)
          The main method.
 void setUIContext(java.lang.Object internalFrame)
           
 void startFc()
           
 void stopFc()
           
 void unbindFc(java.lang.String clientItfName)
           
protected static void windowFrameStateChanged(java.awt.event.WindowEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLIF_ANALYZER

public static final java.lang.String CLIF_ANALYZER
Fractal ADL definition file of the CLIF Analyzer.

See Also:
Constant Field Values

quickAnalyzer

public static javax.swing.JInternalFrame quickAnalyzer

frame

public static javax.swing.JFrame frame
Constructor Detail

AnalyzerImpl

public AnalyzerImpl()
Instantiates a new analyzer impl.

Method Detail

main

public static void main(java.lang.String[] args)
The main method.

Parameters:
args - the arguments

init

public static void init()
                 throws org.objectweb.fractal.adl.ADLException,
                        org.objectweb.fractal.api.NoSuchInterfaceException,
                        org.objectweb.fractal.api.control.IllegalLifeCycleException,
                        java.beans.PropertyVetoException
Throws:
org.objectweb.fractal.adl.ADLException
org.objectweb.fractal.api.NoSuchInterfaceException
org.objectweb.fractal.api.control.IllegalLifeCycleException
java.beans.PropertyVetoException

windowFrameStateChanged

protected static void windowFrameStateChanged(java.awt.event.WindowEvent e)

lookupFc

public java.lang.Object lookupFc(java.lang.String clientItfName)
Specified by:
lookupFc in interface org.objectweb.fractal.api.control.BindingController

bindFc

public void bindFc(java.lang.String clientItfName,
                   java.lang.Object serverItf)
Specified by:
bindFc in interface org.objectweb.fractal.api.control.BindingController

unbindFc

public void unbindFc(java.lang.String clientItfName)
Specified by:
unbindFc in interface org.objectweb.fractal.api.control.BindingController

listFc

public java.lang.String[] listFc()
Specified by:
listFc in interface org.objectweb.fractal.api.control.BindingController

getLabel

public java.lang.String getLabel()
Specified by:
getLabel in interface AnalyzerLink

setUIContext

public void setUIContext(java.lang.Object internalFrame)
Specified by:
setUIContext in interface AnalyzerLink

getFcState

public java.lang.String getFcState()
Specified by:
getFcState in interface org.objectweb.fractal.api.control.LifeCycleController

startFc

public void startFc()
             throws org.objectweb.fractal.api.control.IllegalLifeCycleException
Specified by:
startFc in interface org.objectweb.fractal.api.control.LifeCycleController
Throws:
org.objectweb.fractal.api.control.IllegalLifeCycleException

stopFc

public void stopFc()
            throws org.objectweb.fractal.api.control.IllegalLifeCycleException
Specified by:
stopFc in interface org.objectweb.fractal.api.control.LifeCycleController
Throws:
org.objectweb.fractal.api.control.IllegalLifeCycleException