GithubHelp home page GithubHelp logo

Comments (1)

DebugST avatar DebugST commented on May 20, 2024

ReadOnlyModel 建议可以作为 STNode 属性,开启后只针对该节点, 外部的改成readOnly 作为全局统一的。

现在我想针对局部的节点是没有办法的,只能改造了

感谢你的一直使用。。最近也收集了一些之前用户提供的建议。。在开始构思3.0版本的一些东西
关于你的这个问题目前可以通过Editor的SelectedChanged来根据当前选择的节点来判断是否 readonly 。或者通过给STNode添加ReadOlny属性 并提供Changed这样的事件 然后属性编辑器的ReadOnly采用STNode的值

关于你这个问题我也想了一下。。如果把ReadOnly移动到STNode中的话 需要批量的时候 比如当前需要锁定所有节点的时候 需要循环每个节点去设置之,,也会变得繁琐。。到时候我思考一下是否需要改变处理方式

from stnodeeditor.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.