|
Eclipse Platform Release 3.3 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ltk.core.refactoring.RefactoringTickProvider
Implementors of refactorings uses instances of RefactoringTickProvider
to specify the tick distribution during progress reporting when executing the
check conditions, create change and change initialization steps.
Field Summary | |
---|---|
static RefactoringTickProvider |
DEFAULT
The default refactoring tick provider |
Constructor Summary | |
---|---|
RefactoringTickProvider(int checkInitialConditionsTicks,
int checkFinalConditionsTicks,
int createChangeTicks,
int initializeChangeTicks)
Creates a new refactoring tick provider with the given values |
Method Summary | |
---|---|
int |
getAllTicks()
Sum of getCheckConditionsTicks , getCreateChangeTicks
and getInitializeChangeTicks . |
int |
getCheckAllConditionsTicks()
Sum of getCheckInitialConditionsTicks() and
getCheckFinalConditionsTicks |
int |
getCheckFinalConditionsTicks()
Number of ticks reserved in the parent progress monitor of the progress monitor passed to Refactoring#checkFinalConditions() . |
int |
getCheckInitialConditionsTicks()
Number of ticks reserved in the parent progress monitor of the progress monitor passed to Refactoring#checkInitialConditions() . |
int |
getCreateChangeTicks()
Number of ticks reserved in the parent progress monitor of the progress monitor passed to Refactoring#createChange() . |
int |
getInitializeChangeTicks()
Number of ticks reserved in the parent progress monitor for the progress monitor passed to
which is executed on the object returned by Refactoring#createChange() . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final RefactoringTickProvider DEFAULT
Constructor Detail |
public RefactoringTickProvider(int checkInitialConditionsTicks, int checkFinalConditionsTicks, int createChangeTicks, int initializeChangeTicks)
checkInitialConditionsTicks
- ticks used in the initial condition
check stepcheckFinalConditionsTicks
- ticks used in the final condition
check stepcreateChangeTicks
- ticks used in the create change stepinitializeChangeTicks
- ticks used in the change validation stepsMethod Detail |
public int getAllTicks()
getCheckConditionsTicks
, getCreateChangeTicks
and getInitializeChangeTicks
.
public int getCheckAllConditionsTicks()
getCheckInitialConditionsTicks()
and
getCheckFinalConditionsTicks
public int getCheckInitialConditionsTicks()
Refactoring#checkInitialConditions()
.
public int getCheckFinalConditionsTicks()
Refactoring#checkFinalConditions()
.
public int getCreateChangeTicks()
Refactoring#createChange()
.
public int getInitializeChangeTicks()
Change.initializeValidationData(IProgressMonitor)
which is executed on the object returned by Refactoring#createChange()
.
|
Eclipse Platform Release 3.3 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2007. All rights reserved.