Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| org.openide.loaders 5.9.22
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.openide.loaders
Interface FolderRenameHandler

    public interface FolderRenameHandler

This handler is used by DataFolder.FolderNode.setName() method. FolderNode.setName() uses Lookup.getDefault() to lookup for instances of FolderRenameHandler. If there is one instance found, it's handleRename(...) method is called to handle rename request. More than one instance of FolderRenameHandler is not allowed.

Since:
  5.4

Method Summary
`void` | `handleRename(DataFolder folder, String newName)`

Method Detail

### handleRename

    void handleRename(DataFolder folder,
                      String newName)
                      throws IllegalArgumentException

  Parameters:
    `folder` - on this folder rename was requested
    `newName` - new name of folder
  Throws:
    `IllegalArgumentException` - thrown if rename cannot be performed

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| org.openide.loaders 5.9.22
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Built on December 7 2006. | Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.