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 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 Exception
safeRun
in class SafeActionDelegate
Exception
protected String getBundleID()
protected abstract void doRun(IProgressMonitor progressMonitor) throws Exception
Exception
protected final void checkCancelation(IProgressMonitor monitor)
Copyright (c) 2014 Eike Stepper (Berlin, 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