1 11 12 package org.eclipse.ui.texteditor; 13 14 15 import org.eclipse.core.runtime.CoreException; 16 import org.eclipse.core.runtime.IStatus; 17 18 19 30 public interface IDocumentProviderExtension { 31 32 44 boolean isReadOnly(Object element); 45 46 57 boolean isModifiable(Object element); 58 59 69 void validateState(Object element, Object computationContext) throws CoreException; 70 71 77 boolean isStateValidated(Object element); 78 79 87 void updateStateCache(Object element) throws CoreException; 88 89 96 void setCanSaveDocument(Object element); 97 98 104 IStatus getStatus(Object element); 105 106 114 void synchronize(Object element) throws CoreException; 115 } 116 | Popular Tags |