$search

org::best_of_robotics::model::datatypes::presentation::DatatypesModelWizard Class Reference

Inheritance diagram for org::best_of_robotics::model::datatypes::presentation::DatatypesModelWizard:
Inheritance graph
[legend]

List of all members.

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< StringFILE_EXTENSIONS
static final String FORMATTED_FILE_EXTENSIONS

Protected Member Functions

EObject createInitialModel ()
Collection< StringgetInitialObjectNames ()

Protected Attributes

DatatypesFactory datatypesFactory = datatypesPackage.getDatatypesFactory()
DatatypesPackage datatypesPackage = DatatypesPackage.eINSTANCE
DatatypesModelWizardInitialObjectCreationPage initialObjectCreationPage
List< StringinitialObjectNames
DatatypesModelWizardNewFileCreationPage newFileCreationPage
IStructuredSelection selection
IWorkbench workbench

Detailed Description

This is a simple wizard for creating a new model file.

Definition at line 73 of file DatatypesModelWizard.java.


Member Function Documentation

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.


Member Data Documentation

This caches an instance of the model factory.

Definition at line 106 of file DatatypesModelWizard.java.

This caches an instance of the model package.

Definition at line 98 of file DatatypesModelWizard.java.

Initial value:
                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.

Initial value:
                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.

This is the initial object creation page.

Definition at line 122 of file DatatypesModelWizard.java.

Caches the names of the types that can be created as the root object.

Definition at line 146 of file DatatypesModelWizard.java.

This is the file creation page.

Definition at line 114 of file DatatypesModelWizard.java.

Remember the selection during initialization for populating the default container.

Definition at line 130 of file DatatypesModelWizard.java.

Remember the workbench during initialization.

Definition at line 138 of file DatatypesModelWizard.java.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends


bride_plugin_source
Author(s): Alexander Bubeck
autogenerated on Tue Mar 5 11:39:51 2013