01: package com.sun.portal.ffj.loaders;
02:
03: import org.openide.nodes.Children;
04: import org.openide.nodes.Node;
05:
06: import org.openide.loaders.XMLDataObject;
07: import org.openide.loaders.MultiFileLoader;
08: import org.openide.loaders.DataObjectExistsException;
09:
10: import org.openide.filesystems.FileObject;
11: import org.openide.filesystems.FileUtil;
12:
13: public class PortletDataObject extends XMLDataObject {
14:
15: public PortletDataObject(FileObject fob, MultiFileLoader ld)
16: throws DataObjectExistsException {
17: super (fob, ld);
18: }
19:
20: protected Node createNodeDelegate() {
21: //Node n = super.createNodeDelegate();
22: //System.err.println("NODE DELEGATE is "+n);
23: return new PortletNode(this);
24: }
25: }
|