eu.geclipse.workflow.ui.part
Class WorkflowDocumentProvider
java.lang.Object
AbstractDocumentProvider
eu.geclipse.workflow.ui.part.WorkflowDocumentProvider
public class WorkflowDocumentProvider
- extends AbstractDocumentProvider
|
Field Summary |
static int |
ERROR
|
static int |
OK
NOTE: The following four codes are hard-coded into this file from
org.eclipse.gmf.runtime.diagram.ui.resources.editor.internal.EditorStatusCodes
as the use of internal classes is discouraged and the GMF guys did not seem
to have a solution to this problem. |
static int |
RESOURCE_FAILURE
Status code indicating that an error occurred with a resource, such as
loading an image file. |
static int |
WARNING
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OK
public static final int OK
- NOTE: The following four codes are hard-coded into this file from
org.eclipse.gmf.runtime.diagram.ui.resources.editor.internal.EditorStatusCodes
as the use of internal classes is discouraged and the GMF guys did not seem
to have a solution to this problem.
- See Also:
- Constant Field Values
ERROR
public static final int ERROR
- See Also:
- Constant Field Values
RESOURCE_FAILURE
public static final int RESOURCE_FAILURE
- Status code indicating that an error occurred with a resource, such as
loading an image file.
Set to 5 to be consistent with CommonUIStatusCodes.
- See Also:
- Constant Field Values
WARNING
public static final int WARNING
- See Also:
- Constant Field Values
WorkflowDocumentProvider
public WorkflowDocumentProvider()
getModificationStamp
public long getModificationStamp(java.lang.Object element)
isDeleted
public boolean isDeleted(java.lang.Object element)
getResourceSetInfo
public eu.geclipse.workflow.ui.part.WorkflowDocumentProvider.ResourceSetInfo getResourceSetInfo(java.lang.Object editorInput)
isReadOnly
public boolean isReadOnly(java.lang.Object element)
isModifiable
public boolean isModifiable(java.lang.Object element)
isSynchronized
public boolean isSynchronized(java.lang.Object element)
createInputWithEditingDomain
public IEditorInput createInputWithEditingDomain(IEditorInput editorInput,
TransactionalEditingDomain domain)
getDiagramDocument
public IDiagramDocument getDiagramDocument(java.lang.Object element)