throw new RuntimeException( invalidPath.format( pathString ) );
}
}
ISapphirePart ancestor = parent();
SapphirePart highestUninitializedAncestor = null;
while( ancestor instanceof SapphirePart && ! ( (SapphirePart) ancestor ).initialized() )
{
highestUninitializedAncestor = (SapphirePart) ancestor;
ancestor = ancestor.parent();
}
if( highestUninitializedAncestor == null )
{
initListSelectionServiceListener();
}
else
{
highestUninitializedAncestor.attach
(
new FilteredListener<PartInitializationEvent>()
{
@Override
protected void handleTypedEvent( final PartInitializationEvent event )