public class ExportJSONFormsHandler extends AbstractSchemaExportCommandHandler
Constructor and Description |
---|
ExportJSONFormsHandler() |
Modifier and Type | Method and Description |
---|---|
Object |
execute(org.eclipse.core.commands.ExecutionEvent event)
This implementation uses the
AbstractSchemaExportCommandHandler.getViews(ExecutionEvent)
and AbstractSchemaExportCommandHandler.openWizard(Collection, ExecutionEvent, Shell) methods to open an export wizard. |
protected GenerationController |
getGenerationController()
Returns the
GenerationController which shall be used to generate the files. |
protected GenerationExporter |
getGenerationExporter()
Returns the
GenerationExporter responsible for creating the files generated by the
GenerationController . |
protected Collection<VView> |
getViews(org.eclipse.core.commands.ExecutionEvent event)
Returns the views which shall be exported.
|
getLocationProposal, handleRuntimeException, openWizard
addHandlerListener, dispose, fireHandlerChanged, hasListeners, isEnabled, isHandled, removeHandlerListener, setBaseEnabled, setEnabled
public Object execute(org.eclipse.core.commands.ExecutionEvent event) throws org.eclipse.core.commands.ExecutionException
AbstractSchemaExportCommandHandler
AbstractSchemaExportCommandHandler.getViews(ExecutionEvent)
and AbstractSchemaExportCommandHandler.openWizard(Collection, ExecutionEvent, Shell)
methods to open an export wizard.execute
in interface org.eclipse.core.commands.IHandler
execute
in class AbstractSchemaExportCommandHandler
event
- org.eclipse.core.commands.ExecutionException
protected Collection<VView> getViews(org.eclipse.core.commands.ExecutionEvent event)
AbstractSchemaExportCommandHandler
getViews
in class AbstractSchemaExportCommandHandler
event
- The ExecutionEvent
which is given by the AbstractSchemaExportCommandHandler.execute(ExecutionEvent)
method.protected GenerationController getGenerationController()
AbstractSchemaExportCommandHandler
GenerationController
which shall be used to generate the files.getGenerationController
in class AbstractSchemaExportCommandHandler
GenerationController
which shall be used.protected GenerationExporter getGenerationExporter()
AbstractSchemaExportCommandHandler
GenerationExporter
responsible for creating the files generated by the
GenerationController
.getGenerationExporter
in class AbstractSchemaExportCommandHandler
GenerationExporter
which shall be used.Copyright © 2018. All rights reserved.