private List < String > getImportComponents ( Component component ) { List < String > result = new ArrayList <> ( ) ; Map < String , Boolean > map = ComponentHelpers . findComponentDependenciesFor ( component ) ; for ( Map . Entry < String , Boolean > entry : map . entrySet ( ) ) { String s = applyLink ( entry . getKey ( ) , entry . getKey ( ) ) ; s += entry . getValue ( ) ? this . messages . get ( "optional" ) : this . messages . get ( "required" ) ; //$NON-NLS-1$ //$NON-NLS-2$ result . add ( s ) ; } return result ; }
Converts component dependencies to a human - readable text .