class OpenMappingExtension implements IExtensionPoint {

  @Override public void callExtensionPoint(ILogChannel log, Object object ) throws HopException {
    TransformMeta transformMeta = (TransformMeta) ( (Object[]) object )[ 0 ];
    PipelineMeta piprlineMeta = (PipelineMeta) ( (Object[]) object )[ 1 ];

    if ( transformMeta.getTransform() instanceof MetaInjectMeta ) {
      // Make sure we don't accidently overwrite this transformation so we'll remove the filename and objectId
      // Modify the name so the users sees it's a result
      piprlineMeta.setFilename( null );
//      piprlineMeta.setObjectId( null );
      String appendName = " (" + BaseMessages.getString( PKG, "TransGraph.AfterInjection" ) + ")";
      if ( !piprlineMeta.getName().endsWith( appendName ) ) {
        piprlineMeta.setName( piprlineMeta.getName() + appendName );
      }
    }
  }

}