01: /*
02: * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
03: * PROPRIETARY/CONFIDENTIAL. Use of this product is subject to license terms.
04: */
05:
06: package com.sun.portal.ffj.loaders;
07:
08: import org.openide.filesystems.FileObject;
09:
10: import org.openide.loaders.XMLDataObject;
11: import org.openide.loaders.MultiFileLoader;
12: import org.openide.loaders.DataObjectExistsException;
13:
14: import org.openide.nodes.Node;
15:
16: public class PortletAppDataObject extends XMLDataObject {
17:
18: public PortletAppDataObject(FileObject pf, MultiFileLoader loader)
19: throws DataObjectExistsException {
20: super (pf, loader);
21: }
22:
23: protected Node createNodeDelegate() {
24: //Node n = super.createNodeDelegate();
25: //System.err.println("NODE DELEGATE is "+n);
26: return new PortletAppNode(this);
27: }
28: }
|