|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.carma.ui.local.CarmaRemoteEditEnabler
public class CarmaRemoteEditEnabler
Helper class for working with temporary CARMA member file contents. The class assists in locating/creating local files to download to/upload from as well as managing the local temporary file cache.
This Class is not intended to be sub-classed, but may be instantiated.
CarmaFileEditListener| Field Summary | |
|---|---|
static java.lang.String |
CARMA_EDIT_PROJECT_NAME
Temporary IFile project in the local workspace |
static java.lang.String |
COPYRIGHT
|
| Constructor Summary | |
|---|---|
CarmaRemoteEditEnabler(CARMAMember member)
Create a new remote edit helper for the given CARMA member. |
|
| Method Summary | |
|---|---|
org.eclipse.core.resources.IFile |
getIFile(org.eclipse.core.runtime.IProgressMonitor monitor,
boolean download)
Locates a temporary local IFile for the CARMA member provided in the constructor. |
CARMAMember |
getMember()
Return the CARMA member that this enabler is working with |
static CarmaRemoteEditEnabler |
getRemoteEditEnablerFor(org.eclipse.core.resources.IFile file)
Locates a CarmaRemoteEditEnabler helper for the given IFile if one exists. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String COPYRIGHT
public static final java.lang.String CARMA_EDIT_PROJECT_NAME
| Constructor Detail |
|---|
public CarmaRemoteEditEnabler(CARMAMember member)
member - the CARMA member that needs to be worked with remotely (as a temp localc file)| Method Detail |
|---|
public static CarmaRemoteEditEnabler getRemoteEditEnablerFor(org.eclipse.core.resources.IFile file)
file - the IFile that should be "remote edit" enabled
public CARMAMember getMember()
public org.eclipse.core.resources.IFile getIFile(org.eclipse.core.runtime.IProgressMonitor monitor,
boolean download)
throws org.eclipse.core.runtime.CoreException
monitor - monitor for the operation, needed for operations where download is requireddownload - true if the CARMA member contents should be refreshed from the host
org.eclipse.core.runtime.CoreException - The file contents could not be downloaded.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||