KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > pde > internal > build > PDEUIStateWrapper


1 /*******************************************************************************
2  * Copyright (c) 2005, 2006 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 - Initial API and implementation
10  *******************************************************************************/

11
12 package org.eclipse.pde.internal.build;
13
14 import java.util.HashMap JavaDoc;
15 import java.util.Map JavaDoc;
16 import org.eclipse.osgi.service.resolver.State;
17
18 public class PDEUIStateWrapper {
19     private State state;
20     private HashMap JavaDoc classpath;
21     private Map JavaDoc patchData;
22     private long nextId;
23     
24     public void setState(State s) {
25         state = s;
26     }
27     
28     public void setExtraData(HashMap JavaDoc classpath, Map JavaDoc patch) {
29         this.classpath = classpath;
30         this.patchData = patch;
31     }
32     
33     public State getState() {
34         return state;
35     }
36     
37     public HashMap JavaDoc getClasspaths() {
38         return classpath;
39     }
40
41     public Map JavaDoc getPatchData() {
42         return patchData;
43     }
44     
45     public void setNextId(long nextId) {
46         this.nextId = nextId;
47     }
48     
49     public long getNextId() {
50         return nextId;
51     }
52 }
53
Popular Tags