GME  13
Public Member Functions | Protected Attributes
CAnnotatorDecoratorImpl Class Reference

#include <AnnotatorDecoratorImpl.h>

Inheritance diagram for CAnnotatorDecoratorImpl:
Inheritance graph
[legend]
Collaboration diagram for CAnnotatorDecoratorImpl:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 CAnnotatorDecoratorImpl ()
 ~CAnnotatorDecoratorImpl ()
STDMETHOD() Initialize (IMgaProject *pProject, IMgaMetaPart *pPart, IMgaFCO *pFCO)
STDMETHOD() Destroy (void)
STDMETHOD() GetMnemonic (BSTR *bstrMnemonic)
STDMETHOD() GetFeatures (feature_code *pFeatureCodes)
STDMETHOD() SetParam (BSTR bstrName, VARIANT vValue)
STDMETHOD() GetParam (BSTR bstrName, VARIANT *pvValue)
STDMETHOD() SetActive (VARIANT_BOOL bIsActive)
STDMETHOD() GetPreferredSize (LONG *plWidth, LONG *plHeight)
STDMETHOD() SetLocation (LONG sx, LONG sy, LONG ex, LONG ey)
STDMETHOD() GetLocation (LONG *sx, LONG *sy, LONG *ex, LONG *ey)
STDMETHOD() GetLabelLocation (LONG *sx, LONG *sy, LONG *ex, LONG *ey)
STDMETHOD() GetPortLocation (IMgaFCO *fco, LONG *sx, LONG *sy, LONG *ex, LONG *ey)
STDMETHOD() GetPorts (IMgaFCOs **portFCOs)
STDMETHOD() Draw (ULONG hdc)
STDMETHOD() SaveState (void)
STDMETHOD() InitializeEx (IMgaProject *pProject, IMgaMetaPart *pPart, IMgaFCO *pFCO, IMgaCommonDecoratorEvents *eventSink, ULONGLONG parentWnd)
STDMETHOD() DrawEx (ULONG hdc, ULONGLONG gdipGraphics)
STDMETHOD() SetSelected (VARIANT_BOOL bIsSelected)
STDMETHOD() MouseMoved (ULONG nFlags, LONG pointx, LONG pointy, ULONGLONG transformHDC)
STDMETHOD() MouseLeftButtonDown (ULONG nFlags, LONG pointx, LONG pointy, ULONGLONG transformHDC)
STDMETHOD() MouseLeftButtonUp (ULONG nFlags, LONG pointx, LONG pointy, ULONGLONG transformHDC)
STDMETHOD() MouseLeftButtonDoubleClick (ULONG nFlags, LONG pointx, LONG pointy, ULONGLONG transformHDC)
STDMETHOD() MouseRightButtonDown (ULONGLONG hCtxMenu, ULONG nFlags, LONG pointx, LONG pointy, ULONGLONG transformHDC)
STDMETHOD() MouseRightButtonUp (ULONG nFlags, LONG pointx, LONG pointy, ULONGLONG transformHDC)
STDMETHOD() MouseRightButtonDoubleClick (ULONG nFlags, LONG pointx, LONG pointy, ULONGLONG transformHDC)
STDMETHOD() MouseMiddleButtonDown (ULONG nFlags, LONG pointx, LONG pointy, ULONGLONG transformHDC)
STDMETHOD() MouseMiddleButtonUp (ULONG nFlags, LONG pointx, LONG pointy, ULONGLONG transformHDC)
STDMETHOD() MouseMiddleButtonDoubleClick (ULONG nFlags, LONG pointx, LONG pointy, ULONGLONG transformHDC)
STDMETHOD() MouseWheelTurned (ULONG nFlags, LONG distance, LONG pointx, LONG pointy, ULONGLONG transformHDC)
STDMETHOD() DragEnter (ULONG *dropEffect, ULONGLONG pCOleDataObject, ULONG keyState, LONG pointx, LONG pointy, ULONGLONG transformHDC)
STDMETHOD() DragOver (ULONG *dropEffect, ULONGLONG pCOleDataObject, ULONG keyState, LONG pointx, LONG pointy, ULONGLONG transformHDC)
STDMETHOD() Drop (ULONGLONG pCOleDataObject, ULONG dropEffect, LONG pointx, LONG pointy, ULONGLONG transformHDC)
STDMETHOD() DropFile (ULONGLONG hDropInfo, LONG pointx, LONG pointy, ULONGLONG transformHDC)
STDMETHOD() MenuItemSelected (ULONG menuItemId, ULONG nFlags, LONG pointx, LONG pointy, ULONGLONG transformHDC)
STDMETHOD() OperationCanceled (void)

