1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-18 22:45:23 +02:00

[340069] Change access modifier for SystemSearchPage methods to protected from private

This commit is contained in:
David McKnight 2011-03-15 17:58:31 +00:00
parent 616c990c24
commit c910e4ceb1

View file

@ -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 * All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0 * are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at * 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) - [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 * 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) * 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; 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. * 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. * @return the search data corresponding to the current state of the dialog.
*/ */
private RemoteSearchData getSearchData() { protected RemoteSearchData getSearchData() {
RemoteSearchData data = null; RemoteSearchData data = null;
String searchString = stringCombo.getText(); String searchString = stringCombo.getText();
@ -667,7 +668,7 @@ public class SystemSearchPage extends DialogPage implements ISearchPage {
* Gets the file names string. * Gets the file names string.
* @return the file names string. * @return the file names string.
*/ */
private String getFileNames() { protected String getFileNames() {
return fileNameEditor.getFileNamesText(); return fileNameEditor.getFileNamesText();
} }
@ -675,7 +676,7 @@ public class SystemSearchPage extends DialogPage implements ISearchPage {
* Gets the profile name from the folder selection. * Gets the profile name from the folder selection.
* @return the profile name. * @return the profile name.
*/ */
private String getProfileName() { protected String getProfileName() {
return folderNameEditor.getProfileName(); return folderNameEditor.getProfileName();
} }
@ -683,7 +684,7 @@ public class SystemSearchPage extends DialogPage implements ISearchPage {
* Gets the connection name from the folder selection. * Gets the connection name from the folder selection.
* @return the connection name. * @return the connection name.
*/ */
private String getConnectionName() { protected String getConnectionName() {
return folderNameEditor.getConnectionName(); return folderNameEditor.getConnectionName();
} }
@ -691,7 +692,7 @@ public class SystemSearchPage extends DialogPage implements ISearchPage {
* Gets the folder name from the folder selection. * Gets the folder name from the folder selection.
* @return the folder name. * @return the folder name.
*/ */
private String getFolderName() { protected String getFolderName() {
return folderNameEditor.getFolderPath(); 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. * Gets the remote file subsystem for the given profile name and connection name.
* @return the remote file subsystem, or <code>null</code> if the profile or connection does not exist. * @return the remote file subsystem, or <code>null</code> 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) { if (profName == null || connName == null) {
return null; return null;