ru.biosoft.plugins.javascript
Class JScriptVisiblePlugin
java.lang.Object
ru.biosoft.access.DataElementSupport
ru.biosoft.access.AbstractDataCollection
ru.biosoft.plugins.VisiblePlugin
ru.biosoft.plugins.javascript.JScriptVisiblePlugin
- All Implemented Interfaces:
- DataCollection, DataElement
- public class JScriptVisiblePlugin
- extends VisiblePlugin
Utility class used as root tree for JavaScript functions and host objects.
This class (CollectionFactory classloader) duplicates some functionality of
JScriptPlugin (Eclipse classloader). This is due to different classloaders
that are used to initialise them.
| Fields inherited from interface ru.biosoft.access.DataCollection |
CHILDREN_NODE_IMAGE, CHILDREN_NODE_VISIBLE, CLASS_PROPERTY, CLASSPATH_JAR_PROPERTY, COMPARATOR_OBJECT, CONFIG_FILE_PROPERTY, CONFIG_PATH_PROPERTY, DATA_ELEMENT_CLASS_PROPERTY, DEFAULT_CONFIG_FILE, DEFAULT_CONFIG_SUFFIX, DEFAULT_FILTER_CONFIG_SUFFIX, DEFAULT_FORMAT_CONFIG_SUFFIX, DEFAULT_NODE_CONFIG_SUFFIX, DEFAULT_REPOSITORY, DESCRIPTION_PROPERTY, DISPLAY_NAME_PROPERTY, FILE_PATH_PROPERTY, FILE_PROPERTY, FILTER_PROPERTY, ID_FORMAT, IS_ROOT, JOB_CONTROL_PROPERTY, LATE_CHILDREN_INITIALIZATION, MUTABLE, NAME_PROPERTY, NEXT_CONFIG, NODE_IMAGE, NODE_VISIBLE, PRIMARY_COLLECTION, REMOVE_CHILDREN, TRANSFORMER_CLASS |
| Methods inherited from class ru.biosoft.access.AbstractDataCollection |
addDataCollectionListener, cachePut, checkMutable, contains, contains, doAddPostNotify, doAddPreNotify, doGet, doPut, doRemove, doRemovePostNotify, doRemovePreNotify, finalize, fireElementAdded, fireElementChanged, fireElementRemoved, fireElementWillAdd, fireElementWillChange, fireElementWillRemove, get, getCompleteName, getInfo, getNameList, getSize, initLog, isMutable, isNotificationEnabled, isPropagationEnabled, makeInfo, propagateElementChanged, propagateElementWillChange, put, registerRoot, release, remove, removeDataCollectionListener, setNotificationEnabled, setPropagationEnabled, toString |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
instance
protected static JScriptVisiblePlugin instance
JScriptVisiblePlugin
public JScriptVisiblePlugin(DataCollection parent,
java.util.Properties properties)
- Constructor to be used by
CollectionFactory to create a Plugin.
getInstance
public static JScriptVisiblePlugin getInstance()
startup
public void startup()
- Description copied from class:
VisiblePlugin
- Starts up this plug-in.
Clients must never explicitly call this method.
- Overrides:
startup in class VisiblePlugin
getDataElementType
public java.lang.Class getDataElementType()
- Description copied from class:
AbstractDataCollection
- Gets the type of DataElements stored in the data collection.
The DataElement type should be specified using {&link DATA_ELEMENT_CLASS_PROPERTY}
or should be specified in derived collections.
- Specified by:
getDataElementType in interface DataCollection- Overrides:
getDataElementType in class AbstractDataCollection
- Returns:
- Type of DataElements stored in the data collection.
getFunctions
public DataCollection getFunctions()
getHostObjects
public DataCollection getHostObjects()
iterator
public java.util.Iterator iterator()
- Description copied from interface:
DataCollection
- Returns an iterator over the data elements in this collection.
There are no guarantees concerning the order in which the elements
are returned. If the data collection is modified while an iteration
over it is in progress, the results of the iteration are undefined.
- Specified by:
iterator in interface DataCollection- Overrides:
iterator in class VisiblePlugin
Copyright © 2001-2003 Biosof.Ru. All Rights Reserved.