KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > ui > internal > progress > AwaitingFeedbackInfo


1 /*******************************************************************************
2  * Copyright (c) 2000, 2003 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Common Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/cpl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.ui.internal.progress;
12
13 import org.eclipse.ui.progress.UIJob;
14
15 /**
16  * An AwaitingFeedbackInfo is a simple structure for keeping
17  * track of a message and UIJob to run.
18  */

19 public class AwaitingFeedbackInfo {
20     
21     private String JavaDoc message;
22     private UIJob job;
23     
24     public AwaitingFeedbackInfo(String JavaDoc infoMessage, UIJob infoJob){
25         this.message = infoMessage;
26         this.job = infoJob;
27     }
28
29     /**
30      * Return the job for the receiver.
31      * @return
32      */

33     public UIJob getJob() {
34         return this.job;
35     }
36
37     /**
38      * Return the message for the receiver.
39      * @return
40      */

41     public String JavaDoc getMessage() {
42         return this.message;
43     }
44
45 }
46
Popular Tags