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.actions.OpenAction;
09:
10: import org.openide.util.actions.SystemAction;
11:
12: import org.openide.loaders.DataObject;
13: import org.openide.loaders.DataNode;
14:
15: import org.openide.nodes.Children;
16: import org.openide.nodes.Sheet;
17:
18: import com.sun.portal.ffj.properties.PortletSetProperty;
19:
20: public class PSXmlNode extends DataNode {
21: public PSXmlNode(DataObject dob) {
22: super (dob, Children.LEAF);
23: setIconBase("com/sun/portal/ffj/resources/images/PSChanIcon"); // NOI18N
24: setDefaultAction(SystemAction.get(OpenAction.class));
25: }
26: }
|