// U T I L I T I E S
protected boolean testConnection(final Controller controller, final ForceProject forceProject)
throws InvocationTargetException {
IProgressService service = PlatformUI.getWorkbench().getProgressService();
try {
service.run(false, false, new IRunnableWithProgress() {
public void run(IProgressMonitor monitor) throws InvocationTargetException {
monitor.beginTask("Validating connection", 2);
monitor.worked(1);
try {
ContainerDelegate.getInstance().getServiceLocator().getProjectService().getConnectionFactory().getConnection(forceProject);