|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.wst.jsdt.ui.CodeStyleConfiguration
public class CodeStyleConfiguration
Provisional API: This class/interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
Method Summary | |
---|---|
static ImportRewrite |
createImportRewrite(IJavaScriptUnit cu,
boolean restoreExistingImports)
Returns a ImportRewrite using ImportRewrite.create(IJavaScriptUnit, boolean) and
configures the rewriter with the settings as specified in the JDT UI preferences. |
static ImportRewrite |
createImportRewrite(JavaScriptUnit astRoot,
boolean restoreExistingImports)
Returns a ImportRewrite using ImportRewrite.create(JavaScriptUnit, boolean) and
configures the rewriter with the settings as specified in the JDT UI preferences. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static ImportRewrite createImportRewrite(IJavaScriptUnit cu, boolean restoreExistingImports) throws JavaScriptModelException
ImportRewrite
using ImportRewrite.create(IJavaScriptUnit, boolean)
and
configures the rewriter with the settings as specified in the JDT UI preferences.
cu
- the compilation unit to create the rewriter onrestoreExistingImports
- specifies if the existing imports should be kept or removed.
JavaScriptModelException
- thrown when the compilation unit could not be accessed.ImportRewrite.create(IJavaScriptUnit, boolean)
public static ImportRewrite createImportRewrite(JavaScriptUnit astRoot, boolean restoreExistingImports)
ImportRewrite
using ImportRewrite.create(JavaScriptUnit, boolean)
and
configures the rewriter with the settings as specified in the JDT UI preferences.
astRoot
- the AST root to create the rewriter onrestoreExistingImports
- specifies if the existing imports should be kept or removed.
ImportRewrite.create(JavaScriptUnit, boolean)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |