All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class FPMIApp extends VisionDesktop
See Also:
  • Field Details

  • Method Details

    • initContext

      protected VisionClientContext initContext(ClientContext context)
      Called from super's contsructor to initialize the vision client context field
      Specified by:
      initContext in class VisionDesktop
    • createApp

      public static FPMIApp createApp(ClientContext context, ProgressListener listener) throws Exception
      Throws:
      Exception
    • getSecondaryDesktops

      public SecondaryDesktops getSecondaryDesktops()
    • updateResources

      public void updateResources(List<? extends ChangeOperation> changes, ProgressListener listener) throws Exception
      Applies the resource changes. Should only be done when all windows are closed. For that reason we call in manually when we know that's true, instead of just making FPMIApp a project listener.
      Throws:
      Exception
    • startupDesigner

      public void startupDesigner(TimeZone gatewayTimeZone)
    • startup

      public void startup(ClientPanel clientPanel, WindowStateCollection windowState, String[] startupWindows, Map<String,org.python.core.PyObject> params)
      Starts up the FPMIApp. Should be called after the constructor if in run mode. This will run the startup jython script, and then open all startup windows, in that order.
    • shutdownAllowed

      public boolean shutdownAllowed()
      This function call's the applications shutdown allowed event handler, which can cancel the shutdown event, in which case this function will return false.
    • shutdown

      public void shutdown(boolean runScript)
      Shuts down this FHMIApp gracefully. This will run the jython shutdown script, stop the time script manager, stop the query manager, and close all windows
      Overrides:
      shutdown in class VisionDesktop
    • shutdownDesigner

      public void shutdownDesigner()
      Special version of shutdown for use in the designer. Doesn't run the shutdown script, doesn't stop the singleton query manager (it will have already been re-created by virtue of a new project being opened), and doesn't close windows.
    • setPaused

      public void setPaused(boolean paused)
    • getLocalizationManager

      public ClientLocalizationManager getLocalizationManager()
    • getTemplateManager

      public TemplateManager getTemplateManager()
    • toString

      public String toString()
      Overrides:
      toString in class Component
    • getInstance

      @Deprecated public static FPMIApp getInstance()
      Deprecated.
      Returns the most recently created FPMIApp instance
    • setInstance

      public static void setInstance(FPMIApp i)
      Sets the publicly accessible static FPMIApp instance
    • setThreadCount

      @Deprecated public void setThreadCount(int i)
      Deprecated.
    • setShowActiveThreads

      @Deprecated public void setShowActiveThreads(boolean b)
      Deprecated.
    • setUpdateThreadCount

      @Deprecated public void setUpdateThreadCount(int i)
      Deprecated.
    • setGateway

      @Deprecated public void setGateway(String x)
      Deprecated.
    • setDesignImagePath

      @Deprecated public void setDesignImagePath(String string)
      Deprecated.
    • setDeployParams

      @Deprecated public void setDeployParams(Map map)
      Deprecated.
    • getScriptConfig

      public ClientScriptConfig getScriptConfig()
    • setScriptConfig

      public void setScriptConfig(ClientScriptConfig newConfig, boolean install)
    • setUpdateBase

      public void setUpdateBase(int i)
    • setDefaultDSN

      @Deprecated public void setDefaultDSN(String string)
      Deprecated.
    • isTouchscreenMode

      public boolean isTouchscreenMode()
    • setTouchscreenMode

      public void setTouchscreenMode(boolean touchscreenMode)
    • getMenuFont

      public Font getMenuFont()
    • setMenuFont

      public void setMenuFont(Font menuFont)
    • isHideWindowsMenu

      public boolean isHideWindowsMenu()
    • setHideWindowsMenu

      public void setHideWindowsMenu(boolean hideWindowsMenu)
    • getLastActivity

      public long getLastActivity()
    • getDefaultTimeZone

      public String getDefaultTimeZone()
    • getOriginalTimeZone

      public TimeZone getOriginalTimeZone()
    • parseTimeZone

      public TimeZone parseTimeZone(String timeZoneId)
      Returns a valid TimeZone accounting for Gateway and Client Timezone specifiers.
    • setDefaultTimeZone

      public void setDefaultTimeZone(String timezoneId)
    • getDesktops

      public SecondaryDesktops getDesktops()
    • getProjectTags

      public ProjectTagManager getProjectTags()
    • setProjectTags

      public void setProjectTags(ProjectTagManager projectTags)
    • getPrintUtil

      public PrintUtilities getPrintUtil()
    • getDatasetUtil

      public ClientDatasetUtilities getDatasetUtil()
    • getFileUtil

      public FPMIFileUtilities getFileUtil()
    • getSecurityUtil

      public SecurityUtilities getSecurityUtil()
    • getLaunchContext

      public LaunchContext getLaunchContext()
    • getSystemUtil

      public ClientSystemUtilities getSystemUtil()
    • getClientPanel

      public ClientPanel getClientPanel()
    • showFPMIDiagnostics

      public void showFPMIDiagnostics()