/** create link to ThingReference; must be RemoteThingReference */ public void addReference(ThingReference ref) throws VisADException, RemoteException { if (!(ref instanceof RemoteThingReference)) { throw new RemoteVisADException( "RemoteActionImpl.addReference: requires " + "RemoteThingReference"); } if (AdaptedAction == null) { throw new RemoteVisADException("RemoteActionImpl.addReference: " + "AdaptedAction is null"); } // WLH - will 'this' be passed to RemoteThingReference ref as a RemoteAction? AdaptedAction.adaptedAddReference((RemoteThingReference) ref, (RemoteAction) this); }