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

Field Summary
static String COPY_RIGHT
           
 
Fields inherited from interface org.eclipse.ui.IEditorPart
PROP_DIRTY, PROP_INPUT
 
Fields inherited from interface org.eclipse.ui.IWorkbenchPart
PROP_TITLE
 
Method Summary
 IAdaptable getFileResource()
          Returns the resource object representing the artifact that is opened in the edit session.
 void setPartName(String partName)
          Sets the name of this editor part.
 
Methods inherited from interface org.eclipse.ui.IEditorPart
getEditorInput, getEditorSite, init
 
Methods inherited from interface org.eclipse.ui.IWorkbenchPart
addPropertyListener, createPartControl, dispose, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener, setFocus
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 
Methods inherited from interface org.eclipse.ui.ISaveablePart
doSave, doSaveAs, isDirty, isSaveAsAllowed, isSaveOnCloseNeeded
 

Field Detail

COPY_RIGHT

static final String COPY_RIGHT
See Also:
Constant Field Values
Method Detail

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.