Eclipse Platform
Release 3.2

org.eclipse.ltk.core.refactoring.participants
Class GenericRefactoringArguments

java.lang.Object
  extended byorg.eclipse.ltk.core.refactoring.participants.RefactoringArguments
      extended byorg.eclipse.ltk.core.refactoring.participants.GenericRefactoringArguments

public final class GenericRefactoringArguments
extends RefactoringArguments

Refactoring arguments which provide the ability to set arguments using key-value pairs of strings.

Note: This API is considered experimental and may change in the near future.

Since:
3.2
See Also:
IRefactoringInstanceCreator, RefactoringDescriptor

Constructor Summary
GenericRefactoringArguments()
           
 
Method Summary
 String getAttribute(String name)
          Returns the attribute with the specified name.
 void setAttribute(String name, String value)
          Sets the attribute with the specified name to the indicated value.
 String toString()
          Returns a string representation of these arguments suitable for debugging purposes only.

Subclasses should reimplement this method.

 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GenericRefactoringArguments

public GenericRefactoringArguments()
Method Detail

getAttribute

public String getAttribute(String name)
Returns the attribute with the specified name.

Parameters:
name - the name of the attribute
Returns:
the attribute value, or null

setAttribute

public void setAttribute(String name,
                         String value)
Sets the attribute with the specified name to the indicated value.

Parameters:
name - the name of the attribute
value - the value of the attribute

toString

public String toString()
Returns a string representation of these arguments suitable for debugging purposes only.

Subclasses should reimplement this method.

Overrides:
toString in class RefactoringArguments
Returns:
a debug string

Eclipse Platform
Release 3.2

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.