public void disposing(EventObject arg0) { }
public void setNextColorOnControlDialog(){
if(getController().getDiagram().isBaseColorsMode() || getController().getDiagram().isBaseColorsWithGradientMode()){
if(getController().getGroupType() == Controller.RELATIONGROUP){
RelationDiagram diagram = ((RelationDiagram)getController().getDiagram());
diagram.setColorProp(diagram.getNextColor());
}
if(getController().getGroupType() == Controller.PROCESSGROUP){
ProcessDiagram process = ((ProcessDiagram)getController().getDiagram());
process.setColorProp(process.getNextColor());
}