KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > pde > internal > ui > editor > plugin > ResourceAttributeValue


1 /*******************************************************************************
2  * Copyright (c) 2000, 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 Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.pde.internal.ui.editor.plugin;
12
13 import org.eclipse.core.resources.IProject;
14
15 public class ResourceAttributeValue {
16     private IProject project;
17     private String JavaDoc stringValue;
18
19 public ResourceAttributeValue(IProject project, String JavaDoc stringValue) {
20     this.project = project;
21     this.stringValue = stringValue;
22 }
23 public IProject getProject() {
24     return project;
25 }
26 public String JavaDoc getStringValue() {
27     return stringValue;
28 }
29 public String JavaDoc toString() {
30     return getStringValue();
31 }
32 }
33
Popular Tags