@Override
  protected void postPerformFinish() throws InvocationTargetException {
    super.postPerformFinish();

    IFile layoutTplFile = (IFile) getDataModel().getProperty(LAYOUT_TPL_FILE_CREATED);

    if (layoutTplFile != null && layoutTplFile.exists()) {
      openWebFile(layoutTplFile);
    }
  }
示例#2
0
  @SuppressWarnings("unchecked")
  @Override
  protected void postPerformFinish() throws InvocationTargetException {

    super.postPerformFinish();

    Set<IFile> jspFiles = (Set<IFile>) getDataModel().getProperty(CUSTOM_JSPS_FILES_CREATED);

    if (jspFiles != null && jspFiles.size() > 0) {
      openWebFile(jspFiles.iterator().next()); // just open the first one
    }

    Set<IFile> languagePropertiesFiles =
        (Set<IFile>) getDataModel().getProperty(LANGUAGE_PROPERTIES_FILES_CREATED);

    if (languagePropertiesFiles != null && languagePropertiesFiles.size() > 0) {
      openWebFile(languagePropertiesFiles.iterator().next()); // just
      // openthe
      // first one
    }
  }