blob: c090e39becfd0eba143cc32a95073338af11affa [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2001, 2004 IBM Corporation and others.
* 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:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.jst.j2ee.common;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Icon Type</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* @version J2EE1.4
* The icon type contains small-icon and large-icon elements
* that specify the file names for small and large GIF or
* JPEG icon images used to represent the parent element in a
* GUI tool.
*
* The xml:lang attribute defines the language that the
* icon file names are provided in. Its value is "en" (English)
* by default.
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.jst.j2ee.common.IconType#getSmallIcon <em>Small Icon</em>}</li>
* <li>{@link org.eclipse.jst.j2ee.common.IconType#getLargeIcon <em>Large Icon</em>}</li>
* <li>{@link org.eclipse.jst.j2ee.common.IconType#getLang <em>Lang</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.jst.j2ee.common.CommonPackage#getIconType()
* @model
* @generated
*/
public interface IconType extends EObject{
/**
* Returns the value of the '<em><b>Small Icon</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Small Icon</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* The small-icon element contains the name of a file
* containing a small (16 x 16) icon image. The file
* name is a relative path within the Deployment
* Component's Deployment File.
*
* The image may be either in the JPEG or GIF format.
* The icon can be used by tools.
*
* Example:
*
* <small-icon>employee-service-icon16x16.jpg</small-icon>
* <!-- end-model-doc -->
* @return the value of the '<em>Small Icon</em>' attribute.
* @see #setSmallIcon(String)
* @see org.eclipse.jst.j2ee.common.CommonPackage#getIconType_SmallIcon()
* @model
* @generated
*/
String getSmallIcon();
/**
* Sets the value of the '{@link org.eclipse.jst.j2ee.common.IconType#getSmallIcon <em>Small Icon</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Small Icon</em>' attribute.
* @see #getSmallIcon()
* @generated
*/
void setSmallIcon(String value);
/**
* Returns the value of the '<em><b>Large Icon</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Large Icon</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* The large-icon element contains the name of a file
* containing a large
* (32 x 32) icon image. The file name is a relative
* path within the Deployment Component's Deployment
* File.
*
* The image may be either in the JPEG or GIF format.
* The icon can be used by tools.
*
* Example:
*
* <large-icon>employee-service-icon32x32.jpg</large-icon>
*
* <!-- end-model-doc -->
* @return the value of the '<em>Large Icon</em>' attribute.
* @see #setLargeIcon(String)
* @see org.eclipse.jst.j2ee.common.CommonPackage#getIconType_LargeIcon()
* @model
* @generated
*/
String getLargeIcon();
/**
* Sets the value of the '{@link org.eclipse.jst.j2ee.common.IconType#getLargeIcon <em>Large Icon</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Large Icon</em>' attribute.
* @see #getLargeIcon()
* @generated
*/
void setLargeIcon(String value);
/**
* Returns the value of the '<em><b>Lang</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Lang</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Lang</em>' attribute.
* @see #setLang(String)
* @see org.eclipse.jst.j2ee.common.CommonPackage#getIconType_Lang()
* @model
* @generated
*/
String getLang();
/**
* Sets the value of the '{@link org.eclipse.jst.j2ee.common.IconType#getLang <em>Lang</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Lang</em>' attribute.
* @see #getLang()
* @generated
*/
void setLang(String value);
} // IconType