// ============================================================================ // // Copyright (C) 2006-2012 Talend Inc. - www.talend.com // // This source code is available under agreement available at // %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt // // You should have received a copy of the agreement // along with this program; if not, write to Talend SA // 9 rue Pages 92150 Suresnes, France // // ============================================================================ package org.talend.repository.model; import org.talend.commons.ui.runtime.image.IImage; /** * DOC smallet class global comment. Detailled comment <br/> * * $Id: talend.epf 1 2006-09-29 17:06:40 +0000 (ven., 29 sept. 2006) nrousseau $ * */ public class StableRepositoryNode extends RepositoryNode { private IImage icon; private String label; /** * DOC smallet StableRepositoryNode constructor comment. * * @param object * @param parent * @param type */ public StableRepositoryNode(RepositoryNode parent, String label, IImage icon) { super(null, parent, ENodeType.STABLE_SYSTEM_FOLDER); this.label = label; this.icon = icon; } /** * Getter for icon. * * @return the icon */ public IImage getIcon() { return this.icon; } /** * Sets the icon. * * @param icon the icon to set */ public void setIcon(IImage icon) { this.icon = icon; } /** * Getter for label. * * @return the label */ public String getLabel() { return this.label; } /** * Sets the label. * * @param label the label to set */ public void setLabel(String label) { this.label = label; } @Override public void dispose() { this.icon = null; this.label = null; super.dispose(); } }