Examples of releaseFromRead()


Examples of org.eclipse.php.internal.core.documentModel.DOMModelForPHP.releaseFromRead()

          fLastProject = project;
          verifyListening();
        }
      } finally {
        if (editorModel != null)
          editorModel.releaseFromRead();
      }
    }

    if (fLastDocument != document || preferencesChanged) {
      String useTab = preferencesSupport.getPreferencesValue(
View Full Code Here

Examples of org.eclipse.wst.css.core.internal.provisional.document.ICSSModel.releaseFromRead()

            adapter.modelRemoved(oldModel);
        }
      }
      finally {
        if (oldModel != null)
          oldModel.releaseFromRead();
      }
      this.replaceModel = false;
    }
    return model;
  }
View Full Code Here

Examples of org.eclipse.wst.css.core.internal.provisional.document.ICSSModel.releaseFromRead()

        if (adapter != null)
          adapter.modelReleased(model);
      }
      finally {
        model.releaseFromRead();
      }
    }
    this.replaceModel = false;
  }
View Full Code Here

Examples of org.eclipse.wst.css.core.internal.provisional.document.ICSSModel.releaseFromRead()

        IModelProvideAdapter adapter = (IModelProvideAdapter) ((INodeNotifier) getElement()).getAdapterFor(IModelProvideAdapter.class);
        if (adapter != null)
          adapter.modelRemoved(model);
      }
      finally {
        model.releaseFromRead();
      }
    }
    this.replaceModel = false;
  }
View Full Code Here

Examples of org.eclipse.wst.css.core.internal.provisional.document.ICSSModel.releaseFromRead()

    if (adapter != null)
      adapter.modelReleased(currentModel);

    if (currentModel != null)
      currentModel.releaseFromRead();
  }

  /**
   */
  public void removed() {
View Full Code Here

Examples of org.eclipse.wst.css.core.internal.provisional.document.ICSSModel.releaseFromRead()

    IModelProvideAdapter adapter = (IModelProvideAdapter) ((INodeNotifier) getElement()).getAdapterFor(IModelProvideAdapter.class);
    if (adapter != null)
      adapter.modelRemoved(currentModel);

    if (currentModel != null)
      currentModel.releaseFromRead();
  }

  /**
   * @param srcModel com.ibm.sed.css.model.interfaces.ICSSModel
   * @param removed com.ibm.sed.css.model.interfaces.ICSSSelector[]
View Full Code Here

Examples of org.eclipse.wst.sse.core.internal.provisional.IStructuredModel.releaseFromRead()

              .getFile(new Path(location));
        }
      }
    } finally {
      if (structuredModel != null) {
        structuredModel.releaseFromRead();
      }
    }
    return file;
  }
 
View Full Code Here

Examples of org.eclipse.wst.sse.core.internal.provisional.IStructuredModel.releaseFromRead()

      xmlModel = StructuredModelManager.getModelManager().getExistingModelForRead(getDocument());
      mq = ModelQueryUtil.getModelQuery(xmlModel);
    }
    finally {
      if (xmlModel != null) {
        xmlModel.releaseFromRead();
      }
    }
    return mq;
  }
View Full Code Here

Examples of org.eclipse.wst.sse.core.internal.provisional.IStructuredModel.releaseFromRead()

        xmlNode = (IDOMNode) xmlModel.getIndexedRegion(offset);
      }
    }
    finally {
      if (xmlModel != null)
        xmlModel.releaseFromRead();
    }
    return xmlNode;
  }
}
View Full Code Here

Examples of org.eclipse.wst.sse.core.internal.provisional.IStructuredModel.releaseFromRead()

    }

    if (model instanceof IDOMModel)
      return (IDOMModel) model;
    if (model != null)
      model.releaseFromRead();
    return null;
  }

  /**
   * @deprecated use computeStartEndLocation(int startOffset, String
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.