org.openide.util.datatransfer
Class NewType
java.lang.Object
|
+--org.openide.util.datatransfer.NewType
- public abstract class NewType
- extends Object
Describes a type that can be created anew.
- See Also:
Node.getNewTypes()
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NewType
public NewType()
getName
public String getName()
- Display name for the creation action. This should be
presented as an item in a menu.
- Returns:
- the name of the action
getHelpCtx
public HelpCtx getHelpCtx()
- Help context for the creation action.
- Returns:
- the help context
create
public abstract void create()
throws IOException
- Create the object.
- Throws:
IOException
- if something fails
Built on December 12 2001. | Portions Copyright 1997-2001 Sun Microsystems, Inc. All rights reserved.