Class CapeCodeApplication


  • public class CapeCodeApplication
    extends MenuApplication
    Wrapper class to start up CapeCode, the subset that has the convenient feature that it automatically imports all the accessors at https://accessors.org and makes them available in an actor library to drag and drop into models. This wrapper class that calls eventually calls ptolemy.vergil.VergilApplication for use with Java Network Launching Protocol (JNLP) aka Web Start.

    This class is very similar to other classes that invoke Vergil applications under Web Start because each application needs to have its own jar file.

    In Web Start 1.0.1, it is necessary to sign the application if it is to have access to the local disk etc. The way that this is handled is that the .jnlp file that defines the application is copied to the .jar file that defines the main() method for the application and the .jar file is signed. Unfortunately, this means that two Web Start applications cannot share one jar file, so we create these wrapper classes that call the appropriate main class.

    For more information about JNLP, see $PTII/mk/jnlp.in.

    Since:
    Ptolemy II 11.0
    Version:
    $Id$
    Author:
    Christopher Brooks
    See Also:
    MenuApplication
    Pt.AcceptedRating:
    Red (cxh)
    Pt.ProposedRating:
    Red (cxh)
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)
      Main method that sets user.dir as necessary and calls MenuApplication.main().
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CapeCodeApplication

        public CapeCodeApplication()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
        Main method that sets user.dir as necessary and calls MenuApplication.main().
        Parameters:
        args - Arguments to be passed on to MenuApplication.main()