KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > help > ui > internal > views > HistoryEntry


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

11 package org.eclipse.help.ui.internal.views;
12
13 public class HistoryEntry {
14     public static final int URL = 1;
15     public static final int PAGE = 2;
16     private int type;
17     private String JavaDoc target;
18     private Object JavaDoc data;
19     /**
20      *
21      */

22     public HistoryEntry(int type, String JavaDoc target, Object JavaDoc data) {
23         this.type = type;
24         this.target = target;
25         this.data = data;
26     }
27     public int getType() {
28         return type;
29     }
30     public String JavaDoc getTarget() {
31         return target;
32     }
33     public Object JavaDoc getData() {
34         return data;
35     }
36 }
37
Popular Tags