org.openide.modules
Class ManifestSection.NodeSection

java.lang.Object
  |
  +--org.openide.modules.ManifestSection
        |
        +--org.openide.modules.ManifestSection.NodeSection
Enclosing class:
ManifestSection

public static final class ManifestSection.NodeSection
extends ManifestSection

Module section for a node.

See Also:
Node

Inner classes inherited from class org.openide.modules.ManifestSection
ManifestSection.ActionSection, ManifestSection.ClipboardConvertorSection, ManifestSection.DebuggerSection, ManifestSection.FileSystemSection, ManifestSection.Iterator, ManifestSection.LoaderSection, ManifestSection.NodeSection, ManifestSection.OptionSection, ManifestSection.ServiceSection
 
Field Summary
static String TYPE_ENVIRONMENT
          Type to add an entry to the Environment (in the Explorer).
static String TYPE_ROOTS
          Type to add an entry to the root nodes.
static String TYPE_SESSION
          Type to add an entry to the Session settings.
 
Method Summary
 Node getNode()
          Get the environment node.
 String getType()
          Get the node type.
 
Methods inherited from class org.openide.modules.ManifestSection
getSectionClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_ROOTS

public static final String TYPE_ROOTS
Type to add an entry to the root nodes.

TYPE_ENVIRONMENT

public static final String TYPE_ENVIRONMENT
Type to add an entry to the Environment (in the Explorer).

TYPE_SESSION

public static final String TYPE_SESSION
Type to add an entry to the Session settings.
Method Detail

getNode

public Node getNode()
             throws InstantiationException
Get the environment node.
Returns:
the node
Throws:
InstantiationException - if the node could not be created

getType

public String getType()
Get the node type. Determines where the node should be placed in the IDE.
Returns:
one of TYPE_ROOTS, TYPE_ENVIRONMENT, or TYPE_SESSION, or null if unspecified


Built on December 12 2001.  |  Portions Copyright 1997-2001 Sun Microsystems, Inc. All rights reserved.