Date: Thu, 28 Mar 2024 12:18:22 +0100 (CET) Message-ID: <1524084959.238.1711624702243@nm-docs> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_237_1915554358.1711624702243" ------=_Part_237_1915554358.1711624702243 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Application-related options are referred as environment options.= If you are using MagicDraw, they are saved in the global.opt file= that is located in <user home directory>\AppData\Local\.magicdra= w\<version number>\data. The location for other modeling to= ols developed by No Magic Inc. is adequate.
You can add custom environment options for your modeling tool.
To add your own environment options
=09clas= s MyOptionsGroup extends AbstractPropertyOptionsGroup { ... } Application application =3D Application.getInstance();=20 EnvironmentOptions options =3D application.getEnvironmentOptions();=20 options.addGroup(new MyOptionsGroup());
=09Appl= ication application =3D Application.getInstance();=20 =09EnvironmentOptions options =3D application.getEnvironmentOptions();=20 =09int imageDpi =3D options.getGeneralOptions().getImageResolutionDpi();
You can find the code examples in