$search
Classes | |
class | DatatypesModelWizardInitialObjectCreationPage |
class | DatatypesModelWizardNewFileCreationPage |
Public Member Functions | |
void | addPages () |
IFile | getModelFile () |
void | init (IWorkbench workbench, IStructuredSelection selection) |
boolean | performFinish () |
Static Public Attributes | |
static final List< String > | FILE_EXTENSIONS |
static final String | FORMATTED_FILE_EXTENSIONS |
Protected Member Functions | |
EObject | createInitialModel () |
Collection< String > | getInitialObjectNames () |
Protected Attributes | |
DatatypesFactory | datatypesFactory = datatypesPackage.getDatatypesFactory() |
DatatypesPackage | datatypesPackage = DatatypesPackage.eINSTANCE |
DatatypesModelWizardInitialObjectCreationPage | initialObjectCreationPage |
List< String > | initialObjectNames |
DatatypesModelWizardNewFileCreationPage | newFileCreationPage |
IStructuredSelection | selection |
IWorkbench | workbench |
This is a simple wizard for creating a new model file.
Definition at line 73 of file DatatypesModelWizard.java.
void org::best_of_robotics::model::datatypes::presentation::DatatypesModelWizard::addPages | ( | ) | [inline] |
The framework calls this to create the contents of the wizard.
Definition at line 567 of file DatatypesModelWizard.java.
EObject org::best_of_robotics::model::datatypes::presentation::DatatypesModelWizard::createInitialModel | ( | ) | [inline, protected] |
Create a new model.
Modified in order to add all the simple types NOT
Definition at line 193 of file DatatypesModelWizard.java.
Collection<String> org::best_of_robotics::model::datatypes::presentation::DatatypesModelWizard::getInitialObjectNames | ( | ) | [inline, protected] |
Returns the names of the types that can be created as the root object.
Modified in order to ensure that the selected type is TypesLibrary NOT
Definition at line 168 of file DatatypesModelWizard.java.
IFile org::best_of_robotics::model::datatypes::presentation::DatatypesModelWizard::getModelFile | ( | ) | [inline] |
Get the file from the page.
Definition at line 621 of file DatatypesModelWizard.java.
void org::best_of_robotics::model::datatypes::presentation::DatatypesModelWizard::init | ( | IWorkbench | workbench, | |
IStructuredSelection | selection | |||
) | [inline] |
This just records the information.
Definition at line 154 of file DatatypesModelWizard.java.
boolean org::best_of_robotics::model::datatypes::presentation::DatatypesModelWizard::performFinish | ( | ) | [inline] |
Do the work after everything is specified.
Definition at line 221 of file DatatypesModelWizard.java.
DatatypesFactory org::best_of_robotics::model::datatypes::presentation::DatatypesModelWizard::datatypesFactory = datatypesPackage.getDatatypesFactory() [protected] |
This caches an instance of the model factory.
Definition at line 106 of file DatatypesModelWizard.java.
DatatypesPackage org::best_of_robotics::model::datatypes::presentation::DatatypesModelWizard::datatypesPackage = DatatypesPackage.eINSTANCE [protected] |
This caches an instance of the model package.
Definition at line 98 of file DatatypesModelWizard.java.
final List<String> org::best_of_robotics::model::datatypes::presentation::DatatypesModelWizard::FILE_EXTENSIONS [static] |
Collections.unmodifiableList(Arrays.asList(DataTypesEditorPlugin.INSTANCE.getString("_UI_DatatypesEditorFilenameExtensions").split("\\s*,\\s*")))
The supported extensions for created files.
Definition at line 80 of file DatatypesModelWizard.java.
final String org::best_of_robotics::model::datatypes::presentation::DatatypesModelWizard::FORMATTED_FILE_EXTENSIONS [static] |
DataTypesEditorPlugin.INSTANCE.getString("_UI_DatatypesEditorFilenameExtensions").replaceAll("\\s*,\\s*", ", ")
A formatted list of supported file extensions, suitable for display.
Definition at line 89 of file DatatypesModelWizard.java.
DatatypesModelWizardInitialObjectCreationPage org::best_of_robotics::model::datatypes::presentation::DatatypesModelWizard::initialObjectCreationPage [protected] |
This is the initial object creation page.
Definition at line 122 of file DatatypesModelWizard.java.
List<String> org::best_of_robotics::model::datatypes::presentation::DatatypesModelWizard::initialObjectNames [protected] |
Caches the names of the types that can be created as the root object.
Definition at line 146 of file DatatypesModelWizard.java.
DatatypesModelWizardNewFileCreationPage org::best_of_robotics::model::datatypes::presentation::DatatypesModelWizard::newFileCreationPage [protected] |
This is the file creation page.
Definition at line 114 of file DatatypesModelWizard.java.
IStructuredSelection org::best_of_robotics::model::datatypes::presentation::DatatypesModelWizard::selection [protected] |
Remember the selection during initialization for populating the default container.
Definition at line 130 of file DatatypesModelWizard.java.
IWorkbench org::best_of_robotics::model::datatypes::presentation::DatatypesModelWizard::workbench [protected] |
Remember the workbench during initialization.
Definition at line 138 of file DatatypesModelWizard.java.