260261262263264265266267268269270
case verilog: configuration = HdlSourceViewerConfiguration.createForVerilog( new VerilogEditor() ); break; default: case vhdl: configuration = HdlSourceViewerConfiguration.createForVhdl( new VhdlEditor() ); break; } viewer.configure(configuration); return viewer;