1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-24 09:25:31 +02:00

bug 149331 - Change some internal classes from public to private so they don't show up in the API reference. Modified tutorial and example to use ISystemFilter instead of SystemFilter.

This commit is contained in:
David Dykstal 2006-08-07 19:28:45 +00:00
parent d1dd0b13db
commit 25deb8be8d
6 changed files with 12 additions and 11 deletions

View file

@ -21,7 +21,7 @@ import org.eclipse.rse.core.subsystems.ISubSystem;</strong>
import org.eclipse.rse.core.subsystems.SubSystemConfiguration;
<strong>import org.eclipse.rse.filters.ISystemFilterPool;
import org.eclipse.rse.filters.ISystemFilterPoolManager;
import org.eclipse.rse.internal.filters.SystemFilter;
import org.eclipse.rse.filters.ISystemFilter;
import org.eclipse.rse.model.IHost;</strong>
<strong>import samples.RSESamplesPlugin;</strong>
@ -77,7 +77,7 @@ public class DeveloperSubSystemConfiguration extends SubSystemConfiguration {
*
* Requires this line in rseSamplesResources.properties: property.type.teamfilter=Team filter
*/
<strong>public String getTranslatedFilterTypeProperty(SystemFilter selectedFilter)
<strong>public String getTranslatedFilterTypeProperty(ISystemFilter selectedFilter)
{
return RSESamplesPlugin.getResourceString("property.type.teamfilter");
}</strong>

View file

@ -22,7 +22,7 @@ import org.eclipse.rse.core.subsystems.SubSystemConfiguration;
import org.eclipse.rse.filters.ISystemFilter;
import org.eclipse.rse.filters.ISystemFilterPool;
import org.eclipse.rse.filters.ISystemFilterPoolManager;
import org.eclipse.rse.internal.filters.SystemFilter;
import org.eclipse.rse.filters.ISystemFilter;
import org.eclipse.rse.model.IHost;
import samples.RSESamplesPlugin;
@ -81,7 +81,7 @@ public class DeveloperSubSystemConfiguration extends SubSystemConfiguration {
*
* Requires this line in rseSamplesResources.properties: property.type.teamfilter=Team filter
*/
public String getTranslatedFilterTypeProperty(SystemFilter selectedFilter)
public String getTranslatedFilterTypeProperty(ISystemFilter selectedFilter)
{
<strong>String type = selectedFilter.getType();
if (type == null)

View file

@ -24,7 +24,6 @@ import org.eclipse.rse.core.subsystems.SubSystemConfiguration;
import org.eclipse.rse.filters.ISystemFilter;
import org.eclipse.rse.filters.ISystemFilterPool;
import org.eclipse.rse.filters.ISystemFilterPoolManager;
import org.eclipse.rse.internal.filters.SystemFilter;
import org.eclipse.rse.model.IHost;
import samples.RSESamplesPlugin;
@ -86,7 +85,7 @@ public class DeveloperSubSystemConfiguration extends SubSystemConfiguration {
*
* Requires this line in rseSamplesResources.properties: property.type.teamfilter=Team filter
*/
public String getTranslatedFilterTypeProperty(SystemFilter selectedFilter)
public String getTranslatedFilterTypeProperty(ISystemFilter selectedFilter)
{
//--tutorial part 1
//return RSESamplesPlugin.getResourceString("property.type.teamfilter"); //$NON-NLS-1$

View file

@ -23,7 +23,6 @@ import org.eclipse.core.resources.IContainer;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.resources.IWorkspace;
import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.jface.dialogs.IDialogConstants;
@ -261,7 +260,7 @@ public class SystemCachePreferencePage extends PreferencePage implements IWorkbe
return super.performOk();
}
public class ClearTempFilesRunnable implements IRunnableWithProgress
private class ClearTempFilesRunnable implements IRunnableWithProgress
{
public void run(IProgressMonitor monitor)
{
@ -277,7 +276,7 @@ public class SystemCachePreferencePage extends PreferencePage implements IWorkbe
{
try
{
IWorkspace workspace = SystemBasePlugin.getWorkspace();
// IWorkspace workspace = SystemBasePlugin.getWorkspace();
IResource[] members = tempFiles.members();
if (members != null)
{

View file

@ -39,7 +39,10 @@ import org.eclipse.rse.ui.wizards.ISystemNewConnectionWizardPage;
import org.eclipse.swt.graphics.Image;
import org.eclipse.swt.widgets.Shell;
/**
* Defines the interface that must be implemented for adapters of for subsystem configurations.
* This adapter is used when creating wizard pages for new connections.
*/
public interface ISubsystemConfigurationAdapter
{

View file

@ -81,7 +81,7 @@ public class PasswordPersistenceManager {
/**
* Inner class used for storing registered system types
*/
protected class RegisteredSystemType
private class RegisteredSystemType
{
private String _systemType;
private boolean _userIDCaseSensitive;