Ejemplo n.º 1
0
 private void put_action_into_group(
     Action action,
     IAction_group group
     )
 {
     group.add_action(action);
     action.action_group = group;
 }
Ejemplo n.º 2
0
        private IFigure_appearance create_simple_figure_appearance(
            IFigure figure,
            IAction_group start,
            IAction_group end
            )
        {
            IFigure_appearance appearance =
                new Figure_appearance(
                    figure, start, end
                    );

            figure.add_appearance(appearance);
            start.add_action(appearance.get_start());
            end.add_action(appearance.get_end());
            return(appearance);
        }