01: /*******************************************************************************
02: * Copyright (c) 2000, 2006 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.pde.internal.ui.editor.plugin;
11:
12: import org.eclipse.core.resources.IProject;
13:
14: public class ResourceAttributeValue {
15: private IProject project;
16: private String stringValue;
17:
18: public ResourceAttributeValue(IProject project, String stringValue) {
19: this .project = project;
20: this .stringValue = stringValue;
21: }
22:
23: public IProject getProject() {
24: return project;
25: }
26:
27: public String getStringValue() {
28: return stringValue;
29: }
30:
31: public String toString() {
32: return getStringValue();
33: }
34: }
|