Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| org.netbeans.modules.java.project/1 1.8.22
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.netbeans.spi.java.project.support.ui
Interface PackageRenameHandler

    public interface PackageRenameHandler

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

Since:
  1.5

Method Summary
`void` | `handleRename(Node node, String newName)`

Method Detail

### handleRename

    void handleRename(Node node,
                      String newName)
                      throws IllegalArgumentException

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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| org.netbeans.modules.java.project/1 1.8.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.