public interface ITaurusEditUtilities
An instance can usually be acquired from an IHostConnector.
| Modifier and Type | Method and Description |
|---|---|
void |
openCompareEditor(FileDescriptor pFile1,
FileDescriptor pFile2,
boolean pLeftSideEdit,
IExecutionContext pContext1,
IExecutionContext pContext2,
org.eclipse.core.runtime.IProgressMonitor pMon)
Open the default compare editor for files corresponding to the giving
file descriptors.
|
void |
openCompareEditor(FileDescriptor pFile1,
FileDescriptor pFile2,
boolean pLeftSideEdit,
IExecutionContext pContext,
org.eclipse.core.runtime.IProgressMonitor pMon)
Open the default compare editor for files corresponding to the giving
file descriptors.
|
org.eclipse.core.resources.IFile |
openEditor(IExecutionContext pContext,
FileDescriptor pFD,
java.lang.String pSuffix,
ISystemImage pImg,
boolean pReadOnly,
int pLine,
org.eclipse.core.runtime.IProgressMonitor pMon)
Opens an editor for the given file descriptor.
|
org.eclipse.core.resources.IFile |
openEditor(IExecutionContext pContext,
FileDescriptor pFD,
java.lang.String pSuffix,
ISystemImage pImg,
boolean pReadOnly,
int pLine,
java.lang.String pEditorID,
org.eclipse.core.runtime.IProgressMonitor pMon)
Opens an editor for the given file descriptor.
|
org.eclipse.core.resources.IFile openEditor(IExecutionContext pContext, FileDescriptor pFD, java.lang.String pSuffix, ISystemImage pImg, boolean pReadOnly, int pLine, org.eclipse.core.runtime.IProgressMonitor pMon) throws TaurusCoreException
pContext - the execution contextpFD - the file descriptor for the file to openpSuffix - can be null if the file name contains a file
extension. If no file extension is given, TAURUS will try to
find a suffix via file mappings.pImg - The ISystemImage representing the remote connectionpReadOnly - if true the file is opened in read only moduspLine - the line number that should be selected after the editor is
opened (can be 0)pMon - progress monitorTaurusCoreException - if the file descriptor cannot be opened in the editororg.eclipse.core.resources.IFile openEditor(IExecutionContext pContext, FileDescriptor pFD, java.lang.String pSuffix, ISystemImage pImg, boolean pReadOnly, int pLine, java.lang.String pEditorID, org.eclipse.core.runtime.IProgressMonitor pMon) throws TaurusCoreException
pContext - the execution contextpFD - the file descriptor for the file to openpSuffix - can be null if the file name contains a file
extension. If no file extension is given, TAURUS will try to
find a suffix via file mappings.pImg - The ISystemImage representing the remote connectionpReadOnly - if true the file is opened in read only moduspLine - the line number that should be selected after the editor is
opened (can be 0)pEditorID - the ID of the editor to open.Can be nullpMon - progress monitorTaurusCoreException - if the file descriptor cannot be opened in the editorvoid openCompareEditor(FileDescriptor pFile1, FileDescriptor pFile2, boolean pLeftSideEdit, IExecutionContext pContext, org.eclipse.core.runtime.IProgressMonitor pMon) throws TaurusCoreException, TaurusToolException
pFile1 - the file descriptor of the file to be open in the left side of
the compare editorpFile2 - the file descriptor of the file to be open in the right side
of the compare editorpLeftSideEdit - whether the left side of the compare editor is editablepContext - the execution context to handle with both file descriptors.pMon - the progress monitorTaurusCoreException - if the file descriptor type is not supported. Supported type
are EFileTypes.MVSPO_MEMBER and
EFileTypes.MVSSEQTaurusToolException - cannot occur anymorevoid openCompareEditor(FileDescriptor pFile1, FileDescriptor pFile2, boolean pLeftSideEdit, IExecutionContext pContext1, IExecutionContext pContext2, org.eclipse.core.runtime.IProgressMonitor pMon) throws TaurusCoreException, TaurusToolException
pFile1 - the file descriptor of the file to be open in the left side of
the compare editorpFile2 - the file descriptor of the file to be open in the right side
of the compare editorpLeftSideEdit - whether the left side of the compare editor is editablepContext1 - the execution context to handle with the first file descriptorpContext2 - the execution context to handle with the second file
descriptorpMon - the progress monitorTaurusCoreException - if the file descriptor type is not supported. Supported type
are EFileTypes.MVSPO_MEMBER and
EFileTypes.MVSSEQTaurusToolException - cannot occur anymoreCopyright © 2015 Micro Focus GmbH. All rights reserved.