Protected Attributes

DecoratorSDK::DecoratorInterface * m_pElementDecorator
bool m_bLocationSet
bool m_bInitCallFromEx
BSTR m_bstrName
VARIANT m_vValue

Detailed Description

Definition at line 27 of file AnnotatorDecoratorImpl.h.


Constructor & Destructor Documentation

Definition at line 31 of file AnnotatorDecoratorImpl.cpp.

Definition at line 38 of file AnnotatorDecoratorImpl.cpp.


Member Function Documentation

STDMETHODIMP CAnnotatorDecoratorImpl::Destroy ( void  )

Implements IMgaDecorator.

Definition at line 52 of file AnnotatorDecoratorImpl.cpp.

STDMETHODIMP CAnnotatorDecoratorImpl::DragEnter ( ULONG *  dropEffect,
ULONGLONG  pCOleDataObject,
ULONG  keyState,
LONG  pointx,
LONG  pointy,
ULONGLONG  transformHDC 
)

Implements IMgaDecoratorCommon.

Definition at line 567 of file AnnotatorDecoratorImpl.cpp.

STDMETHODIMP CAnnotatorDecoratorImpl::DragOver ( ULONG *  dropEffect,
ULONGLONG  pCOleDataObject,
ULONG  keyState,
LONG  pointx,
LONG  pointy,
ULONGLONG  transformHDC 
)

Implements IMgaDecoratorCommon.

Definition at line 589 of file AnnotatorDecoratorImpl.cpp.

STDMETHODIMP CAnnotatorDecoratorImpl::Draw ( ULONG  hdc)

Implements IMgaDecorator.

Definition at line 260 of file AnnotatorDecoratorImpl.cpp.

STDMETHODIMP CAnnotatorDecoratorImpl::DrawEx ( ULONG  hdc,
ULONGLONG  gdipGraphics 
)

Implements IMgaDecoratorCommon.

Definition at line 303 of file AnnotatorDecoratorImpl.cpp.

STDMETHODIMP CAnnotatorDecoratorImpl::Drop ( ULONGLONG  pCOleDataObject,
ULONG  dropEffect,
LONG  pointx,
LONG  pointy,
ULONGLONG  transformHDC 
)

Implements IMgaDecoratorCommon.

Definition at line 611 of file AnnotatorDecoratorImpl.cpp.

STDMETHODIMP CAnnotatorDecoratorImpl::DropFile ( ULONGLONG  hDropInfo,
LONG  pointx,
LONG  pointy,
ULONGLONG  transformHDC 
)

Implements IMgaDecoratorCommon.

Definition at line 631 of file AnnotatorDecoratorImpl.cpp.

STDMETHODIMP CAnnotatorDecoratorImpl::GetFeatures ( feature_code pFeatureCodes)

Implements IMgaDecorator.

Definition at line 85 of file AnnotatorDecoratorImpl.cpp.

STDMETHODIMP CAnnotatorDecoratorImpl::GetLabelLocation ( LONG sx,
LONG sy,
LONG ex,
LONG ey 
)

Definition at line 197 of file AnnotatorDecoratorImpl.cpp.

STDMETHODIMP CAnnotatorDecoratorImpl::GetLocation ( LONG sx,
LONG sy,
LONG ex,
LONG ey 
)

