mirror of
https://github.com/levinsv/pgadmin3.git
synced 2026-05-15 14:15:49 -06:00
30 lines
1 KiB
C++
30 lines
1 KiB
C++
//////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// pgAdmin III - PostgreSQL Tools
|
|
//
|
|
// Copyright (C) 2002 - 2016, The pgAdmin Development Team
|
|
// This software is released under the PostgreSQL Licence
|
|
//
|
|
// hdChangeConnectionEndHandle.h - Handle to allow change connected figure at end of connection figure
|
|
//
|
|
//////////////////////////////////////////////////////////////////////////
|
|
|
|
#ifndef HDCHANGECONNECTIONENDHANDLE_H
|
|
#define HDCHANGECONNECTIONENDHANDLE_H
|
|
|
|
#include "hotdraw/handles/hdChangeConnectionHandle.h"
|
|
#include "hotdraw/figures/hdLineConnection.h"
|
|
|
|
class hdChangeConnectionEndHandle : public hdChangeConnectionHandle
|
|
{
|
|
public:
|
|
hdChangeConnectionEndHandle(hdLineConnection *owner);
|
|
~hdChangeConnectionEndHandle();
|
|
virtual hdPoint &locate(int posIdx);
|
|
virtual hdIConnector *target();
|
|
virtual void disconnect(hdDrawingView *view = NULL);
|
|
virtual void connect(hdIConnector *connector, hdDrawingView *view = NULL);
|
|
virtual bool isConnectionPossible(hdIFigure *figure);
|
|
virtual void setPoint(int posIdx, hdPoint p);
|
|
};
|
|
#endif
|