anyLogistix anyLogistix
Expand
Font size

Managing Extensions

The Extensions Manager dialog box allows you to enable, disable, add and remove the default as well as user-defined extensions that can be used within the supply chain scenarios.

The selected extensions become available in the corresponding tables of any project's scenarios. (e.g. enable the XFactory extension here to later use it in the DCs and Factories table of any project's scenario).

All extensions are located in the C:\Users\USERNAME\.anyLogistix\Extensions folder. The new extensions can be added either to this folder or to any other preferred folder. In the latter case, you will have to manually specify the location of the required extension for anyLogistix to add it to the list of the available extensions.

To open the Extensions manager dialog box

  1. Choose Extensions > Manage... from the main menu.
    The Extensions manager dialog box will open.

To activate/deactivate the required extension

  1. Click the toggle button in the corresponding row.
  2. Click OK to close the dialog box.

To add a new extension to the extension manager

There are two alternative ways to add a custom extension:

  1. Place the required extension to the Extensions folder C:\Users\USERNAME\ .anyLogistix\Extensions). It will be automatically added to the Extensions manager.
    anyLogistix will instantly notify you about the new extension with a pop-up message. You may now:
    • Click OK to close the notification.
    • Click the Manage extensions... button to open the Extensions manager dialog box.
      The new extensions will be highlighted in green.

  2. Place the new extension in any preferred folder, then open the Extensions manager and click Add. In the opened file explorer navigate to the required extension and click Open to add it. This will copy the required extension to the Extension folder, and it will be added to the list of the available extensions in the Extension manager.

    The extension file that you are adding will rewrite the existing file with the same name stored in the Extensions folder.

To remove an extension

  1. Open file explorer and navigate to the default Extensions folder.
  2. Select the required .jar files and either remove them from the folder or delete them.
    anyLogistix will instantly notify you about the changes with a pop-up message. You may now:
    • Click OK to close the notification.
    • Click the Manage extensions... button to open the Extensions manager dialog box.
      The removed extensions will be highlighted in red.

The Extensions manager dialog box

The Extensions manager dialog box contains:

  • Extensions table:
    • # - shows the ordinal numbers, denoting the order of the table records.
    • Enabled - shows the current status of the extension, i.e., whether it will be available or not within a scenario.

      The newly added extension will be disabled by default if it contains the same Java class and package that is contained in any of the enabled extension of the list. Hover your mouse over the disable toggle button to see the tooltip.

    • Name - contains the extensions that can be enabled for further use. The extension name can be highlighted in three different colors:
      • Black - the default color. These are the extensions that have not been changed lately.
      • Green - highlights the new extensions that have just been added to the Extensions folder.
      • Blue - highlight the existing extension that have just been modified.
      • Red - highlights the extensions that have just been removed from the Extensions folder. Such extensions are typically placed at the bottom of the table, since they cannot be enabled for further use. If you restart anyLogistix, they will be removed from the table.
    • Type - the type of the extension (e.g. object, policy, statistics etc.).
    • Class - the Java class contained in the package.
    • Package - the Java package contained in the file.
    • File - the name of the file, containing this class with extensions.
  • Controls
    • Add - opens file explorer, allowing you to add the required extension from any folder.
    • OK - closes the dialog box.

How can we improve this article?