| java.lang.Object org.netbeans.modules.refactoring.java.RefactoringModule
RefactoringModule | public class RefactoringModule (Code) | | Module installation class for Refactoring module.
author: Jan Becicka author: Pavel Flaska |
Method Summary | |
public static boolean | getOption(String key, boolean defaultValue) Gets the attribute of options fileobject. | public static int | getOption(String key, int defaultValue) | public static void | setOption(String key, boolean value) Sets the attribute to options fileobject. | public static void | setOption(String key, int value) |
getOption | public static boolean getOption(String key, boolean defaultValue)(Code) | | Gets the attribute of options fileobject. Attribute name is represented
by key parameter. If attribute value is not found, defaultValue parameter
is used in method return.
Parameters: key - key whose associated value is to be returned. Parameters: defaultValue - value used when attribute is not found attribute value or defaultValue if attribute is not found |
getOption | public static int getOption(String key, int defaultValue)(Code) | | |
setOption | public static void setOption(String key, boolean value)(Code) | | Sets the attribute to options fileobject. This attribute is persitent
and allows to re-read it when IDE is restarted. Key and value pair
is used in the same way as Map works.
Parameters: key - key with which the specified value is to be associated. Parameters: value - value to be associated with the specified key. |
setOption | public static void setOption(String key, int value)(Code) | | |
|
|