}
private void execute(final IWindow window) throws UnExpectedException {
try {
Injector injector = Guice.createInjector(Stage.PRODUCTION, new PhpExportModule());
ClassExport export = injector.getInstance(ClassExport.class);
if (ExportState.ES_SUCCESS == export.export(ProjectAccessorFactory.getProjectAccessor())) {
JOptionPane.showMessageDialog(window.getParent(), R.m("出力しました"), "", JOptionPane.INFORMATION_MESSAGE);
}
} catch (ProjectNotFoundException e) {
LOG.warn(e.getMessage());
String message = "Project is not opened.Please open the project or create new project.";