forked from bioclipse/bioclipse.core
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This makes it possible with just an a manager method annotation to make any BioclipseUIJobs to be run not when the job i done but after the job is done and the user has clicked in the Progress view on the actual job. Fixes bug: #1611.
- Loading branch information
Showing
3 changed files
with
55 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
plugins/net.bioclipse.core/src/net/bioclipse/core/SilentNotification.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2009 Jonathan Alvarsson <jonalv@users.sourceforge.net> | ||
* | ||
* 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 | ||
* www.eclipse.orgÑepl-v10.html <http://www.eclipse.org/legal/epl-v10.html> | ||
* | ||
* Contact: http://www.bioclipse.net/ | ||
******************************************************************************/ | ||
package net.bioclipse.core; | ||
|
||
import java.lang.annotation.ElementType; | ||
import java.lang.annotation.Retention; | ||
import java.lang.annotation.RetentionPolicy; | ||
import java.lang.annotation.Target; | ||
|
||
/** | ||
* @author jonalv | ||
* | ||
*/ | ||
@Retention(RetentionPolicy.RUNTIME) | ||
@Target(ElementType.METHOD) | ||
public @interface SilentNotification { | ||
|
||
String message() default "Job completed, results available!"; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters