}
Object oComboBox = xControlContainer.getControl("StyleComboBox");
XComboBox xComboBox = (XComboBox) UnoRuntime.queryInterface(XComboBox.class, oComboBox);
if(getController().getDiagramType() == Controller.CYCLEDIAGRAM){
setImageColorOfControlDialog(10079487);
xComboBox.removeItems((short)1, (short)3);
String[] newStyles = { getDialogPropertyValue("Strings", "CycleStyleComboBox1"),
getDialogPropertyValue("Strings", "CycleStyleComboBox2"),
getDialogPropertyValue("Strings", "CycleStyleComboBox3")
};
xComboBox.addItems(newStyles, (short)1);
}
if(getController().getDiagramType() == Controller.PYRAMIDDIAGRAM){
setImageColorOfControlDialog(10079487);
xComboBox.removeItems((short)1, (short)3);
String[] newStyles = { getDialogPropertyValue("Strings", "PyramidStyleComboBox1"),
getDialogPropertyValue("Strings", "PyramidStyleComboBox2"),
getDialogPropertyValue("Strings", "PyramidStyleComboBox3")
};
xComboBox.addItems(newStyles, (short)1);
}
/*
*