Пример #1
0
 protected void pageChanged() {
   if (getMessage() != null) setMessage(null);
   if (fOptionsTab != null) {
     String path = fOptionsTab.getAntBuildFileName();
     String warningMessage = null;
     if (path != null
         && path.length() > 0
         && "build.xml".equals(new Path(path).lastSegment())) // $NON-NLS-1$
     warningMessage = PDEUIMessages.ExportOptionsTab_antReservedMessage;
     setMessage(warningMessage, IMessageProvider.WARNING);
   }
   String error =
       fExportPart.getSelectionCount() > 0 ? null : PDEUIMessages.ExportWizard_status_noselection;
   if (error == null) error = validateTabs();
   setErrorMessage(error);
   setPageComplete(error == null);
 }
Пример #2
0
 protected String getAntBuildFileName() {
   return fOptionsTab.getAntBuildFileName();
 }