示例#1
0
  protected void createTabs(TabFolder folder, IDialogSettings settings) {
    createDestinationTab(folder);
    createOptionsTab(folder);

    fDestinationTab.initialize(settings);
    fOptionsTab.initialize(settings);
    if (fOptionsTab.useJARFormat()) {
      createJARSigningTab(folder);
      fJARSiginingTab.initialize(settings);
    }
  }
示例#2
0
 protected boolean doInstall() {
   return fDestinationTab.doInstall();
 }
示例#3
0
 protected String getDestination() {
   return fDestinationTab.getDestination();
 }
示例#4
0
 protected String getFileName() {
   return fDestinationTab.getFileName();
 }
示例#5
0
 protected boolean doExportToDirectory() {
   return fDestinationTab.doExportToDirectory();
 }
示例#6
0
 protected void saveSettings(IDialogSettings settings) {
   fDestinationTab.saveSettings(settings);
   fOptionsTab.saveSettings(settings);
   if (fJARSiginingTab != null) fJARSiginingTab.saveSettings(settings);
 }
示例#7
0
 protected String validateTabs() {
   String message = fDestinationTab.validate();
   if (message == null) message = fOptionsTab.validate();
   if (message == null && fTabFolder.getItemCount() > 2) message = fJARSiginingTab.validate();
   return message;
 }
示例#8
0
 protected void createDestinationTab(TabFolder folder) {
   fDestinationTab = new ExportDestinationTab(this);
   TabItem item = new TabItem(folder, SWT.NONE);
   item.setControl(fDestinationTab.createControl(folder));
   item.setText(PDEUIMessages.ExportWizard_destination);
 }