blob: 4d8708b7d6ab85e00a70ab249d1a9e6223f4eea3 [file] [log] [blame]
/***********************************************************************
* Copyright (c) 2008 by SAP AG, Walldorf.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* SAP AG - initial API and implementation
***********************************************************************/
package org.eclipse.jst.jee.ui.internal.navigator.web;
import org.eclipse.swt.graphics.Image;
/**
*
* Wrapper node for representing string values of the model in Deployment descriptor tree.
* (e.g. Welcome Files)
*
* @author Dimitar Giormov
*
*/
public class WebArtifactNode {
private Image image;
private String text;
public WebArtifactNode(String text, Image image) {
super();
this.text = text;
this.image = image;
}
public Image getImage() {
return image;
}
public String getText() {
return text;
}
}