Package org.eclipse.core.runtime

Examples of org.eclipse.core.runtime.SubProgressMonitor.done()


                        createTreeItemChild(childFields, element.getLabel(), true, 0, false, childFieldType);
                thisChild.setData(FQN, fieldPrefix + "." + element.getName());
                thisChild.setData("field", element);
            }
            crRoot.setData(LOADED, Boolean.TRUE);
            spm.done();
        } catch (Exception e) {
            Utils.openError(e, MESSAGE_COULD_NOT_FETCH_META_DATA, MESSAGE_SEE_DETAILS);
        }
    }
View Full Code Here


            monitor.subTask(String.format("Saving diagram to %s format", marshaller.getFormatName()));
            invokeExportMarshaller(marshaller, diagram, subMonitor);
          } finally {
            // enforce calling of done() if the client hasn't
            // done so itself
            subMonitor.done();
          }
        }
      }
    } finally {
      monitor.done();
View Full Code Here

          ((IReloadableBeansConfig) config).reload();
          config.getBeans();
          subMonitor.worked(1);
        }
      }
      subMonitor.done();
    }
  }

  /**
   * {@inheritDoc}
 
View Full Code Here

          throw new OperationCanceledException();
        }
      }
    }
    finally {
      subMonitor.done();
    }
  }

  private IValidationElementLifecycleManager initValidationElementCallback(IResource resource, int kind) {
    IValidationElementLifecycleManager callback = createValidationElementLifecycleManager();
View Full Code Here

            }
            subMonitor.worked(1);
          }
        }
        finally {
          subMonitor.done();
        }
        return true;
      }
      return false;
    }
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.