From c910e4ceb13ec21197f5380d1a6ee4f8408817b7 Mon Sep 17 00:00:00 2001 From: David McKnight Date: Tue, 15 Mar 2011 17:58:31 +0000 Subject: [PATCH] [340069] Change access modifier for SystemSearchPage methods to protected from private --- .../files/ui/search/SystemSearchPage.java | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/rse/plugins/org.eclipse.rse.files.ui/src/org/eclipse/rse/internal/files/ui/search/SystemSearchPage.java b/rse/plugins/org.eclipse.rse.files.ui/src/org/eclipse/rse/internal/files/ui/search/SystemSearchPage.java index ab4eb04e3cb..c3ba592d1af 100644 --- a/rse/plugins/org.eclipse.rse.files.ui/src/org/eclipse/rse/internal/files/ui/search/SystemSearchPage.java +++ b/rse/plugins/org.eclipse.rse.files.ui/src/org/eclipse/rse/internal/files/ui/search/SystemSearchPage.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2002, 2010 IBM Corporation and others. + * Copyright (c) 2002, 2011 IBM 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 @@ -22,6 +22,7 @@ * David McKnight (IBM) - [243495] [api] New: Allow file name search in Remote Search to not be case sensitive * David McKnight (IBM) - [279307] NPE when select a filter remove search dialog * Kit Lo (IBM) - [312923] TVT36:TCT252: JPN: Extra spaces in front of the second Regular expression checkbox (edit) + * David McKnight (IBM) - [340069] Change access modifier for SystemSearchPage methods to protected from private *******************************************************************************/ package org.eclipse.rse.internal.files.ui.search; @@ -605,7 +606,7 @@ public class SystemSearchPage extends DialogPage implements ISearchPage { * search data search string, then that data is deleted and replaced with the new data. * @return the search data corresponding to the current state of the dialog. */ - private RemoteSearchData getSearchData() { + protected RemoteSearchData getSearchData() { RemoteSearchData data = null; String searchString = stringCombo.getText(); @@ -667,7 +668,7 @@ public class SystemSearchPage extends DialogPage implements ISearchPage { * Gets the file names string. * @return the file names string. */ - private String getFileNames() { + protected String getFileNames() { return fileNameEditor.getFileNamesText(); } @@ -675,7 +676,7 @@ public class SystemSearchPage extends DialogPage implements ISearchPage { * Gets the profile name from the folder selection. * @return the profile name. */ - private String getProfileName() { + protected String getProfileName() { return folderNameEditor.getProfileName(); } @@ -683,7 +684,7 @@ public class SystemSearchPage extends DialogPage implements ISearchPage { * Gets the connection name from the folder selection. * @return the connection name. */ - private String getConnectionName() { + protected String getConnectionName() { return folderNameEditor.getConnectionName(); } @@ -691,7 +692,7 @@ public class SystemSearchPage extends DialogPage implements ISearchPage { * Gets the folder name from the folder selection. * @return the folder name. */ - private String getFolderName() { + protected String getFolderName() { return folderNameEditor.getFolderPath(); } @@ -1229,7 +1230,7 @@ public class SystemSearchPage extends DialogPage implements ISearchPage { * Gets the remote file subsystem for the given profile name and connection name. * @return the remote file subsystem, or null if the profile or connection does not exist. */ - private IRemoteFileSubSystem getRemoteFileSubSystem(String profName, String connName) { + protected IRemoteFileSubSystem getRemoteFileSubSystem(String profName, String connName) { if (profName == null || connName == null) { return null;