| org.netbeans.modules.visualweb.complib.ComplibPaletteItemDataObject
ComplibPaletteItemDataObject | class ComplibPaletteItemDataObject extends MultiDataObject (Code) | | DataObject for palette item file. It reads the file and creates PaletteItem
and node from it.
author: Tomas Pavek author: Edwin Goei |
Inner Class :final public static class PaletteItemDataLoader extends UniFileLoader | |
Inner Class :final public static class PaletteItemDataLoaderBeanInfo extends SimpleBeanInfo | |
Inner Class :class ItemNode extends DataNode | |
Method Summary | |
static synchronized FileObject | createFile(FileObject parent, String className, String namespace, String version) Create a file corresponding to a palette item. | public Node | createNodeDelegate() | public String | getClassName() Returns the class name associated with this palette item. | public Complib | getComplib() Returns the complib associated with this palette item (normal case) or
null if one cannot be found. |
ComplibPaletteItemDataObject | ComplibPaletteItemDataObject(FileObject fo, MultiFileLoader loader) throws IOException(Code) | | |
createFile | static synchronized FileObject createFile(FileObject parent, String className, String namespace, String version) throws IOException(Code) | | Create a file corresponding to a palette item. This method is
synchronized so that other threads that read the file via loadFile() will
not get partial file contents.
Parameters: parent - Parameters: className - Parameters: namespace - Parameters: version - throws: IOException - |
createNodeDelegate | public Node createNodeDelegate()(Code) | | |
getClassName | public String getClassName()(Code) | | Returns the class name associated with this palette item.
class name of palette item |
getComplib | public Complib getComplib()(Code) | | Returns the complib associated with this palette item (normal case) or
null if one cannot be found. For example, it is possible for someone to
muck with their userdir such that they remove a complib, but yet the
palette data still exists and now refers to a non-existant complib. In
this case, null will be returned here.
associated complib or null |
|
|