Ejemplo n.º 1
0
        public EditorToolFactory CustomButton(Action<EditorCustomButtonToolBuilder> configurator)
        {
            var tool = new EditorCustomButtonTool();
            configurator(new EditorCustomButtonToolBuilder(tool));
            group.Tools.Add(tool);

            return this;
        }
Ejemplo n.º 2
0
        public EditorToolFactory CustomButton(Action <EditorCustomButtonToolBuilder> configurator)
        {
            var tool = new EditorCustomButtonTool();

            configurator(new EditorCustomButtonToolBuilder(tool));
            group.Tools.Add(tool);

            return(this);
        }
Ejemplo n.º 3
0
 public EditorCustomButtonToolBuilder(EditorCustomButtonTool tool)
 {
     this.tool = tool;
 }
Ejemplo n.º 4
0
 public EditorCustomButtonToolBuilder(EditorCustomButtonTool tool)
 {
     this.tool = tool;
 }