public Object getAdapter(Class key) {
if (key == AutoexposeHelper.class)
return new ViewportAutoexposeHelper(this);
if (key == ExposeHelper.class)
return new ViewportExposeHelper(this);
if (key == AccessibleAnchorProvider.class)
return new DefaultAccessibleAnchorProvider() {
public List getSourceAnchorLocations() {
List list = new ArrayList();
Vector sourceAnchors = getNodeFigure().getSourceConnectionAnchors();