public interface IEditableContentExtension
IEditableContentinterface to support validate edit. Clients should only use this interface if they obtained the content from an
IStreamContentAccessor. If content was obtained through an
ISharedDocumentAdapterthen validation should be performed through the
|Modifier and Type||Method and Description|
Return whether the typed element being displayed is read-only. a read-only element will require a call to validateEdit before the element can be modified on disk.
If the element is read-only, this method should be called to attempt to make it writable.
shell- a shell used to prompt the user if required.
OKif things are fine, otherwise a status describing reasons why modifying the given files is not reasonable. A status with a severity of
CANCELis returned if the validation was canceled, indicating the edit should not proceed.
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.