public interface UploadToServer
Modifier and Type | Method and Description |
---|---|
AbstractIOTask |
createUploadTask(ProgressMonitor monitor)
Creates a new
AbstractIOTask for uploading data. |
AbstractUploadDialog |
getUploadDialog()
Returns the upload dialog for this layer.
|
boolean |
isUploadable()
Determines if the layer is able to upload data and implements the
UploadToServer interface. |
boolean |
isUploadDiscouraged()
Determines if upload of data managed by this layer is discouraged.
|
void |
onPostUploadToServer()
Initializes the layer after a successful upload to the server.
|
boolean |
requiresUploadToServer()
Determines if the data managed by this layer needs to be uploaded to
the server because it contains modified data.
|
boolean isUploadable()
UploadToServer
interface. A layer that implements the
UploadToServer
interface must return true
.true
if the layer is able to upload data; false
, otherwiseboolean requiresUploadToServer()
true
if the data managed by this layer needs to be
uploaded to the server because it contains modified data;
false
, otherwiseboolean isUploadDiscouraged()
true
if upload is discouraged for this layer; false
, otherwisevoid onPostUploadToServer()
AbstractIOTask createUploadTask(ProgressMonitor monitor)
AbstractIOTask
for uploading data.monitor
- The progress monitorAbstractIOTask
for uploading data, or null
if not applicableAbstractUploadDialog getUploadDialog()
null
if not applicable