protected AbstractCreateMavenProjectsOperation createOperation ( ) { return new AbstractCreateMavenProjectsOperation ( ) { @ SuppressWarnings ( "synthetic-access" ) @ Override protected List < IProject > doCreateMavenProjects ( IProgressMonitor progressMonitor ) throws CoreException { final SubMonitor monitor = SubMonitor . convert ( progressMonitor , 101 ) ; try { final List < IMavenProjectImportResult > results = MavenImportUtils . runFixedImportJob ( true , getProjects ( ) , getImportConfiguration ( ) , new MavenProjectWorkspaceAssigner ( getWorkingSets ( ) ) , monitor . newChild ( 100 ) ) ; return toProjects ( results ) ; } finally { restorePom ( ) ; monitor . done ( ) ; } } } ; }
Create the operation for creating the projects .