示例#1
0
        private EditorToolFactory ColorPicker(string identifier, Action <EditorColorPickerToolBuilder> configurator)
        {
            var tool = new EditorColorPickerTool(identifier);

            configurator(new EditorColorPickerToolBuilder(tool));

            group.Tools.Add(tool);

            return(this);
        }
示例#2
0
 public EditorColorPickerToolBuilder(EditorColorPickerTool tool)
 {
     this.tool = tool;
 }
示例#3
0
 public EditorColorPickerToolBuilder(EditorColorPickerTool tool)
 {
     this.tool = tool;
 }
示例#4
0
        private EditorToolFactory ColorPicker(string identifier, Action<EditorColorPickerToolBuilder> configurator)
        {
            var tool = new EditorColorPickerTool(identifier);

            configurator(new EditorColorPickerToolBuilder(tool));

            group.Tools.Add(tool);

            return this;
        }