Examples of dispose()


Examples of com.codename1.ui.Dialog.dispose()

                wb.setPage(getDescription(name), "http://localhost");
                d.addComponent(BorderLayout.CENTER, wb);
                d.setDisposeWhenPointerOutOfBounds(true);
                Command backCommand = new Command("Back") {
          public void actionPerformed(ActionEvent evt) {
            d.dispose();
          }
                };
                d.addCommand(backCommand);
                d.setBackCommand(backCommand);
                d.show(1, 1, 1, 1);
View Full Code Here

Examples of com.confluenity.jaylen.forms.Splash.dispose()

    ((ClassPathXmlApplicationContext)this.springContext).setDisplayName(properties.getProperty("application.name"));
    ((ClassPathXmlApplicationContext)this.springContext).setBeanName("springContext");

    ((AbstractApplicationContext)this.springContext).registerShutdownHook();

    splash.dispose();
  }

  public static void main(String... args) throws IOException {
    Application application = new Application();
    Shell shell = application.springContext.getBean("mainShell", Shell.class);
View Full Code Here

Examples of com.day.image.Layer.dispose()

            log.warn("Unable to load image layer from " + rendition.getPath(), e);
        } catch (IOException e) {
            log.warn("Unable to load image layer from " + rendition.getPath(), e);
        } finally {
            if (layer != null) {
                layer.dispose();
                layer = null;
            }
        }

    }
View Full Code Here

Examples of com.dbxml.db.core.Database.dispose()

   }

   public void dispose() {
      Database db = Database.getInstance();
      if ( db != null )
         db.dispose();
   }
}
View Full Code Here

Examples of com.dci.intellij.dbn.connection.ConnectionHandler.dispose()

        }
        connectionBundle.setConnectionHandlers(newConnections);

        // dispose old list
        for (ConnectionHandler connectionHandler : oldConnections) {
            connectionHandler.dispose();
        }

        if (listChanged) {
            EventManager.notify(connectionBundle.getProject(), ConnectionBundleSettingsListener.TOPIC).settingsChanged();
        }
View Full Code Here

Examples of com.dci.intellij.dbn.execution.common.result.ui.ExecutionResultForm.dispose()

                    if (executionInput != null && !executionInput.isDisposed()) {
                        DBLanguageFile file = executionInput.getExecutablePsiElement().getFile();
                        DocumentUtil.refreshEditorAnnotations(file);
                    }
                }
                resultComponent.dispose();
            }
            if (getTabCount() == 0) {
                ExecutionManager.getInstance(project).hideExecutionConsole();
            }
View Full Code Here

Examples of com.dci.intellij.dbn.language.editor.ui.DBLanguageFileEditorToolbarForm.dispose()

        if (file.isInLocalFileSystem() && file.getFileType() instanceof DBLanguageFileType) {
            FileEditor editor = source.getSelectedEditor(file);
            if (editor != null) {
                DBLanguageFileEditorToolbarForm toolbarForm = editor.getUserData(DBLanguageFileEditorToolbarForm.USER_DATA_KEY);
                if (toolbarForm != null) {
                    toolbarForm.dispose();
                }
            }
        }

    }
View Full Code Here

Examples of com.dooapp.fxform.view.factory.DisposableNode.dispose()

    }

    private void unregisterController(ElementController elementController, Map<ElementController, DisposableNode> map) {
        DisposableNode node = map.get(elementController);
        if (node != null) {
            node.dispose();
        }
        map.remove(elementController);
    }

    protected abstract void removeControllers(List<ElementController> removed);
View Full Code Here

Examples of com.drighetto.wmicom4j.wmijtd.ISWbemServices.dispose()

      e.printStackTrace();
    } finally {
      System.out.println("<= End of samples");
      // Release object
      if (wbemServices != null) {
        wbemServices.dispose();
      }
    }

  }
View Full Code Here

Examples of com.gi.server.core.service.mapservice.MapServicePool.dispose()

    for (Iterator<Entry<String, MapService>> itr = mapServices.entrySet()
        .iterator(); itr.hasNext();) {
      Entry<String, MapService> entry = itr.next();
      MapService mapService = entry.getValue();
      MapServicePool mapServicePool = mapService.getMapServicePool();
      mapServicePool.dispose();
    }

    mapServices.clear();
  }
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.