Update of /cvsroot/modelwizard/source/Model Wizard Plugin/src/net/sourceforge/modelWizard/Profile/util In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv3385/src/net/sourceforge/modelWizard/Profile/util Modified Files: ProfileAdapterFactory.java ProfileResourceImpl.java ProfileResourceFactoryImpl.java Log Message: removed unused imports Index: ProfileResourceImpl.java =================================================================== RCS file: /cvsroot/modelwizard/source/Model Wizard Plugin/src/net/sourceforge/modelWizard/Profile/util/ProfileResourceImpl.java,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** ProfileResourceImpl.java 27 Sep 2005 18:42:17 -0000 1.1.1.1 --- ProfileResourceImpl.java 24 Oct 2006 21:43:34 -0000 1.2 *************** *** 1,39 **** ! /** ! * <copyright> ! * </copyright> ! * ! * $Id$ ! */ ! package net.sourceforge.modelWizard.Profile.util; ! ! import org.eclipse.emf.common.util.URI; ! ! import org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl; ! ! /** ! * <!-- begin-user-doc --> ! * The <b>Resource </b> associated with the package. ! * <!-- end-user-doc --> ! * @see net.sourceforge.modelWizard.Profile.util.ProfileResourceFactoryImpl ! * @generated ! */ ! public class ProfileResourceImpl extends XMLResourceImpl { ! /** ! * <!-- begin-user-doc --> ! * <!-- end-user-doc --> ! * @generated ! */ ! public static final String copyright = "(c) 2005 Cisco Systems"; ! ! /** ! * Creates an instance of the resource. ! * <!-- begin-user-doc --> ! * <!-- end-user-doc --> ! * @param uri the URI of the new resource. ! * @generated ! */ ! public ProfileResourceImpl(URI uri) { ! super(uri); ! } ! ! } //ProfileResourceImpl --- 1,38 ---- ! /** ! * <copyright> ! * </copyright> ! * ! * $Id$ ! */ ! package net.sourceforge.modelWizard.Profile.util; ! ! import org.eclipse.emf.common.util.URI; ! import org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl; ! ! /** ! * <!-- begin-user-doc --> ! * The <b>Resource </b> associated with the package. ! * <!-- end-user-doc --> ! * @see net.sourceforge.modelWizard.Profile.util.ProfileResourceFactoryImpl ! * @generated ! */ ! public class ProfileResourceImpl extends XMLResourceImpl { ! /** ! * <!-- begin-user-doc --> ! * <!-- end-user-doc --> ! * @generated ! */ ! public static final String copyright = "(c) 2005 Cisco Systems"; ! ! /** ! * Creates an instance of the resource. ! * <!-- begin-user-doc --> ! * <!-- end-user-doc --> ! * @param uri the URI of the new resource. ! * @generated ! */ ! public ProfileResourceImpl(URI uri) { ! super(uri); ! } ! ! } //ProfileResourceImpl Index: ProfileAdapterFactory.java =================================================================== RCS file: /cvsroot/modelwizard/source/Model Wizard Plugin/src/net/sourceforge/modelWizard/Profile/util/ProfileAdapterFactory.java,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** ProfileAdapterFactory.java 27 Sep 2005 18:42:17 -0000 1.1.1.1 --- ProfileAdapterFactory.java 24 Oct 2006 21:43:34 -0000 1.2 *************** *** 1,506 **** ! /** ! * <copyright> ! * </copyright> ! * ! * $Id$ ! */ ! package net.sourceforge.modelWizard.Profile.util; ! ! import net.sourceforge.modelWizard.Profile.Association; ! import net.sourceforge.modelWizard.Profile.Case; [...981 lines suppressed...] ! * @see net.sourceforge.modelWizard.Profile.UseCases ! * @generated ! */ ! public Adapter createUseCasesAdapter() { ! return null; ! } ! ! /** ! * Creates a new adapter for the default case. ! * <!-- begin-user-doc --> ! * This default implementation returns null. ! * <!-- end-user-doc --> ! * @return the new adapter. ! * @generated ! */ ! public Adapter createEObjectAdapter() { ! return null; ! } ! ! } //ProfileAdapterFactory Index: ProfileResourceFactoryImpl.java =================================================================== RCS file: /cvsroot/modelwizard/source/Model Wizard Plugin/src/net/sourceforge/modelWizard/Profile/util/ProfileResourceFactoryImpl.java,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** ProfileResourceFactoryImpl.java 27 Sep 2005 18:42:17 -0000 1.1.1.1 --- ProfileResourceFactoryImpl.java 24 Oct 2006 21:43:34 -0000 1.2 *************** *** 1,84 **** ! /** ! * <copyright> ! * </copyright> ! * ! * $Id$ ! */ ! package net.sourceforge.modelWizard.Profile.util; ! ! import net.sourceforge.modelWizard.Profile.ProfilePackage; ! ! import org.eclipse.emf.common.util.URI; ! ! import org.eclipse.emf.ecore.EPackage; ! ! import org.eclipse.emf.ecore.impl.EPackageRegistryImpl; ! ! import org.eclipse.emf.ecore.resource.Resource; ! ! import org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl; ! ! import org.eclipse.emf.ecore.util.BasicExtendedMetaData; ! import org.eclipse.emf.ecore.util.ExtendedMetaData; ! ! import org.eclipse.emf.ecore.xmi.XMLResource; ! ! /** ! * <!-- begin-user-doc --> ! * The <b>Resource Factory</b> associated with the package. ! * <!-- end-user-doc --> ! * @see net.sourceforge.modelWizard.Profile.util.ProfileResourceImpl ! * @generated ! */ ! public class ProfileResourceFactoryImpl extends ResourceFactoryImpl { ! /** ! * <!-- begin-user-doc --> ! * <!-- end-user-doc --> ! * @generated ! */ ! public static final String copyright = "(c) 2005 Cisco Systems"; ! ! /** ! * <!-- begin-user-doc --> ! * <!-- end-user-doc --> ! * @generated ! */ ! protected ExtendedMetaData extendedMetaData; ! ! /** ! * Creates an instance of the resource factory. ! * <!-- begin-user-doc --> ! * <!-- end-user-doc --> ! * @generated ! */ ! public ProfileResourceFactoryImpl() { ! super(); ! extendedMetaData = new BasicExtendedMetaData(new EPackageRegistryImpl( ! EPackage.Registry.INSTANCE)); ! extendedMetaData.putPackage(null, ProfilePackage.eINSTANCE); ! } ! ! /** ! * Creates an instance of the resource. ! * <!-- begin-user-doc --> ! * <!-- end-user-doc --> ! * @generated ! */ ! public Resource createResource(URI uri) { ! XMLResource result = new ProfileResourceImpl(uri); ! result.getDefaultSaveOptions().put( ! XMLResource.OPTION_EXTENDED_META_DATA, extendedMetaData); ! result.getDefaultLoadOptions().put( ! XMLResource.OPTION_EXTENDED_META_DATA, extendedMetaData); ! ! result.getDefaultSaveOptions().put(XMLResource.OPTION_SCHEMA_LOCATION, ! Boolean.TRUE); ! result.getDefaultSaveOptions().put( ! XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE); ! ! result.getDefaultLoadOptions().put( ! XMLResource.OPTION_USE_LEXICAL_HANDLER, Boolean.TRUE); ! return result; ! } ! ! } //ProfileResourceFactoryImpl --- 1,78 ---- ! /** ! * <copyright> ! * </copyright> ! * ! * $Id$ ! */ ! package net.sourceforge.modelWizard.Profile.util; ! ! import net.sourceforge.modelWizard.Profile.ProfilePackage; ! ! import org.eclipse.emf.common.util.URI; ! import org.eclipse.emf.ecore.EPackage; ! import org.eclipse.emf.ecore.impl.EPackageRegistryImpl; ! import org.eclipse.emf.ecore.resource.Resource; ! import org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl; ! import org.eclipse.emf.ecore.util.BasicExtendedMetaData; ! import org.eclipse.emf.ecore.util.ExtendedMetaData; ! import org.eclipse.emf.ecore.xmi.XMLResource; ! ! /** ! * <!-- begin-user-doc --> ! * The <b>Resource Factory</b> associated with the package. ! * <!-- end-user-doc --> ! * @see net.sourceforge.modelWizard.Profile.util.ProfileResourceImpl ! * @generated ! */ ! public class ProfileResourceFactoryImpl extends ResourceFactoryImpl { ! /** ! * <!-- begin-user-doc --> ! * <!-- end-user-doc --> ! * @generated ! */ ! public static final String copyright = "(c) 2005 Cisco Systems"; ! ! /** ! * <!-- begin-user-doc --> ! * <!-- end-user-doc --> ! * @generated ! */ ! protected ExtendedMetaData extendedMetaData; ! ! /** ! * Creates an instance of the resource factory. ! * <!-- begin-user-doc --> ! * <!-- end-user-doc --> ! * @generated ! */ ! public ProfileResourceFactoryImpl() { ! super(); ! extendedMetaData = new BasicExtendedMetaData(new EPackageRegistryImpl( ! EPackage.Registry.INSTANCE)); ! extendedMetaData.putPackage(null, ProfilePackage.eINSTANCE); ! } ! ! /** ! * Creates an instance of the resource. ! * <!-- begin-user-doc --> ! * <!-- end-user-doc --> ! * @generated ! */ ! public Resource createResource(URI uri) { ! XMLResource result = new ProfileResourceImpl(uri); ! result.getDefaultSaveOptions().put( ! XMLResource.OPTION_EXTENDED_META_DATA, extendedMetaData); ! result.getDefaultLoadOptions().put( ! XMLResource.OPTION_EXTENDED_META_DATA, extendedMetaData); ! ! result.getDefaultSaveOptions().put(XMLResource.OPTION_SCHEMA_LOCATION, ! Boolean.TRUE); ! result.getDefaultSaveOptions().put( ! XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE); ! ! result.getDefaultLoadOptions().put( ! XMLResource.OPTION_USE_LEXICAL_HANDLER, Boolean.TRUE); ! return result; ! } ! ! } //ProfileResourceFactoryImpl |