Classes | Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes

de.fraunhofer.isst.eastadl.functionmodeling.presentation.FunctionmodelingModelWizard Class Reference

List of all members.

Classes

class  FunctionmodelingModelWizardInitialObjectCreationPage
class  FunctionmodelingModelWizardNewFileCreationPage

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

FunctionmodelingFactory functionmodelingFactory = functionmodelingPackage.getFunctionmodelingFactory()
FunctionmodelingPackage functionmodelingPackage = FunctionmodelingPackage.eINSTANCE
FunctionmodelingModelWizardInitialObjectCreationPage initialObjectCreationPage
List< String > initialObjectNames
FunctionmodelingModelWizardNewFileCreationPage newFileCreationPage
IStructuredSelection selection
IWorkbench workbench

Detailed Description

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


Member Function Documentation

void de.fraunhofer.isst.eastadl.functionmodeling.presentation.FunctionmodelingModelWizard.addPages (  ) 

The framework calls this to create the contents of the wizard.

EObject de.fraunhofer.isst.eastadl.functionmodeling.presentation.FunctionmodelingModelWizard.createInitialModel (  )  [protected]

Create a new model.

Collection<String> de.fraunhofer.isst.eastadl.functionmodeling.presentation.FunctionmodelingModelWizard.getInitialObjectNames (  )  [protected]

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

IFile de.fraunhofer.isst.eastadl.functionmodeling.presentation.FunctionmodelingModelWizard.getModelFile (  ) 

Get the file from the page.

void de.fraunhofer.isst.eastadl.functionmodeling.presentation.FunctionmodelingModelWizard.init ( IWorkbench  workbench,
IStructuredSelection  selection 
)

This just records the information.

boolean de.fraunhofer.isst.eastadl.functionmodeling.presentation.FunctionmodelingModelWizard.performFinish (  ) 

Do the work after everything is specified.


Member Data Documentation

Initial value:
                Collections.unmodifiableList(Arrays.asList(EastEditorPlugin.INSTANCE.getString("_UI_FunctionmodelingEditorFilenameExtensions").split("\\s*,\\s*")))

The supported extensions for created files.

Initial value:
                EastEditorPlugin.INSTANCE.getString("_UI_FunctionmodelingEditorFilenameExtensions").replaceAll("\\s*,\\s*", ", ")

A formatted list of supported file extensions, suitable for display.

This caches an instance of the model factory.

This caches an instance of the model package.

This is the initial object creation page.

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

This is the file creation page.

Remember the selection during initialization for populating the default container.

Remember the workbench during initialization.