Definition at line 175 of file AnnotatorDecoratorImpl.cpp.

STDMETHODIMP CAnnotatorDecoratorImpl::GetMnemonic ( BSTR *  bstrMnemonic)

Implements IMgaDecorator.

Definition at line 78 of file AnnotatorDecoratorImpl.cpp.

STDMETHODIMP CAnnotatorDecoratorImpl::GetParam ( BSTR  bstrName,
VARIANT *  pvValue 
)

Implements IMgaDecorator.

Definition at line 103 of file AnnotatorDecoratorImpl.cpp.

STDMETHODIMP CAnnotatorDecoratorImpl::GetPortLocation ( IMgaFCO fco,
LONG sx,
LONG sy,
LONG ex,
LONG ey 
)

Definition at line 219 of file AnnotatorDecoratorImpl.cpp.

STDMETHODIMP CAnnotatorDecoratorImpl::GetPorts ( IMgaFCOs **  portFCOs)

Implements IMgaDecorator.

Definition at line 241 of file AnnotatorDecoratorImpl.cpp.

STDMETHODIMP CAnnotatorDecoratorImpl::GetPreferredSize ( LONG plWidth,
LONG plHeight 
)

Definition at line 137 of file AnnotatorDecoratorImpl.cpp.

STDMETHODIMP CAnnotatorDecoratorImpl::Initialize ( IMgaProject pProject,
IMgaMetaPart pPart,
IMgaFCO pFCO 
)

Implements IMgaDecorator.

Definition at line 42 of file AnnotatorDecoratorImpl.cpp.

STDMETHODIMP CAnnotatorDecoratorImpl::InitializeEx ( IMgaProject pProject,
IMgaMetaPart pPart,
IMgaFCO pFCO,
IMgaCommonDecoratorEvents eventSink,
ULONGLONG  parentWnd 
)

Implements IMgaDecoratorCommon.

Definition at line 278 of file AnnotatorDecoratorImpl.cpp.

STDMETHODIMP CAnnotatorDecoratorImpl::MenuItemSelected ( ULONG  menuItemId,
ULONG  nFlags,
LONG  pointx,
LONG  pointy,
ULONGLONG  transformHDC 
)

Implements IMgaDecoratorCommon.

Definition at line 651 of file AnnotatorDecoratorImpl.cpp.

STDMETHODIMP CAnnotatorDecoratorImpl::MouseLeftButtonDoubleClick ( ULONG  nFlags,
LONG  pointx,
LONG  pointy,
ULONGLONG  transformHDC 
)

Implements IMgaDecoratorCommon.

Definition at line 407 of file AnnotatorDecoratorImpl.cpp.

STDMETHODIMP CAnnotatorDecoratorImpl::MouseLeftButtonDown ( ULONG  nFlags,
LONG  pointx,
LONG  pointy,
ULONGLONG  transformHDC 
)

Implements IMgaDecoratorCommon.

Definition at line 367 of file AnnotatorDecoratorImpl.cpp.

STDMETHODIMP CAnnotatorDecoratorImpl::MouseLeftButtonUp ( ULONG  nFlags,
LONG  pointx,
LONG  pointy,
ULONGLONG  transformHDC 
)

Implements IMgaDecoratorCommon.

Definition at line 387 of file AnnotatorDecoratorImpl.cpp.

STDMETHODIMP CAnnotatorDecoratorImpl::MouseMiddleButtonDoubleClick ( ULONG  nFlags,
LONG  pointx,
LONG  pointy,
ULONGLONG  transformHDC 
)

Implements IMgaDecoratorCommon.

Definition at line 527 of file AnnotatorDecoratorImpl.cpp.

STDMETHODIMP CAnnotatorDecoratorImpl::MouseMiddleButtonDown ( ULONG  nFlags,
LONG  pointx,
LONG  pointy,
ULONGLONG  transformHDC 
)

Implements IMgaDecoratorCommon.

Definition at line 487 of file AnnotatorDecoratorImpl.cpp.

