Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 73895 Details for
Bug 196588
[Move] Move Dialog doesn't show Archives
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Archives are visible on connections that support archive management
patch.txt (text/plain), 2.47 KB, created by
Kevin Doyle
on 2007-07-16 16:10:31 EDT
(
hide
)
Description:
Archives are visible on connections that support archive management
Filename:
MIME Type:
Creator:
Kevin Doyle
Created:
2007-07-16 16:10:31 EDT
Size:
2.47 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.rse.files.ui >Index: src/org/eclipse/rse/internal/files/ui/actions/SystemCopyRemoteFileAction.java >=================================================================== >RCS file: /cvsroot/dsdp/org.eclipse.tm.rse/plugins/org.eclipse.rse.files.ui/src/org/eclipse/rse/internal/files/ui/actions/SystemCopyRemoteFileAction.java,v >retrieving revision 1.10 >diff -u -r1.10 SystemCopyRemoteFileAction.java >--- src/org/eclipse/rse/internal/files/ui/actions/SystemCopyRemoteFileAction.java 15 May 2007 23:53:54 -0000 1.10 >+++ src/org/eclipse/rse/internal/files/ui/actions/SystemCopyRemoteFileAction.java 16 Jul 2007 20:00:09 -0000 >@@ -15,6 +15,7 @@ > * Martin Oberhuber (Wind River) - [177523] Unify singleton getter methods > * Martin Oberhuber (Wind River) - [186128][refactoring] Move IProgressMonitor last in public base classes > * Martin Oberhuber (Wind River) - [186773] split ISystemRegistryUI from ISystemRegistry >+ * Kevin Doyle (IBM) - [196588] Move Dialog doesn't show Archives > ********************************************************************************/ > > package org.eclipse.rse.internal.files.ui.actions; >@@ -48,6 +49,7 @@ > import org.eclipse.rse.subsystems.files.core.util.ValidatorFileUniqueName; > import org.eclipse.rse.ui.ISystemMessages; > import org.eclipse.rse.ui.RSEUIPlugin; >+import org.eclipse.rse.ui.SystemActionViewerFilter; > import org.eclipse.rse.ui.SystemBasePlugin; > import org.eclipse.rse.ui.actions.SystemBaseAction; > import org.eclipse.rse.ui.actions.SystemBaseCopyAction; >@@ -347,6 +349,16 @@ > dlg.setSelectionValidator(this); > //RSEUIPlugin.logInfo("Calling getParentRemoteFile for '"+firstSelection.getAbsolutePath()+"'"); > firstSelectionParent = firstSelection.getParentRemoteFile(); >+ boolean supportsArchiveManagement = firstSelectionParent.getParentRemoteFileSubSystem().getParentRemoteFileSubSystemConfiguration().supportsArchiveManagement(); >+ if (supportsArchiveManagement) >+ { >+ // Set a new viewer filter >+ SystemActionViewerFilter _filter = new SystemActionViewerFilter(); >+ Class[] types = {IRemoteFile.class}; >+ _filter.addFilterCriterion(types, "isDirectory", "true"); //$NON-NLS-1$ //$NON-NLS-2$ >+ _filter.addFilterCriterion(types, "isArchive", "true"); //$NON-NLS-1$ //$NON-NLS-2$ >+ dlg.setCustomViewerFilter(_filter); >+ } > /* > if (firstSelectionParent != null) > RSEUIPlugin.logInfo("Result of getParentRemoteFile: '"+firstSelectionParent.getAbsolutePath()+"'");
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
mober.at+eclipse
:
iplog+
Actions:
View
|
Diff
Attachments on
bug 196588
: 73895