Package org.eclipse.core.resources

Examples of org.eclipse.core.resources.IResourceDelta.findMember()


        IResourceDelta delta = event.getDelta();
        if (delta == null)
            return;
        IPath fullPath = myResource.getFullPath();
        delta = delta.findMember(fullPath);
        if (delta == null)
            return;

        if ((delta.getKind() & IResourceDelta.CHANGED) != 0 && (delta.getFlags() & IResourceDelta.MARKERS) != 0) {
            getEditorSite().getShell().getDisplay().asyncExec(new Runnable() {
View Full Code Here


        IResourceDelta delta = event.getDelta();
        if (delta == null)
            return;
        IPath fullPath = myResource.getFullPath();
        delta = delta.findMember(fullPath);
        if (delta == null)
            return;

        // Delegate to any interested pages
        for (Object page : pages) {
View Full Code Here

        IResourceDelta delta = event.getDelta();
        if (delta == null)
            return;

        IPath fullPath = myResource.getFullPath();
        delta = delta.findMember(fullPath);
        if (delta == null)
            return;

        if (delta.getKind() == IResourceDelta.REMOVED) {
            close(false);
View Full Code Here

        IResourceDelta delta = event.getDelta();
        if (delta == null)
            return;
        IPath fullPath = myResource.getFullPath();
        delta = delta.findMember(fullPath);
        if (delta == null)
            return;

        if ((delta.getKind() & IResourceDelta.CHANGED) != 0 && (delta.getFlags() & IResourceDelta.MARKERS) != 0) {
            getEditorSite().getShell().getDisplay().asyncExec(new Runnable() {
View Full Code Here

        IResourceDelta delta = event.getDelta();
        if (delta == null)
            return;
        IPath fullPath = myResource.getFullPath();
        delta = delta.findMember(fullPath);
        if (delta == null)
            return;

        // Delegate to any interested pages
        for (Object page : pages) {
View Full Code Here

    public void resourceChanged(IResourceChangeEvent event) {
        IFile file = getEditorFile();
        if (file != null) {
            IResourceDelta delta = event.getDelta();
            delta = delta.findMember(file.getFullPath());
            if (delta != null) {
                IFormPage page = (IFormPage) getManagedForm().getContainer();
                if (page.isActive())
                    refresh();
                else
View Full Code Here

        IResourceDelta delta = event.getDelta();
        if (delta == null)
            return;

        IPath path = resource.getFullPath();
        delta = delta.findMember(path);
        if (delta == null)
            return;

        if ((delta.getFlags() & IResourceDelta.MARKERS) != 0)
            SWTConcurrencyUtil.execForControl(getEditorSite().getShell(), true, new Runnable() {
View Full Code Here

        if (delta == null) {
            return;
        }

        IPath fullPath = myResource.getFullPath();
        delta = delta.findMember(fullPath);
        if (delta == null) {
            return;
        }

        if (delta.getKind() == IResourceDelta.REMOVED) {
View Full Code Here

  public void resourceChanged (IResourceChangeEvent e) {     
   
    IResourceDelta delta = e.getDelta();
   
    if (delta != null) {
      delta = delta.findMember(fFile.getFullPath());
    }

    if (delta != null) {       
      switch (delta.getKind()) {
        
View Full Code Here

      return null;

    // check for changes in targets.plist file
    IResourceDelta sourceDelta = getDelta(project);
    if (sourceDelta != null)
      targetFileDelta = sourceDelta.findMember(new Path(TargetBuilderNature.TARGETFILE));
    if (targetNature.targets() == null || targetNature.targets().size() == 0 || targetFileDelta != null)
      targetNature.synchronizeWithFile();

    List targets = targetNature.targets();
    if (targets == null)
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.