protected void generateMetadata ( IXmlStyleAppendable it ) { it . appendTagWithValue ( "property" , //$NON-NLS-1$ Strings . concat ( ";" , getMimeTypes ( ) ) , //$NON-NLS-1$ "name" , "mimetypes" ) ; //$NON-NLS-1$ //$NON-NLS-2$ final StringBuilder buffer = new StringBuilder ( ) ; for ( final String fileExtension : getLanguage ( ) . getFileExtensions ( ) ) { if ( buffer . length ( ) > 0 ) { buffer . append ( ";" ) ; //$NON-NLS-1$ } buffer . append ( "*." ) . append ( fileExtension ) ; //$NON-NLS-1$ } it . appendTagWithValue ( "property" , //$NON-NLS-1$ buffer . toString ( ) , "name" , "globs" ) ; //$NON-NLS-1$ //$NON-NLS-2$ it . appendTagWithValue ( "property" , //$NON-NLS-1$ "//" , //$NON-NLS-1$ "name" , "line-comment-start" ) ; //$NON-NLS-1$ //$NON-NLS-2$ it . appendTagWithValue ( "property" , //$NON-NLS-1$ "/*" , //$NON-NLS-1$ "name" , "block-comment-start" ) ; //$NON-NLS-1$ //$NON-NLS-2$ it . appendTagWithValue ( "property" , //$NON-NLS-1$ "*/" , //$NON-NLS-1$ "name" , "block-comment-end" ) ; //$NON-NLS-1$ //$NON-NLS-2$ }
Generate the metadata section .