QuickFrame frame = createFrame(selector);
frame.publish();
}
private EntityTreeSelector<Source> createSelector() {
Folder secret = new Folder("Secret", EntityType.Source);
secret.addItem(new Source("Deep Throat"));
project.insertEntityUnderRoot(secret);
Folder amusement = new Folder("Of Amusement", EntityType.Source);
amusement.addItem(new Source("Jerry's Apartment"));
project.insertEntityUnderRoot(amusement);
Source toSelect = new Source("www.jitterbit.com");
project.insertEntityUnderRoot(toSelect);
project.insertEntityUnderRoot(new Source("Incoming FTP on Linuxqa"));
final EntityTreeSelector<Source> selector = new EntityTreeSelector<Source>(project, EntityType.Source, Source.class);