mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-09 18:56:02 +02:00
[187335] Remove Search from popup menu on Files. The search page is not prefilled with the parent folder path.
This commit is contained in:
parent
dd1475a718
commit
d74c44458a
1 changed files with 2 additions and 2 deletions
|
@ -877,14 +877,14 @@ public class SystemSearchPage extends DialogPage implements ISearchPage {
|
|||
boolean supportsArchiveManagement = remoteFile.getParentRemoteFileSubSystem().getParentRemoteFileSubSystemConfiguration().supportsArchiveManagement();
|
||||
|
||||
// if it's a file, but not an archive, get the file name, connection info, and parent folder name
|
||||
if (remoteFile.isFile() && (!remoteFile.isArchive() && !supportsArchiveManagement)) {
|
||||
if (remoteFile.isFile() && !remoteFile.isArchive()) {
|
||||
fileName = remoteFile.getName();
|
||||
IHost conn = remoteFile.getSystemConnection();
|
||||
profileName = conn.getSystemProfileName();
|
||||
connectionName = conn.getAliasName();
|
||||
folderName = remoteFile.getParentPath();
|
||||
}
|
||||
// otherwise if it's a folder or an arvhive, get the connection info and the name
|
||||
// otherwise if it's a folder or an archive, get the connection info and the name
|
||||
else if (remoteFile.isDirectory() || (remoteFile.isArchive() && supportsArchiveManagement)) {
|
||||
IHost conn = remoteFile.getSystemConnection();
|
||||
profileName = conn.getSystemProfileName();
|
||||
|
|
Loading…
Add table
Reference in a new issue