예제 #1
0
        public WorkFlow()
        {
            Views       = new ObservableCollection <WorkFlowView>();
            Variables   = new VariableCollection();
            Events      = new AsyncObservableCollection <WorkFlowEvent>();
            Id          = Guid.NewGuid().ToString();
            Name        = "New Workflow";
            Properties  = new CustomPropertyCollection();
            Description = "";
            Version     = "0.0.1";

            Properties.Add(new CustomProperty()
            {
                Name         = "Author",
                PropertyType = CustomPropertyType.String
            });
            Properties.Add(new CustomProperty()
            {
                Name         = "Forum",
                PropertyType = CustomPropertyType.String
            });
            Properties.Add(new CustomProperty()
            {
                Name         = "License url",
                PropertyType = CustomPropertyType.String
            });
        }
예제 #2
0
        public WorkFlow()
        {
            Views       = new ObservableCollection <WorkFlowView>();
            Variables   = new VariableCollection();
            Events      = new AsyncObservableCollection <WorkFlowEvent>();
            Id          = Guid.NewGuid().ToString();
            Name        = "New Workflow";
            Properties  = new CustomPropertyCollection();
            Description = "";
            Version     = "0.0.1";

            Properties.Add(new CustomProperty()
            {
                Name         = "Author",
                PropertyType = CustomPropertyType.String
            });
            Properties.Add(new CustomProperty()
            {
                Name         = "Forum",
                PropertyType = CustomPropertyType.String
            });
            Properties.Add(new CustomProperty()
            {
                Name         = "License url",
                PropertyType = CustomPropertyType.String
            });
            Properties.Add(new CustomProperty()
            {
                Name         = "BaseColorScheme",
                PropertyType = CustomPropertyType.ValueList,
                ValueList    = { "Light", "Dark" },
                Value        = "Light",
            });
            Properties.Add(new CustomProperty()
            {
                Name         = "ColorScheme",
                PropertyType = CustomPropertyType.ValueList,
                ValueList    = { "yellow", "amber", "deeporange", "lightblue", "teal", "cyan", "pink", "green", "deeppurple", "indigo", "lightgreen", "blue", "lime", "red", "orange", "purple", "bluegrey", "grey", "brown" },
                Value        = "blue",
            });
            Properties.Add(new CustomProperty()
            {
                Name         = "HideTileBar",
                PropertyType = CustomPropertyType.Bool
            });
            Properties.Add(new CustomProperty()
            {
                Name         = "FullScreen",
                PropertyType = CustomPropertyType.Bool
            });
            Properties.Add(new CustomProperty()
            {
                Name         = "CardBackground",
                PropertyType = CustomPropertyType.File
            });
        }
예제 #3
0
        public WorkFlow()
        {
            Views       = new ObservableCollection <WorkFlowView>();
            Variables   = new VariableCollection();
            Events      = new AsyncObservableCollection <WorkFlowEvent>();
            Id          = Guid.NewGuid().ToString();
            Name        = "New Workflow";
            Properties  = new CustomPropertyCollection();
            Description = "";
            Version     = "0.0.1";

            Properties.Add(new CustomProperty()
            {
                Name         = "Author",
                PropertyType = CustomPropertyType.String
            });
            Properties.Add(new CustomProperty()
            {
                Name         = "Forum",
                PropertyType = CustomPropertyType.String
            });
            Properties.Add(new CustomProperty()
            {
                Name         = "License url",
                PropertyType = CustomPropertyType.String
            });
            Properties.Add(new CustomProperty()
            {
                Name         = "BaseColorScheme",
                PropertyType = CustomPropertyType.ValueList,
                ValueList    = { "Light", "Dark" },
                Value        = "Light",
            });
            Properties.Add(new CustomProperty()
            {
                Name         = "ColorScheme",
                PropertyType = CustomPropertyType.ValueList,
                ValueList    = { "yellow", "amber", "deeporange", "lightblue", "teal", "cyan", "pink", "green", "deeppurple", "indigo", "lightgreen", "blue", "lime", "red", "orange", "purple", "bluegrey", "grey", "brown" },
                Value        = "blue",
            });
            Properties.Add(new CustomProperty()
            {
                Name         = "HideTileBar",
                PropertyType = CustomPropertyType.Bool
            });
            Properties.Add(new CustomProperty()
            {
                Name         = "FullScreen",
                PropertyType = CustomPropertyType.Bool
            });
            Properties.Add(new CustomProperty()
            {
                Name         = "CardBackground",
                PropertyType = CustomPropertyType.File
            });
            Properties.Add(new CustomProperty()
            {
                Name         = "PreviewSize",
                PropertyType = CustomPropertyType.Number,
                Value        = "1090",
                Description  = "With 0 will load the original image, \nany other number the image with will be resize befor preview, \nthis can improve drastically the loading speed \nbut with some action can create diferent preview that the exported image"
            });
            Properties.Add(new CustomProperty()
            {
                Name         = "HelpFile",
                PropertyType = CustomPropertyType.File,
                Description  = "Documentation file can be show via Worflow Action->ShowHelp",
                Value        = ""
            });
        }