Examples of IDiagramDocument


Examples of org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.IDiagramDocument

  /**
   * @generated
   */
  public boolean isDeleted(Object element) {
    IDiagramDocument document = getDiagramDocument(element);
    if (document != null) {
      Resource diagramResource = document.getDiagram().eResource();
      if (diagramResource != null) {
        IFile file = WorkspaceSynchronizer.getFile(diagramResource);
        return file == null || file.getLocation() == null
            || !file.getLocation().toFile().exists();
      }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.