コード例 #1
0
  /* (non-Javadoc)
   * Initializes the editor part with a site and input.
   */
  public void init(IEditorSite site, IEditorInput input) {
    super.init(site, input);

    TomcatServer ts = (TomcatServer) server.getAdapter(TomcatServer.class);
    try {
      tomcatConfiguration = ts.getTomcatConfiguration();
    } catch (Exception e) {
      // ignore
    }
    addChangeListener();
    initialize();
  }