//Select newly inserted part
selectPlaceEvent.fire( new SelectPlaceEvent( place ) );
}
@Override
public PerspectiveActivity getDefaultPerspectiveActivity() {
PerspectiveActivity defaultPerspective = null;
final Collection<IOCBeanDef<PerspectiveActivity>> perspectives = iocManager.lookupBeans( PerspectiveActivity.class );
final Iterator<IOCBeanDef<PerspectiveActivity>> perspectivesIterator = perspectives.iterator();
while ( perspectivesIterator.hasNext() ) {
final IOCBeanDef<PerspectiveActivity> perspective = perspectivesIterator.next();
final PerspectiveActivity instance = perspective.getInstance();
if ( instance.isDefault() ) {
defaultPerspective = instance;
break;
} else {
iocManager.destroyBean( instance );
}