public boolean deleteEntity() { boolean deleted = _preferences.deleteEntity( new ColorEntity( _preferences.getColorTypeEntity((EntityType) _elementSelected), (EntityType) _elementSelected, _preferences.getEntityHeight((EntityType) _elementSelected), _preferences.getEntityWidth((EntityType) _elementSelected))); if (deleted) notifyPreferencesChanged(); return deleted; }
public Color getPreferencesColorTypeEntity(EntityType entityType) { return _preferences.getColorTypeEntity(entityType); }