Bug 38155 Create dialog for Add Unimplemented Constructors action
Create a dialog so that the add unimplemented constructors action behaves more like the rest of the source/action dialogs.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddUnimplementedConstructorsAction.java
} else if (editor != null) {
				EditorUtility.revealInEditor(editor, res[0]);
			}
		} catch (InvocationTargetException e) {
			ExceptionHandler.handle(e, shell, getDialogTitle(), null);
		} catch (InterruptedException e) {
			
		} finally {
			if (target != null) {
				target.endCompoundChange();
			}
		}
	}
		
	private IType getSelectedType(IStructuredSelection selection) throws JavaModelException {
		Object[] elements= selection.toArray();
		if (elements.length == 1 && (elements[0] instanceof IType)) {
			IType type= (IType) elements[0];
			if (type.getCompilationUnit() != null && type.isClass()) {
				return type;
			}
		}
		return null;
	}	
	
	private String getDialogTitle() {
		return ActionMessages.getString("AddUnimplementedConstructorsAction.error.title"); 
	}	
}