com.ibm.ftt.lpex.systemz.api
Interface ISystemzLpex
- All Superinterfaces:
- IAdaptable, IEditorPart, ISaveablePart, IWorkbenchPart
public interface ISystemzLpex
- extends IEditorPart
Interface to the editor responsible for displaying and editing System z
related artifacts. This interface provides a mechanism to retrieve the
underlying resource object (ILogicalResource,
IPhysicalResource,
IFile) corresponding to the
artifact that is opened in the edit session.
- See Also:
IEditorPart
COPY_RIGHT
static final String COPY_RIGHT
- See Also:
- Constant Field Values
getFileResource
IAdaptable getFileResource()
- Returns the resource object representing the artifact that is opened in
the edit session. The type of the object returned depends on how the file
is opened.
For example, in Developer for System z, this method returns an
IPhysicalResource
object for an MVS resource opened from the Remote Systems View. An
ILogicalResource
object would be returned for an artifact opened from a remote MVS
subproject in the z/OS Projects view, an
IFile object would be returned
for a file opened from a local project or from some other navigator view.
The complete set of object types that this method can return depends on the
editor extensions that has been contributed to the workbench.
- Returns:
- the appropriate resource objects (for example,
ILogicalResource,
IPhysicalResource,
IFile)
setPartName
void setPartName(String partName)
- Sets the name of this editor part. The name will be shown in the tab area.
- Parameters:
partName - the part name, as it should be displayed in tabs.