Class SimContainerEditor

java.lang.Object
net.simplace.client.sim.graphpanel.SimContainerEditor

public final class SimContainerEditor extends Object
Form dialogs of the graph panel for editing a field container of the solution graph (resource, transformer, variables, simulation component, output) and applying the entered values.
Author:
Andreas Enders
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    edit(net.simplace.sim.util.FWSimFieldContainer aContainer, boolean aEnabled)
    Shows a form dialog for editing the settings of a container (e.g.
    static void
    showFields(net.simplace.sim.util.FWSimFieldContainer aVertex)
    Shows the variables of a container to the user: for SimComponents the documentation page is created locally (see ComponentDocPage) or, if not available, the online documentation is opened in the browser (with a dialog listing the variables as fallback), for other containers a dialog with a table of the variables is shown.
    static void
    showSimVarLinks(net.simplace.sim.model.SimFieldLink aLink)
    Shows the variable links of an edge of the solution graph in an info dialog.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • edit

      public static void edit(net.simplace.sim.util.FWSimFieldContainer aContainer, boolean aEnabled)
      Shows a form dialog for editing the settings of a container (e.g. a resource adapter) and applies the entered values.
      Parameters:
      aContainer - the container to edit
      aEnabled - if false, the form is read-only
    • showFields

      public static void showFields(net.simplace.sim.util.FWSimFieldContainer aVertex)
      Shows the variables of a container to the user: for SimComponents the documentation page is created locally (see ComponentDocPage) or, if not available, the online documentation is opened in the browser (with a dialog listing the variables as fallback), for other containers a dialog with a table of the variables is shown.
      Parameters:
      aVertex - the container (e.g. a node of the graph panel)
    • showSimVarLinks

      public static void showSimVarLinks(net.simplace.sim.model.SimFieldLink aLink)
      Shows the variable links of an edge of the solution graph in an info dialog.
      Parameters:
      aLink - the edge