org.netbeans.modules.editor.indent.spi
Interface ReformatTask.Factory
- Enclosing interface:
- ReformatTask
public static interface ReformatTask.Factory
Reformat task factory produces reformat tasks for the given context.
It should be registered in MimeLookup via xml layer in "/Editors/<mime-type>"
folder.
createTask
ReformatTask createTask(Context context)
- Create reformatting task.
- Parameters:
context - non-null indentation context.
- Returns:
- reformatting task or null if the factory cannot handle the given context.