FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Enabled some ES6 features by aasakawa · Pull Request #46 · ChangeVision/astah-script-plugin · GitHub

Enabled some ES6 features - #46

Open
aasakawa wants to merge 2 commits into
masterfrom
enable_some_es6_features
Open

Enabled some ES6 features#46
aasakawa wants to merge 2 commits into
masterfrom
enable_some_es6_features

Conversation

aasakawa commented Mar 29, 2024
edited
Loading

Copy link
Copy Markdown
Contributor

astah_script_plugin-2.1.3.zip

Astah SysML/SystemSafety 9.0 or later (Nashorn 15.4)

with (new JavaImporter(com.change_vision.jude.api.inf.model)) {
    const classes = astah.findElements(IClass.class);
    for (const class_ of classes) {
        print(`Found: "${class_.getName()}"\n`);
    }
}

Astah Professional/UML (JDK 8)

with (new JavaImporter(com.change_vision.jude.api.inf.model)) {
    const classes = astah.findElements(IClass.class);
    for (var i in classes) {
        print(classes[i].getName());
    }
}

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL