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 PortletNode extends DataNode {
21:
22: public PortletNode(DataObject dob) {
23: super (dob, Children.LEAF);
24: setIconBase("com/sun/portal/ffj/resources/images/PortletIcon"); // NOI18N
25: setDefaultAction(SystemAction.get(OpenAction.class));
26: }
27: }
|