KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > kelp > forte > node > ForteFolderNode


1 /*
2  * Enhydra Java Application Server Project
3  *
4  * The contents of this file are subject to the Enhydra Public License
5  * Version 1.1 (the "License"); you may not use this file except in
6  * compliance with the License. You may obtain a copy of the License on
7  * the Enhydra web site ( http://www.enhydra.org/ ).
8  *
9  * Software distributed under the License is distributed on an "AS IS"
10  * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
11  * the License for the specific terms governing rights and limitations
12  * under the License.
13  *
14  * The Initial Developer of the Enhydra Application Server is Lutris
15  * Technologies, Inc. The Enhydra Application Server and portions created
16  * by Lutris Technologies, Inc. are Copyright Lutris Technologies, Inc.
17  * All Rights Reserved.
18  *
19  * Contributor(s):
20  * Lisa Reese
21  */

22
23 /*
24  * ForteFolderNode.java
25  *
26  * Created on May 3, 2001, 12:50 PM
27  */

28
29 package org.enhydra.kelp.forte.node;
30
31 // Kelp imports
32
import org.enhydra.kelp.common.node.OtterFolderNode;
33 import org.enhydra.kelp.common.node.OtterNode;
34 //import org.enhydra.
35

36 //import org.openide.nodes.Node;
37
import org.openide.loaders.DataFolder;
38 import org.openide.loaders.DataObject;
39 import org.openide.loaders.DataObjectNotFoundException;
40 import org.openide.filesystems.FileObject;
41 import org.openide.filesystems.FileSystem;
42
43 import java.util.Enumeration JavaDoc;
44 /**
45  *
46  * @author rees0234
47  * @version
48  */

49 public class ForteFolderNode extends ForteNode implements OtterFolderNode {
50
51
52     public ForteFolderNode(DataFolder nativeNode) {
53       super(nativeNode);
54     }
55
56
57     /**
58      * Constructor declaration
59      *
60      *
61      * @param otterNode
62      * @param name
63      */

64     public ForteFolderNode(OtterNode parent, String JavaDoc path)
65     {
66         super(parent, path);
67     }
68     
69     public String JavaDoc getXMLCOptionFilePath()
70     {
71         return getProperty(NAME_XMLC_OPTION_FILEPATH);
72     }
73
74     public void setXMLCOptionFilePath(String JavaDoc in)
75     {
76         setProperty(NAME_XMLC_OPTION_FILEPATH, in);
77     }
78
79     public String JavaDoc getXMLCParameters()
80     {
81         return getProperty(NAME_XMLC_PARAMETERS);
82     }
83
84     public void setXMLCParameters(String JavaDoc in)
85     {
86         setProperty(NAME_XMLC_PARAMETERS, in);
87     }
88     
89 }
90
Popular Tags