public class ZOSEditableRemoteObject
extends java.lang.Object
Note: Currently only implements :
getSubSystem() for drag & drop support.
getRemoteObject() needed for link with editor suppot.
All other methods do nothing.
| Constructor and Description |
|---|
ZOSEditableRemoteObject(AbstractResource pRes)
Creates a new editable wrapper for the z/OS resource.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAsListener() |
int |
checkOpenInEditor() |
boolean |
doImmediateSaveAndUpload() |
boolean |
download(org.eclipse.core.runtime.IProgressMonitor pMonitor) |
boolean |
download(org.eclipse.swt.widgets.Shell pShell) |
boolean |
exists() |
java.lang.String |
getAbsolutePath() |
org.eclipse.ui.IEditorPart |
getEditorPart() |
org.eclipse.core.resources.IFile |
getLocalResource() |
org.eclipse.core.runtime.IAdaptable |
getRemoteObject() |
ISubSystem |
getSubSystem() |
boolean |
isDirty() |
boolean |
isReadOnly() |
boolean |
isStale() |
void |
open(boolean pReadOnly,
org.eclipse.core.runtime.IProgressMonitor pMonitor) |
void |
open(org.eclipse.core.runtime.IProgressMonitor pMonitor) |
void |
open(org.eclipse.swt.widgets.Shell pShell) |
void |
open(org.eclipse.swt.widgets.Shell pShell,
boolean pReadOnly) |
void |
openEditor() |
void |
setEditor(org.eclipse.ui.IEditorPart pEditorPart) |
void |
setLocalResourceProperties() |
void |
setReadOnly(boolean pIsReadOnly) |
void |
updateDirtyIndicator() |
public ZOSEditableRemoteObject(AbstractResource pRes)
pRes - the resourcepublic boolean isReadOnly()
public void setReadOnly(boolean pIsReadOnly)
public void setEditor(org.eclipse.ui.IEditorPart pEditorPart)
public boolean download(org.eclipse.swt.widgets.Shell pShell)
throws java.lang.Exception
java.lang.Exceptionpublic boolean download(org.eclipse.core.runtime.IProgressMonitor pMonitor)
throws java.lang.Exception
java.lang.Exceptionpublic boolean doImmediateSaveAndUpload()
public org.eclipse.core.resources.IFile getLocalResource()
public int checkOpenInEditor()
throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreExceptionpublic org.eclipse.ui.IEditorPart getEditorPart()
public org.eclipse.core.runtime.IAdaptable getRemoteObject()
public void open(org.eclipse.swt.widgets.Shell pShell)
public void open(org.eclipse.swt.widgets.Shell pShell,
boolean pReadOnly)
public void open(org.eclipse.core.runtime.IProgressMonitor pMonitor)
public void open(boolean pReadOnly,
org.eclipse.core.runtime.IProgressMonitor pMonitor)
public void setLocalResourceProperties()
throws java.lang.Exception
java.lang.Exceptionpublic void addAsListener()
public void openEditor()
throws org.eclipse.ui.PartInitException
org.eclipse.ui.PartInitExceptionpublic void updateDirtyIndicator()
public boolean isDirty()
public java.lang.String getAbsolutePath()
public ISubSystem getSubSystem()
public boolean exists()
public boolean isStale()
Copyright © 2015 Micro Focus GmbH. All rights reserved.