예제 #1
0
        public void Init(LinesEditor editor, MarkupLineRawRule rule)
        {
            Editor = editor;
            Rule   = rule;
            Refresh();

            SetSize();

            AddHeader();
            AddEdgeProperties();
            AddStyleTypeProperty();
            AddStyleProperties();
        }
예제 #2
0
        public void Init(LinesEditor editor, MarkupLineRawRule rule)
        {
            Editor = editor;
            Rule   = rule;

            SetSize();

            AddHeader();
            if (Editor.CanDivide)
            {
                AddFromProperty();
                AddToProperty();
            }
            AddStyleTypeProperty();
            AddStyleProperties();
        }
예제 #3
0
        public void Init(LinesEditor editor, MarkupLineRawRule rule)
        {
            Editor = editor;
            Rule   = rule;

            AddHeader();
            AddError();
            AddWarning();

            From = AddEdgeProperty(EdgePosition.Start, NodeMarkup.Localize.LineRule_From);
            To   = AddEdgeProperty(EdgePosition.End, NodeMarkup.Localize.LineRule_To);

            Refresh();

            AddStyleTypeProperty();
            AddStyleProperties();

            base.Init();
        }