Creo™ Schematics 4.0 Help Center > Customizing Creo Schematics Using Java APIs > Example: Invoking a Class When an Artifact Is Instanced
  
Example: Invoking a Class When an Artifact Is Instanced
public class UpdateProperties extends Object implements rsdesigner.uiextension.UpdateProperties
{
public UpdateProperties() {}
public boolean update(Properties props)
{
// Manipulate the Properties and their values from the
// Properties instance
System.out.println("[UpdateProperties]: updating");
// Return true if we want Creo Schematics to update the Properties
return true;
}
}