}
return band;
}
protected void createFileRibbonMenu(JRibbon ribbon){
RibbonTask fileTask = new RibbonTask();
JRibbonBand fileBand;
if((fileBand = getFileBand()) != null) {
fileTask.addBand(fileBand);
}
JRibbonBand editBand;
if((editBand = getEditBand()) != null) {
fileTask.addBand(editBand);
}
JRibbonBand simulationBand;
if((simulationBand = getSimulationBand()) != null) {
fileTask.addBand(simulationBand);
}
JRibbonBand helpBand;
if((helpBand = getHelpBand()) != null) {
fileTask.addBand(helpBand);
}
ribbon.addTask(GlobalContext.getLocalizedMessage("pd.menu.file", "File"),
fileTask);
ribbon.add(new JSeparator(JSeparator.VERTICAL));