Class ProgressManagerImpl
java.lang.Object
ru.cg.webbpm.studio.platform.impl.progress.ProgressManagerImpl
- All Implemented Interfaces:
org.springframework.beans.factory.DisposableBean
,ProgressManager
@Component
public class ProgressManagerImpl
extends Object
implements ProgressManager, org.springframework.beans.factory.DisposableBean
user: Ildar
date: 11.02.15
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
destroy()
void
executeInBackground
(PlatformRunnable process) Запустить процесс в фоне, в качестве прогресс индиактора берется status barvoid
void
executeWithCurrentIndicator
(PlatformRunnable runnable, String title) void
executeWithProgressWindow
(PlatformRunnable runnable, String progressTitle, boolean canBeCanceled) Запустить процесс в фоне с блокирующим диалогом прогрессаvoid
executeWithProgressWindow
(PlatformTask task, boolean canBeCanceled) void
executeWithProgressWindow
(PlatformTask task, boolean canBeCanceled, javafx.stage.Window parentWindow) newPanelReloadProgress
(javafx.scene.layout.Pane panel, String text) newProgressWindow
(String title, boolean canBeCanceled) void
void
Future<?>
submitWithProgressWindow
(PlatformTask task, boolean canBeCanceled)
-
Constructor Details
-
ProgressManagerImpl
-
-
Method Details
-
executeWithCurrentIndicator
- Specified by:
executeWithCurrentIndicator
in interfaceProgressManager
-
executeInBackground
Description copied from interface:ProgressManager
Запустить процесс в фоне, в качестве прогресс индиактора берется status bar- Specified by:
executeInBackground
in interfaceProgressManager
- Parameters:
process
- - процесс Future, который вернет null по завершении процесса
-
executeInBackground
- Specified by:
executeInBackground
in interfaceProgressManager
-
executeWithProgressWindow
public void executeWithProgressWindow(PlatformRunnable runnable, String progressTitle, boolean canBeCanceled) Description copied from interface:ProgressManager
Запустить процесс в фоне с блокирующим диалогом прогресса- Specified by:
executeWithProgressWindow
in interfaceProgressManager
- Parameters:
runnable
- - выполняемый процессprogressTitle
- - название процессаcanBeCanceled
- - возможность остановить процесс Future, который вернет null по завершении процесса
-
executeWithProgressWindow
- Specified by:
executeWithProgressWindow
in interfaceProgressManager
-
submitWithProgressWindow
- Specified by:
submitWithProgressWindow
in interfaceProgressManager
-
executeWithProgressWindow
public void executeWithProgressWindow(PlatformTask task, boolean canBeCanceled, javafx.stage.Window parentWindow) - Specified by:
executeWithProgressWindow
in interfaceProgressManager
-
progress
- Specified by:
progress
in interfaceProgressManager
-
progress
- Specified by:
progress
in interfaceProgressManager
-
newPanelReloadProgress
- Specified by:
newPanelReloadProgress
in interfaceProgressManager
-
newProgressWindow
-
destroy
public void destroy()- Specified by:
destroy
in interfaceorg.springframework.beans.factory.DisposableBean
-