STDMETHODIMP CAnnotatorDecoratorImpl::MouseMiddleButtonUp ( ULONG  nFlags,
LONG  pointx,
LONG  pointy,
ULONGLONG  transformHDC 
)

Implements IMgaDecoratorCommon.

Definition at line 507 of file AnnotatorDecoratorImpl.cpp.

STDMETHODIMP CAnnotatorDecoratorImpl::MouseMoved ( ULONG  nFlags,
LONG  pointx,
LONG  pointy,
ULONGLONG  transformHDC 
)

Implements IMgaDecoratorCommon.

Definition at line 347 of file AnnotatorDecoratorImpl.cpp.

STDMETHODIMP CAnnotatorDecoratorImpl::MouseRightButtonDoubleClick ( ULONG  nFlags,
LONG  pointx,
LONG  pointy,
ULONGLONG  transformHDC 
)

Implements IMgaDecoratorCommon.

Definition at line 467 of file AnnotatorDecoratorImpl.cpp.

STDMETHODIMP CAnnotatorDecoratorImpl::MouseRightButtonDown ( ULONGLONG  hCtxMenu,
ULONG  nFlags,
LONG  pointx,
LONG  pointy,
ULONGLONG  transformHDC 
)

Implements IMgaDecoratorCommon.

Definition at line 427 of file AnnotatorDecoratorImpl.cpp.

STDMETHODIMP CAnnotatorDecoratorImpl::MouseRightButtonUp ( ULONG  nFlags,
LONG  pointx,
LONG  pointy,
ULONGLONG  transformHDC 
)

Implements IMgaDecoratorCommon.

Definition at line 447 of file AnnotatorDecoratorImpl.cpp.

STDMETHODIMP CAnnotatorDecoratorImpl::MouseWheelTurned ( ULONG  nFlags,
LONG  distance,
LONG  pointx,
LONG  pointy,
ULONGLONG  transformHDC 
)

Implements IMgaDecoratorCommon.

Definition at line 547 of file AnnotatorDecoratorImpl.cpp.

Implements IMgaDecoratorCommon.

Definition at line 671 of file AnnotatorDecoratorImpl.cpp.

STDMETHODIMP CAnnotatorDecoratorImpl::SaveState ( void  )

Implements IMgaDecorator.

Definition at line 270 of file AnnotatorDecoratorImpl.cpp.

STDMETHODIMP CAnnotatorDecoratorImpl::SetActive ( VARIANT_BOOL  bIsActive)

Implements IMgaDecorator.

Definition at line 120 of file AnnotatorDecoratorImpl.cpp.

STDMETHODIMP CAnnotatorDecoratorImpl::SetLocation ( LONG  sx,
LONG  sy,
LONG  ex,
LONG  ey 
)

Definition at line 157 of file AnnotatorDecoratorImpl.cpp.

STDMETHODIMP CAnnotatorDecoratorImpl::SetParam ( BSTR  bstrName,
VARIANT  vValue 
)

Implements IMgaDecorator.

Definition at line 95 of file AnnotatorDecoratorImpl.cpp.

STDMETHODIMP CAnnotatorDecoratorImpl::SetSelected ( VARIANT_BOOL  bIsSelected)

Implements IMgaDecoratorCommon.

Definition at line 330 of file AnnotatorDecoratorImpl.cpp.


Member Data Documentation

Definition at line 35 of file AnnotatorDecoratorImpl.h.

Definition at line 34 of file AnnotatorDecoratorImpl.h.

Definition at line 37 of file AnnotatorDecoratorImpl.h.

DecoratorSDK::DecoratorInterface* CAnnotatorDecoratorImpl::m_pElementDecorator [protected]

Definition at line 33 of file AnnotatorDecoratorImpl.h.

VARIANT CAnnotatorDecoratorImpl::m_vValue [protected]

Definition at line 38 of file AnnotatorDecoratorImpl.h.


The documentation for this class was generated from the following files: