}
private void openFileInIDE(FileObject file) {
try {
DataObject newDo = DataObject.find(file);
final Node node = newDo.getNodeDelegate();
Action a = node.getPreferredAction();
if (a instanceof ContextAwareAction) {
a = ((ContextAwareAction) a).createContextAwareInstance(node.getLookup());
}
if (a != null) {
a.actionPerformed(new ActionEvent(node, ActionEvent.ACTION_PERFORMED, "")); // NOI18N
}
} catch (DataObjectNotFoundException ex) {