com.altair.hwm.beans.hm
Class HMCreateLineComm

java.lang.Object
  extended by com.altair.hwm.beans.hm.HMCreateLineComm

public class HMCreateLineComm
extends java.lang.Object

Title: HMCreatePointComm

Description: A "Helper" class for the CreateLine bean, the HMCreateLineComm class takes care of all the communications between the Java application and HyperMesh itself.

Company: Altair Engineering


Constructor Summary
HMCreateLineComm(HWMCommMgr hwmCommMgr)
          Constructor.
 
Method Summary
 void CreateLine(java.lang.String szSessionName, java.util.Vector vectNodes)
          Actually creates the HM line
 java.util.Vector SelectNodeList(java.lang.String szSessionName)
          Prompts the user to select one or more nodes to create a line
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HMCreateLineComm

public HMCreateLineComm(HWMCommMgr hwmCommMgr)
Constructor.

Parameters:
hwmCommMgr - The communication manager wqhich facilitates the communication with HM
Method Detail

SelectNodeList

public java.util.Vector SelectNodeList(java.lang.String szSessionName)
                                throws java.lang.Exception
Prompts the user to select one or more nodes to create a line

Parameters:
String - szSessionName -- Session name to use for communicating with HM
Throws:
java.lang.Exception

CreateLine

public void CreateLine(java.lang.String szSessionName,
                       java.util.Vector vectNodes)
                throws java.lang.Exception
Actually creates the HM line

Parameters:
String - szSessionName -- Session name to use for communicating with HM
Vector - vectNodes -- A Vector of Ints, representing the nodes in HM that the line should be connected to.
Throws:
java.lang.Exception