IPath selectedPath = (IPath) selectedContainers[0];
IFolder selectedFolder = project.getParent().getFolder(selectedPath);
IPath projectRelativePath = selectedFolder.getProjectRelativePath();
EOGeneratorFormPage.this.getModel().setSubclassDestination(projectRelativePath.toPortableString());
}
subclassDestination.forceFocus();
}
});
Composite templatesSection = createSection(toolkit, parent, "Templates", "These paths specify the templates that will be used to generate files. If left blank, the defaults from the EOGenerator preference page will be used.", 1, 3);
GridLayout templatesSectionLayout = (GridLayout) templatesSection.getLayout();