TWE 2.4-1 API

org.enhydra.jawe.components.wfxml
Class WfXML

java.lang.Object
  extended byorg.enhydra.jawe.components.wfxml.WfXML
All Implemented Interfaces:
JaWEComponent, java.util.Observer

public class WfXML
extends java.lang.Object
implements JaWEComponent, java.util.Observer

Used to handle search events such as "References" event.

Author:
Sasa Bojanic

Field Summary
protected  DefInfos defInfos
           
protected  WfXMLPanel panel
           
protected  WfXMLSettings settings
           
protected  java.lang.String type
           
protected  boolean updateInProgress
           
 
Fields inherited from interface org.enhydra.jawe.JaWEComponent
LOWER_STATUS_COMPONENT, MAIN_COMPONENT, OTHER_COMPONENT, SPECIAL_COMPONENT, TREE_COMPONENT, UPPER_STATUS_COMPONENT
 
Constructor Summary
WfXML(JaWEComponentSettings settings)
           
 
Method Summary
 boolean adjustXPDL(org.enhydra.shark.xpdl.elements.Package pkg)
           
 boolean canCreateElement(org.enhydra.shark.xpdl.XMLCollection col)
           
 boolean canDuplicateElement(org.enhydra.shark.xpdl.XMLCollection col, org.enhydra.shark.xpdl.XMLElement el)
           
 boolean canInsertElement(org.enhydra.shark.xpdl.XMLCollection col, org.enhydra.shark.xpdl.XMLElement el)
           
 boolean canModifyElement(org.enhydra.shark.xpdl.XMLElement el)
           
 boolean canRemoveElement(org.enhydra.shark.xpdl.XMLCollection col, org.enhydra.shark.xpdl.XMLElement el)
           
 boolean canRepositionElement(org.enhydra.shark.xpdl.XMLCollection col, org.enhydra.shark.xpdl.XMLElement el)
           
 java.util.List checkValidity(org.enhydra.shark.xpdl.XMLElement el, boolean fullCheck)
           
 void clearConnectionHistory()
           
 DefInfos getDefInfos()
           
 javax.swing.JComponent getDisplay()
           
 java.lang.String getName()
           
 JaWEComponentSettings getSettings()
           
 java.lang.String getType()
           
 JaWEComponentView getView()
           
 WfXMLSettings getWfXMLSettings()
           
 boolean hasConnection()
           
 boolean hasConnectionsInHistory()
           
 boolean hasEntries()
           
protected  void init()
           
 boolean isUpdateInProgress()
           
 void listDefinitions(java.lang.String conn)
           
 void setType(java.lang.String type)
           
 void setUpdateInProgress(boolean inProgress)
           
 void update(java.util.Observable o, java.lang.Object arg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

protected java.lang.String type

panel

protected WfXMLPanel panel

updateInProgress

protected boolean updateInProgress

defInfos

protected DefInfos defInfos

settings

protected WfXMLSettings settings
Constructor Detail

WfXML

public WfXML(JaWEComponentSettings settings)
      throws java.lang.Exception
Method Detail

update

public void update(java.util.Observable o,
                   java.lang.Object arg)
Specified by:
update in interface java.util.Observer

getSettings

public JaWEComponentSettings getSettings()
Specified by:
getSettings in interface JaWEComponent

getWfXMLSettings

public WfXMLSettings getWfXMLSettings()

hasEntries

public boolean hasEntries()

hasConnection

public boolean hasConnection()

hasConnectionsInHistory

public boolean hasConnectionsInHistory()

clearConnectionHistory

public void clearConnectionHistory()

getDefInfos

public DefInfos getDefInfos()

listDefinitions

public void listDefinitions(java.lang.String conn)
                     throws java.lang.Exception
Throws:
java.lang.Exception

init

protected void init()

getView

public JaWEComponentView getView()
Specified by:
getView in interface JaWEComponent

getDisplay

public javax.swing.JComponent getDisplay()

getType

public java.lang.String getType()
Specified by:
getType in interface JaWEComponent

setType

public void setType(java.lang.String type)
Specified by:
setType in interface JaWEComponent

getName

public java.lang.String getName()
Specified by:
getName in interface JaWEComponent

adjustXPDL

public boolean adjustXPDL(org.enhydra.shark.xpdl.elements.Package pkg)
Specified by:
adjustXPDL in interface JaWEComponent

checkValidity

public java.util.List checkValidity(org.enhydra.shark.xpdl.XMLElement el,
                                    boolean fullCheck)
Specified by:
checkValidity in interface JaWEComponent

canCreateElement

public boolean canCreateElement(org.enhydra.shark.xpdl.XMLCollection col)
Specified by:
canCreateElement in interface JaWEComponent

canInsertElement

public boolean canInsertElement(org.enhydra.shark.xpdl.XMLCollection col,
                                org.enhydra.shark.xpdl.XMLElement el)
Specified by:
canInsertElement in interface JaWEComponent

canModifyElement

public boolean canModifyElement(org.enhydra.shark.xpdl.XMLElement el)
Specified by:
canModifyElement in interface JaWEComponent

canRemoveElement

public boolean canRemoveElement(org.enhydra.shark.xpdl.XMLCollection col,
                                org.enhydra.shark.xpdl.XMLElement el)
Specified by:
canRemoveElement in interface JaWEComponent

canDuplicateElement

public boolean canDuplicateElement(org.enhydra.shark.xpdl.XMLCollection col,
                                   org.enhydra.shark.xpdl.XMLElement el)
Specified by:
canDuplicateElement in interface JaWEComponent

canRepositionElement

public boolean canRepositionElement(org.enhydra.shark.xpdl.XMLCollection col,
                                    org.enhydra.shark.xpdl.XMLElement el)
Specified by:
canRepositionElement in interface JaWEComponent

setUpdateInProgress

public void setUpdateInProgress(boolean inProgress)
Specified by:
setUpdateInProgress in interface JaWEComponent

isUpdateInProgress

public boolean isUpdateInProgress()
Specified by:
isUpdateInProgress in interface JaWEComponent

TWE 2.4-1 API