ErrorManager.getDefault().log(ErrorManager.WARNING,"Cannot find BytecodeView component. It will not be located properly in the window system.");
returngetDefault();
}
if(wininstanceofBytecodeViewTopComponent){
return(BytecodeViewTopComponent)win;
}
ErrorManager.getDefault().log(ErrorManager.WARNING,"There seem to be multiple components with the '"+PREFERRED_ID+"' ID. That is a potential source of errors and unexpected behavior.");
ErrorManager.getDefault().log(ErrorManager.WARNING,"Cannot find ControlFlow component. It will not be located properly in the window system.");
returngetDefault();
}
if(wininstanceofControlFlowTopComponent){
return(ControlFlowTopComponent)win;
}
ErrorManager.getDefault().log(ErrorManager.WARNING,"There seem to be multiple components with the '"+PREFERRED_ID+"' ID. That is a potential source of errors and unexpected behavior.");
ErrorManager.getDefault().log(ErrorManager.WARNING,"Cannot find Outline component. It will not be located properly in the window system.");
returngetDefault();
}
if(wininstanceofOutlineTopComponent){
return(OutlineTopComponent)win;
}
ErrorManager.getDefault().log(ErrorManager.WARNING,"There seem to be multiple components with the '"+PREFERRED_ID+"' ID. That is a potential source of errors and unexpected behavior.");