How to reference a java class defined in a plugin in Cameo?

I have created a (working) plugin (in Java) whose class is HelloPlugin.HelloWorldPlugin.class
 

This class has been packaged into a jar file called hello_plugin.jar and placed in the
C:\\Program Files\\Cameo Enterprise Architecture\\plugins\\com.bretta.helloworld folder.
 

HelloWorldPlugin has a public methods called getCount() and setCount(int count).
 

  1. What would my importClass statement (Javascript Rhino) look like to access this class?
    1. //Script body written in Rhino Javascript, running from a Structured Expression...
      
      importClass(HelloPlugin.HelloWorldPlugin);   // this import does NOT work!
      
      HelloWorldPlugin.setCount( 123);
      
      HelloWorldPlugin.getCount();  //return this to the Structured Expression

       

    2. How would I reference this class in a Binary Structured Expression?
      1.  

  2. How would I reference this class in a Binary Opaque Behavior? (Might be the same as the above.)
     

Here is the HelloWorldPlugin.java file upon which this is based:

package HelloPlugin;

public class HelloWorldPlugin extends com.nomagic.magicdraw.plugins.Plugin
{
    static int count = 14;

    public void init()
    {
        javax.swing.JOptionPane.showMessageDialog( null, "HELLO from init(), count=" + Integer.toString(count));
    }
    
    public boolean close()
    {
        javax.swing.JOptionPane.showMessageDialog( null, "Hello from close(), count=" + Integer.toString(count));
        
        return true;
    }

    public boolean isSupported()
    {
        return true;
    }


    public static int getCount()
    {
        return count;
    }

    public static void setCount(int c)
    {
        count = c;
    }
}