blob: d015ae83e1b6aace393940e5625744594fd1ba2e [file] [log] [blame]
package org.eclipse.jem.internal.beaninfo.core;
/*******************************************************************************
* Copyright (c) 2001, 2003 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/cpl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
/*
* $RCSfile: SpecialResourceSet.java,v $
* $Revision: 1.1 $ $Date: 2004/03/22 23:49:10 $
*/
import com.ibm.wtp.internal.emf.workbench.ProjectResourceSetImpl;
import com.ibm.wtp.emf.workbench.plugin.EMFWorkbenchPlugin;
/**
* A Special resource set that is used to link together to the beaninfo
* nature's resource set and makes sure that any request for a new "java:/..."
* JavaClass is redirected to the beaninfo nature's resource set. Otherwise
* the classes will be all over the place and not all gathered in one place.
*
* *package* protected because no one should create one of these. They are
* returned by the BeaninfoNature.newResourceSet() request.
*
* @version 1.0
* @author
*/
class SpecialResourceSet extends ProjectResourceSetImpl {
/**
* Constructor for SpecialResourceSet.
* @param aProject
*/
public SpecialResourceSet() {
super(null);
EMFWorkbenchPlugin.getSharedCache().stopListening(this); // We don't care about listening.
}
}