Exemplo n.º 1
0
        public Function(Wrappers.Function function, Actions actions) : base(false, 6)
        {
            d_actions  = actions;
            d_function = function;

            Build();
        }
Exemplo n.º 2
0
        public FunctionArgument(Wrappers.Function wrapped, string name, string defaultValue, bool isimplicit)
        {
            d_wrapped = wrapped;

            d_name         = name;
            d_defaultValue = defaultValue;
            d_implicit     = isimplicit;
        }
Exemplo n.º 3
0
        private void DoArgumentAdded(Wrappers.Function obj, Cdn.FunctionArgument arg)
        {
            Node node = new Node(arg);

            d_treeview.NodeStore.Remove(d_dummy);
            d_treeview.NodeStore.Add(node);
            d_treeview.NodeStore.Add(d_dummy);

            if (d_selectArgument)
            {
                d_treeview.Selection.UnselectAll();
                d_treeview.Selection.SelectPath(node.Path);

                d_treeview.SetCursor(node.Path, d_treeview.GetColumn(0), true);
            }
        }
 public ModifyFunctionArgumentDefaultValue(Wrappers.Function function, Cdn.FunctionArgument argument, string val) : base(function, argument)
 {
     d_prevVal = argument.Optional ? argument.DefaultValue.AsString : null;
     d_newVal  = val;
 }
Exemplo n.º 5
0
 public FunctionArgument(Wrappers.Function wrapped, Cdn.FunctionArgument argument) : this(wrapped, argument.Name, argument.Optional ? argument.DefaultValue.AsString : null, !argument.Explicit)
 {
     d_argument = argument;
 }
Exemplo n.º 6
0
 public ModifyFunctionArguments(Wrappers.Function function, Cdn.FunctionArgument[] arguments) : base(function)
 {
     d_prevArguments = function.Arguments;
     d_arguments     = arguments;
 }
Exemplo n.º 7
0
 public ModifyFunctionArgumentExplicit(Wrappers.Function function, Cdn.FunctionArgument argument, bool val) : base(function, argument)
 {
     d_prevVal = argument.Explicit;
     d_newVal  = val;
 }
Exemplo n.º 8
0
 public Function(Wrappers.Function function) : base(function != null ? function.Parent : null, function)
 {
     d_function = function;
 }
Exemplo n.º 9
0
 public RemoveFunctionArgument(Wrappers.Function function, string name, string defaultValue, bool isimplicit) : base(function, name, defaultValue, isimplicit)
 {
 }
Exemplo n.º 10
0
 public RemoveFunctionArgument(Wrappers.Function function, Cdn.FunctionArgument argument) : base(function, argument)
 {
 }
Exemplo n.º 11
0
 private void DoArgumentRemoved(Wrappers.Function obj, Cdn.FunctionArgument arg)
 {
     d_treeview.NodeStore.Remove(arg);
 }
Exemplo n.º 12
0
 private void DoArgumentsReordered(Wrappers.Function function)
 {
     Repopulate();
 }
Exemplo n.º 13
0
 public ModifyFunctionArgumentName(Wrappers.Function function, Cdn.FunctionArgument argument, string val) : base(function, argument)
 {
     d_prevVal = argument.Name;
     d_newVal  = val;
 }