|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.etools.systems.core.resources.SystemRemoteEditManager
This is a singleton class that manages the remote editing
Nested Class Summary | |
---|---|
class |
SystemRemoteEditManager.DeleteFileRunnable
|
Field Summary | |
---|---|
static String |
Copyright
|
static String |
REMOTE_EDIT_PROJECT_BUILDER_ID
|
static String |
REMOTE_EDIT_PROJECT_NAME
|
static String |
REMOTE_EDIT_PROJECT_NATURE_ID
|
Method Summary | |
---|---|
void |
addJavaSupport(IProject editProject)
|
protected int |
caculateCacheSize()
|
protected void |
cleanupCache()
|
boolean |
doesRemoteEditProjectExist()
Check if a remote edit project exists |
String |
getActualHostFor(String hostname,
String remotePath)
Return the hostname that corresponds to the resource specified on the host specified. |
static SystemRemoteEditManager |
getDefault()
Get the singleton instance |
ISystemEditableRemoteObject |
getEditableFor(IFile fileToDelete,
boolean quickCheck)
|
protected IFile |
getLeastRecentlyChangedFile(List deletedList)
|
String |
getMountPathFor(String hostname,
String remotePath)
Return the path to use on the system (i.e. |
ISystemMountPathMapper |
getMountPathMapperFor(String hostname,
String remotePath)
Return the appropriate registered mapper for a host & path |
IProject |
getRemoteEditProject()
Get the project that in which all folders and files are held temporarily for remote editing. |
String |
getRemoteEditProjectAbsolutePath()
Get the absolute path of the project used for remote editing |
IPath |
getRemoteEditProjectLocation()
Get the location of the project used for remote editing |
String |
getWorkspacePathFor(String hostname,
String remotePath)
Return the path to use relative to the hostname in the RemoteSystemsTempFiles project for saving a local replica |
boolean |
isFileInUse(IFile fileToDelete,
boolean quickCheck)
|
void |
refreshRemoteEditContainer(IContainer parent)
Refresh the remote edit project |
void |
refreshRemoteEditProject()
Refresh the remote edit project |
protected void |
registerMountPathMappers()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String Copyright
public static final String REMOTE_EDIT_PROJECT_NAME
public static final String REMOTE_EDIT_PROJECT_NATURE_ID
public static final String REMOTE_EDIT_PROJECT_BUILDER_ID
Method Detail |
public static SystemRemoteEditManager getDefault()
public String getActualHostFor(String hostname, String remotePath)
hostname
- the system on which a resource is obtained (may contain the file via a mount)remotePath
- the path on the host where the resource is obtained
public String getMountPathFor(String hostname, String remotePath)
hostname
- the remote hostremotePath
- the file path on the remote host
public String getWorkspacePathFor(String hostname, String remotePath)
hostname
- the originating remote hostremotePath
- the file path on the system (i.e. Windows)
public ISystemMountPathMapper getMountPathMapperFor(String hostname, String remotePath)
hostname
- remotePath
-
protected void registerMountPathMappers()
public boolean doesRemoteEditProjectExist()
public IProject getRemoteEditProject()
public void addJavaSupport(IProject editProject)
public IPath getRemoteEditProjectLocation()
public String getRemoteEditProjectAbsolutePath()
protected int caculateCacheSize()
protected IFile getLeastRecentlyChangedFile(List deletedList)
public ISystemEditableRemoteObject getEditableFor(IFile fileToDelete, boolean quickCheck)
public boolean isFileInUse(IFile fileToDelete, boolean quickCheck)
protected void cleanupCache()
public void refreshRemoteEditProject()
public void refreshRemoteEditContainer(IContainer parent)
|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |