Beispiel #1
0
 /* (non-Javadoc)
  * @see org.eclipse.cdt.dsf.service.AbstractDsfService#initialize(org.eclipse.cdt.dsf.concurrent.RequestMonitor)
  */
 @Override
 public void initialize(final RequestMonitor rm) {
   super.initialize(
       new ImmediateRequestMonitor(rm) {
         @Override
         protected void handleSuccess() {
           doInitialize(rm);
         }
       });
 }
Beispiel #2
0
 /**
  * This method initializes this service.
  *
  * @param requestMonitor The request monitor indicating the operation is finished
  */
 @Override
 public void initialize(final RequestMonitor requestMonitor) {
   super.initialize(
       new RequestMonitor(ImmediateExecutor.getInstance(), requestMonitor) {
         @Override
         protected void handleSuccess() {
           doInitialize(requestMonitor);
         }
       });
 }
 @Override
 public void initialize(RequestMonitor rm) {
   super.initialize(
       new RequestMonitor(getExecutor(), rm) {
         @Override
         protected void handleSuccess() {
           register(new String[0], new Hashtable<String, String>());
           super.handleSuccess();
         }
       });
 }