@Test public void testRegisterClass() throws Exception { assertTrue( dialog.extendedClasses.isEmpty() ); dialog.registerClass( "MyClass", "org.pentaho.test.MyClass" ); assertFalse( dialog.extendedClasses.isEmpty() ); assertEquals( "org.pentaho.test.MyClass", dialog.extendedClasses.get( "MyClass" ) ); }
public void registerClass( String key, String className ) { extendedClasses.put( key, className ); }
DatabaseConnectionDialog { public void registerClass( String key, String className ) { extendedClasses.put( key, className ); } }
DatabaseConnectionDialog { public void registerClass( String key, String className ) { extendedClasses.put( key, className ); } DatabaseConnectionDialog(); }
DatabaseConnectionDialog { public void registerClass( String key, String className ) { extendedClasses.put( key, className ); } DatabaseConnectionDialog(); void registerClass( String key, String className ); XulDomContainer getSwtInstance( Shell shell ); XulDomContainer getSwtInstance( SwtXulLoader loader, Shell shell ); }
DatabaseConnectionDialog { public void registerClass( String key, String className ) { extendedClasses.put( key, className ); } DatabaseConnectionDialog(); void registerClass( String key, String className ); XulDomContainer getSwtInstance( Shell shell ); XulDomContainer getSwtInstance( SwtXulLoader loader, Shell shell ); static final String DIALOG_DEFINITION_FILE; }