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

de.fraunhofer.isst.axbench.eastadlinterface.wizards.AxlToEastWizard Class Reference

List of all members.

Classes

class  ElementsModelWizardNewFileCreationPage

Public Member Functions

void addPages ()
IFile getModelFile ()
void init (IWorkbench workbench, IStructuredSelection selection)
boolean performFinish ()
Model readInAXBenchModelFromFile (IFile searchedfile)
 reads in an aXBench model from the file and check it.

Static Public Attributes

static final List< String > FILE_EXTENSIONS = Collections.unmodifiableList(Arrays.asList(EastEditorPlugin.INSTANCE.getString("_UI_ElementsEditorFilenameExtensions").split("\\s*,\\s*")))
static final String FORMATTED_FILE_EXTENSIONS = EastEditorPlugin.INSTANCE.getString("_UI_ElementsEditorFilenameExtensions").replaceAll("\\s*,\\s*", ", ")

Protected Attributes

ElementsModelWizardNewFileCreationPage newFileCreationPage = null
SelectAxlFilePage selectfilepage = null
IStructuredSelection selection
IWorkbench workbench

Private Member Functions

EObject createInitialModel (IFile axlModelFile)
EAXML findEAXML (ResourceSet resourceSet)

Member Function Documentation

void de.fraunhofer.isst.axbench.eastadlinterface.wizards.AxlToEastWizard.addPages (  ) 
EObject de.fraunhofer.isst.axbench.eastadlinterface.wizards.AxlToEastWizard.createInitialModel ( IFile  axlModelFile  )  [private]
EAXML de.fraunhofer.isst.axbench.eastadlinterface.wizards.AxlToEastWizard.findEAXML ( ResourceSet  resourceSet  )  [private]

find a EAXML object in a resource set.

  • handling all sorts of unexpected cases.
    Parameters:
    resourceSet the ResourceSet to scan
    Returns:
    the (one and only allowed) EAXML
IFile de.fraunhofer.isst.axbench.eastadlinterface.wizards.AxlToEastWizard.getModelFile (  ) 

Get the file from the page.

void de.fraunhofer.isst.axbench.eastadlinterface.wizards.AxlToEastWizard.init ( IWorkbench  workbench,
IStructuredSelection  selection 
)
boolean de.fraunhofer.isst.axbench.eastadlinterface.wizards.AxlToEastWizard.performFinish (  ) 

generated method from de.fraunhofer.isst.eastadl.editor.elements.presentation.ElementsModelWizard
from Project de.fraunhofer.isst.eastadl.editor
of EMF Model de.fraunhofer.isst.eastadl/model/east.genmodel
from Project de.fraunhofer.isst.eastadl

Model de.fraunhofer.isst.axbench.eastadlinterface.wizards.AxlToEastWizard.readInAXBenchModelFromFile ( IFile  searchedfile  ) 

reads in an aXBench model from the file and check it.

Parameters:
searchedfile 
Returns:
aXBench model - without errors or null

Member Data Documentation

final List<String> de.fraunhofer.isst.axbench.eastadlinterface.wizards.AxlToEastWizard.FILE_EXTENSIONS = Collections.unmodifiableList(Arrays.asList(EastEditorPlugin.INSTANCE.getString("_UI_ElementsEditorFilenameExtensions").split("\\s*,\\s*"))) [static]
final String de.fraunhofer.isst.axbench.eastadlinterface.wizards.AxlToEastWizard.FORMATTED_FILE_EXTENSIONS = EastEditorPlugin.INSTANCE.getString("_UI_ElementsEditorFilenameExtensions").replaceAll("\\s*,\\s*", ", ") [static]