public abstract class LongRunningActionDelegate extends SafeActionDelegate
INTERACTIVE
Constructor and Description |
---|
LongRunningActionDelegate() |
Modifier and Type | Method and Description |
---|---|
protected void |
cancel() |
protected void |
checkCancelation(IProgressMonitor monitor) |
protected abstract void |
doRun(IProgressMonitor progressMonitor) |
protected java.lang.String |
getBundleID() |
protected int |
getTotalWork()
Deprecated.
Not supported anymore.
|
protected void |
preRun() |
protected void |
safeRun() |
protected void |
setTotalWork(int totalWork)
Deprecated.
Not supported anymore.
|
getAction, getSelection, getShell, getText, run, selectionChanged
@Deprecated protected final int getTotalWork()
@Deprecated protected final void setTotalWork(int totalWork)
protected final void cancel()
protected final void safeRun() throws java.lang.Exception
safeRun
in class SafeActionDelegate
java.lang.Exception
protected void preRun() throws java.lang.Exception
java.lang.Exception
protected java.lang.String getBundleID()
protected abstract void doRun(IProgressMonitor progressMonitor) throws java.lang.Exception
java.lang.Exception
protected final void checkCancelation(IProgressMonitor monitor)
Copyright (c) 2004-2019 Eike Stepper (Loehne, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html