Change-Id: Ia3d2c920984a2dc322a9a9765818835706f1bc6d
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
{
bool ret = false;
- return ret;
-}
+ if( object && (actionName == Toolkit::Control::ACTION_CONTROL_ACTIVATED) )
+ {
+ Toolkit::Control control = Toolkit::Control::DownCast( BaseHandle( object ) );
+ if( control )
+ {
+ // if cast succeeds there is an implementation so no need to check
+ control.GetImplementation().OnActivated();
+ }
+ }
-void Control::DoActivatedAction(const PropertyValueContainer& attributes)
-{
- OnActivated();
+ return ret;
}
void Control::DoStyleChange( Toolkit::StyleManager styleManager, StyleChange change )
private:
/**
- * @brief Perform the activated action.
- *
- * @param[in] attributes The attributes to perfrom this action.
- */
- void DoActivatedAction(const PropertyValueContainer& attributes);
-
- /**
* @brief This method is the callback for the StyleChangeSignal from StyleManager
*
* @param[in] styleManager The StyleManager Object