Creo™ Schematics 4.0 Help Center > Customizing Creo Schematics Using Java APIs > About the Java User Interface Extension
  
About the Java User Interface Extension
With the Java user interface extension, you can create administrative classes for the following purposes:
Specify new values for parameters when they are modified
Control whether they should be set at all
Control whether connections are allowed to be made
Examples for using the Java API can be found in the installation directory, <install>\Schematics\creoschematics\java_examples.
Loading the Classes
All classes (.class files) in the CLIENT_CLASSPATH that implement one of the published interfaces and have public constructors are instanced by the application on startup.
Invoking the Class When an Artifact Is Instanced
After an artifact is instanced, you can modify its parameters by providing a postCreate method in a class that implements UpdateProperties.
Validating a Change to a PropertySet
When you click OK or Apply in the Properties dialog box, a user-defined Java class can determine whether the parameters are acceptable and reject the change with an accompanying message.
Invoking the Class Before a Connection Is Made
The canConnectBetween(…) method is called on mouse-motion events  while instancing a fiber when the user’s implementation of checkConnection is loaded.
Invoking the Class After a Connection Between Objects Is Made
After a connection is made in the design, you can modify the parameters of all the connected artifacts using the postConnect method.