g-Eclipse
Release 1.0.0

eu.geclipse.workflow.ui.part
Class WorkflowDocumentProvider

java.lang.Object
  extended by AbstractDocumentProvider
      extended by 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
           
 
Constructor Summary
WorkflowDocumentProvider()
           
 
Method Summary
 IEditorInput createInputWithEditingDomain(IEditorInput editorInput, TransactionalEditingDomain domain)
           
 IDiagramDocument getDiagramDocument(java.lang.Object element)
           
 long getModificationStamp(java.lang.Object element)
           
 eu.geclipse.workflow.ui.part.WorkflowDocumentProvider.ResourceSetInfo getResourceSetInfo(java.lang.Object editorInput)
           
 boolean isDeleted(java.lang.Object element)
           
 boolean isModifiable(java.lang.Object element)
           
 boolean isReadOnly(java.lang.Object element)
           
 boolean isSynchronized(java.lang.Object element)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

WorkflowDocumentProvider

public WorkflowDocumentProvider()
Method Detail

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)

g-Eclipse
Release 1.0.0