blob: bb847ae9c7a38182218e3d42c1f7cd2e2b87eb47 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2001, 2007 Oracle 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:
* Oracle Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.jst.jsf.core.jsflibraryconfiguration.internal;
import org.eclipse.jst.jsf.core.internal.jsflibraryconfig.JSFLibraryInternalReference;
import org.eclipse.jst.jsf.core.internal.jsflibraryregistry.PluginProvidedJSFLibrary;
import org.eclipse.jst.jsf.core.jsflibraryconfiguration.JSFLibraryReferencePluginProvided;
/**
*
*/
public class JSFLibraryReferencePluginProvidedImpl extends AbstractJSFLibraryReferenceImpl implements JSFLibraryReferencePluginProvided {
/**
* Constructor
* @param libRef
* @param isDeployed
*/
public JSFLibraryReferencePluginProvidedImpl(JSFLibraryInternalReference libRef, boolean isDeployed) {
super(libRef, isDeployed);
}
public String getPluginId() {
if (getLibrary() != null)
return ((PluginProvidedJSFLibrary) getLibrary()).getPluginID();
return null;
}
public String toString() {
StringBuffer buf = new StringBuffer("PluginProvided: (");
buf.append(super.toString());
return buf.toString();
}
}