コード例 #1
0
 @Override
 public void addPages() {
   // Create a page, set the title, and the initial model file name.
   //
   newFileCreationPage =
       new MICOBSNewLibraryDescriptorWizardNewFileCreationPage("Whatever", selection);
   newFileCreationPage.setTitle(MICOBSPlugin.INSTANCE.getString("_UI_libdescModelWizard_label"));
   newFileCreationPage.setDescription(
       MICOBSPlugin.INSTANCE.getString("_UI_libdescModelWizard_description"));
   newFileCreationPage.setFileName(
       MICOBSPlugin.INSTANCE.getString("_UI_libdescEditorFilenameDefaultBase")
           + "."
           + FILE_EXTENSION);
   addPage(newFileCreationPage);
 }
コード例 #2
0
 /** Get the file from the page. */
 public IFile getModelFile() {
   return newFileCreationPage.getModelFile();
 }