});
}
if (flavor [i].equals(ModelerFlavors.COLORIZABLE))
{
final Colorizable col = (Colorizable) ie.getSafeTransferData(flavor [i]);
// 'Reset color' popup
if (col.getFillColor() != null && !col.getFillColor().equals(col.getDefaultFillColor()))
{
group.addMenuChild(new JaspiraAction(modeler, "modeler.edit.resetcolor")
{
public void actionPerformed(ActionEvent e)
{
modeler.startUndo("Reset Color");
// TODO Feature 6: Reset subordinate element color, too
col.setFillColor(col.getDefaultFillColor());
workspaceView.checkDamage();
modeler.endUndo();
}
});