public override RmlElementEditor openEditor(Element element, GuiFrameworkUICallback uiCallback, int left, int top) { elementStyle = new TextElementStyle(element, true); elementStyle.Changed += elementStyle_Changed; appearanceEditor = new EditInterfaceEditor("Appearance", elementStyle.getEditInterface(), uiCallback); dataElementEditor = new DataElementEditor(element); EditInterface editInterface = dataElementEditor.EditInterface; editInterfaceEditor = new EditInterfaceEditor("Data Display Properties", editInterface, uiCallback); dataElementEditor.EditInterfaceEditor = editInterfaceEditor; RmlElementEditor editor = RmlElementEditor.openEditor(element, left, top, this); editor.addElementEditor(editInterfaceEditor); editor.addElementEditor(appearanceEditor); return(editor); }
public TargetEditableProperty(DataElementEditor dataElementEditor) { this.dataElementEditor = dataElementEditor; }