Eclipse Platform
Release 3.1

org.eclipse.ltk.core.refactoring
Class RefactoringCore

java.lang.Object
  extended byorg.eclipse.ltk.core.refactoring.RefactoringCore

public class RefactoringCore
extends Object

Central access point to access resources managed by the refactoring core plug-in.

Note: this class is not intended to be extended by clients.

Since:
3.0

Method Summary
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 IValidationCheckResultQueryFactory getQueryFactory()
          Returns the query factory.
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getUndoManager

public static IUndoManager getUndoManager()
Returns the singleton undo manager for the refactoring undo stack.

Returns:
the refactoring undo manager.

getConditionCheckingFailedSeverity

public 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.

Returns:
the condition checking failed severity

getQueryFactory

public static IValidationCheckResultQueryFactory getQueryFactory()
Returns the query factory.

Returns:
the query factory
Since:
3.1

internalSetQueryFactory

public static void internalSetQueryFactory(IValidationCheckResultQueryFactory factory)
An internal method to set the query 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.

Parameters:
factory - the factory to set or null
Since:
3.1

Eclipse Platform
Release 3.1

Guidelines for using Eclipse APIs.

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