1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-03 23:25:26 +02:00

[180562][api] removing implementers of ISystemFilterConstants, ISystemFilterSavePolicies

This commit is contained in:
David Dykstal 2007-04-03 00:25:49 +00:00
parent dd8984c399
commit 70f93e8772
3 changed files with 13 additions and 15 deletions

View file

@ -1,5 +1,5 @@
/********************************************************************************
* Copyright (c) 2002, 2006 IBM Corporation. All rights reserved.
* Copyright (c) 2002, 2007 IBM Corporation. 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
@ -11,7 +11,7 @@
* Emily Bruner, Mazen Faraj, Adrian Storisteanu, Li Ding, and Kent Hawley.
*
* Contributors:
* {Name} (company) - description of contribution.
* David Dykstal (IBM) - removing extension of ISystemFilterSavePolicies
********************************************************************************/
package org.eclipse.rse.core.filters;
@ -19,7 +19,7 @@ package org.eclipse.rse.core.filters;
/**
* Constants used throughout filters framework.
*/
public interface ISystemFilterConstants extends ISystemFilterSavePolicies {
public interface ISystemFilterConstants {
/**
* Parameter value on create operations when a restore should be attempted first
*/

View file

@ -11,7 +11,7 @@
* Emily Bruner, Mazen Faraj, Adrian Storisteanu, Li Ding, and Kent Hawley.
*
* Contributors:
* {Name} (company) - description of contribution.
* David Dykstal (IBM) - removing implementation of ISystemFilterSavePolicies, ISystemFilterConstants
********************************************************************************/
package org.eclipse.rse.internal.core.filters;
@ -27,11 +27,9 @@ import org.eclipse.rse.core.SystemResourceHelpers;
import org.eclipse.rse.core.filters.IRSEFilterNamingPolicy;
import org.eclipse.rse.core.filters.ISystemFilter;
import org.eclipse.rse.core.filters.ISystemFilterConstants;
import org.eclipse.rse.core.filters.ISystemFilterContainer;
import org.eclipse.rse.core.filters.ISystemFilterPool;
import org.eclipse.rse.core.filters.ISystemFilterPoolManager;
import org.eclipse.rse.core.filters.ISystemFilterPoolManagerProvider;
import org.eclipse.rse.core.filters.ISystemFilterSavePolicies;
import org.eclipse.rse.core.filters.SystemFilterNamingPolicy;
import org.eclipse.rse.internal.core.model.RSEModelResources;
import org.eclipse.rse.internal.references.SystemPersistableReferencedObject;
@ -52,7 +50,7 @@ import org.eclipse.rse.internal.references.SystemPersistableReferencedObject;
* @lastgen class SystemFilterPoolImpl extends SystemPersistableReferencedObjectImpl implements SystemFilterPool, SystemFilterSavePolicies, SystemFilterConstants, SystemFilterContainer, IAdaptable
*/
public class SystemFilterPool extends SystemPersistableReferencedObject
implements ISystemFilterPool, ISystemFilterSavePolicies, ISystemFilterConstants, IAdaptable
implements ISystemFilterPool, IAdaptable
{
/**
@ -892,8 +890,8 @@ public class SystemFilterPool extends SystemPersistableReferencedObject
Vector filterNames = SystemResourceHelpers.getResourceHelpers().convertToVectorAndStrip(
SystemResourceHelpers.getResourceHelpers().listFiles(folder,
namingPolicy.getFilterSaveFileNamePrefix(),
SAVEFILE_SUFFIX),
namingPolicy.getFilterSaveFileNamePrefix(), SAVEFILE_SUFFIX);
ISystemFilterConstants.SAVEFILE_SUFFIX),
namingPolicy.getFilterSaveFileNamePrefix(), ISystemFilterConstants.SAVEFILE_SUFFIX);
return filterNames;
}

View file

@ -1,5 +1,5 @@
/********************************************************************************
* Copyright (c) 2002, 2006 IBM Corporation. All rights reserved.
* Copyright (c) 2002, 2007 IBM Corporation. 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
@ -11,16 +11,16 @@
* Emily Bruner, Mazen Faraj, Adrian Storisteanu, Li Ding, and Kent Hawley.
*
* Contributors:
* {Name} (company) - description of contribution.
* David Dykstal (IBM) - removing implementation of ISystemFilterConstants
********************************************************************************/
package org.eclipse.rse.internal.core.filters;
import org.eclipse.rse.core.filters.IRSEFilterNamingPolicy;
import org.eclipse.rse.core.filters.ISystemFilterConstants;
import org.eclipse.rse.core.filters.ISystemFilterPoolManager;
import org.eclipse.rse.core.filters.ISystemFilterPoolManagerProvider;
import org.eclipse.rse.core.filters.ISystemFilterPoolReferenceManager;
import org.eclipse.rse.core.filters.ISystemFilterPoolReferenceManagerProvider;
import org.eclipse.rse.core.filters.ISystemFilterSavePolicies;
import org.eclipse.rse.core.filters.ISystemFilterStartHere;
import org.eclipse.rse.core.filters.SystemFilterNamingPolicy;
import org.eclipse.rse.core.filters.SystemFilterPoolManager;
@ -48,7 +48,7 @@ import org.eclipse.rse.logging.Logger;
* </ul>
*/
public class SystemFilterStartHere
implements ISystemFilterConstants, ISystemFilterStartHere
implements ISystemFilterStartHere
{
private static SystemFilterStartHere _instance;
public SystemFilterStartHere()
@ -97,7 +97,7 @@ public class SystemFilterStartHere
boolean allowNestedFilters)
{
return SystemFilterPoolManager.createSystemFilterPoolManager(profile, logger, caller,
name, allowNestedFilters, SAVE_POLICY_NONE, null);
name, allowNestedFilters, ISystemFilterSavePolicies.SAVE_POLICY_NONE, null);
}
@ -122,7 +122,7 @@ public class SystemFilterStartHere
String name, IRSEFilterNamingPolicy namingPolicy)
{
return SystemFilterPoolReferenceManager.createSystemFilterPoolReferenceManager(
caller, relatedPoolMgrProvider, null, name, SAVE_POLICY_NONE, namingPolicy);
caller, relatedPoolMgrProvider, null, name, ISystemFilterSavePolicies.SAVE_POLICY_NONE, namingPolicy);
}