Hi,
I am trying to reconnect a source of a Link programatically.
Fourth paramater in the ReconncetionContext constructor is "targetLocation". What does that represents?
Can "targetLocation" be determined from newAnchor, is yes how?
Otherwise how "ILocation" can be created/instiated?
Regards
Surya
ReconnectionContext reConContext = new ReconnectionContext(conn, oldAnchor, newAnchor, [b]??targetLocation??[/b]);
reConContext.setReconnectType(ReconnectionContext.RECONNECT_SOURCE);
IReconnectionFeature reConFeature = getFeatureProvider().getReconnectionFeature(reConContext);
if(reConFeature.canReconnect(reConContext)){
reConFeature.reconnect(reConContext);
oldSource.getOutgoingLinks().remove(link);
newSource.getOutgoingLinks().add(link);
}
[Updated on: Mon, 05 November 2012 10:26] by Moderator