public class RefactoringCore extends Object
Note: this class is not intended to be extended by clients.
Modifier and Type | Field and Description |
---|---|
static String |
ID_PLUGIN
The id of the Refactoring plug-in (value
"org.eclipse.ltk.core.refactoring" ). |
Modifier and Type | Method and Description |
---|---|
static int |
getConditionCheckingFailedSeverity()
When condition checking is performed for a refactoring then the
condition check is interpreted as failed if the refactoring status
severity return from the condition checking operation is equal
or greater than the value returned by this method.
|
static IRefactoringHistoryService |
getHistoryService()
Returns the singleton refactoring history service.
|
static IValidationCheckResultQueryFactory |
getQueryFactory()
Returns the query factory.
|
static RefactoringContribution |
getRefactoringContribution(String id)
Returns the refactoring contribution with the specified unique id.
|
static IUndoManager |
getUndoManager()
Returns the singleton undo manager for the refactoring undo stack.
|
static void |
internalSetQueryFactory(IValidationCheckResultQueryFactory factory)
An internal method to set the query factory.
|
public static final String ID_PLUGIN
"org.eclipse.ltk.core.refactoring"
).public static IUndoManager getUndoManager()
public static IRefactoringHistoryService getHistoryService()
public static RefactoringContribution getRefactoringContribution(String id)
id
- the unique id of the contributionnull
if in
contribution is registered with for this idpublic static int getConditionCheckingFailedSeverity()
public static IValidationCheckResultQueryFactory getQueryFactory()
public static void internalSetQueryFactory(IValidationCheckResultQueryFactory factory)
This method is NOT official API. It is a special method for the refactoring UI plug-in to set a dialog based query factory.
factory
- the factory to set or null
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.