use of org.mybatis.generator.eclipse.ui.content.ConfigurationFileAdapter in project generator by mybatis.
the class RunGeneratorAction method selectionChanged.
public void selectionChanged(IAction action, ISelection selection) {
StructuredSelection ss = (StructuredSelection) selection;
ConfigurationFileAdapter adapter = (ConfigurationFileAdapter) ss.getFirstElement();
if (adapter != null) {
selectedFile = adapter.getBaseFile();
}
}
Aggregations