C# Class nHydrate.Dsl.nHydrateDiagram

Afficher le fichier Open project: nHydrate/nHydrate Class Usage Examples

Méthodes publiques

Méthode Description
AutoLayoutChildShapes ( System shapeElementMap ) : void
CanCommitCallback ( Microsoft transaction ) : Microsoft.VisualStudio.Modeling.CanCommitResult
CanShapeContainConnectors ( ShapeElement parentCandidate ) : bool
CoerceSelection ( DiagramItem item, DiagramClientView view, bool isAddition ) : void
DoHitTest ( PointD point, DiagramHitTestInfo hitTestInfo, bool includeTolerance ) : bool
DrawResizeFeedback ( DiagramPaintEventArgs e, RectangleD bounds ) : void
FixUpChildShapes ( Microsoft childElement ) : ShapeElement
FixUpDiagramSelection ( ShapeElement newChildShape ) : System.Collections.IList
GetChildElements ( Microsoft parentElement ) : System.Collections.ICollection
OnBeginEdit ( DiagramItemEventArgs e ) : void
OnDragDrop ( DiagramDragEventArgs e ) : void
OnDragOver ( DiagramDragEventArgs e ) : void
nHydrateDiagram ( Microsoft store ) : System

Constructor

Méthodes protégées

Méthode Description
CalculateDerivedVisible ( ShapeElement source ) : bool
CreateChildShape ( Microsoft element ) : ShapeElement
DetermineHighlightShape ( ShapeElement shape ) : ShapeElement
InitializeResources ( Microsoft classStyleSet ) : void
OnChildConfiguring ( Microsoft child, bool createdDuringViewFixup ) : void
OnElementAdded ( Microsoft e ) : void
OnElementDeleted ( Microsoft e ) : void
OnShapeConfiguring ( ModelElementEventArgs e ) : void
OnShapeDoubleClick ( ModelElementEventArgs e ) : void
nHydrateDiagram_DiagramAdded ( object sender, Microsoft e ) : void

Private Methods

Méthode Description
CanUndoRedoCallback ( bool isUndo, Microsoft transactionItem ) : bool
DiagramViewablePropertyChanged ( object sender, Microsoft e ) : void
FieldAdded ( object sender, Microsoft e ) : void
FieldPropertyChanged ( object sender, Microsoft e ) : void
IndexColumnAdded ( object sender, Microsoft e ) : void
NotifyShapeDoubleClick ( Microsoft shape ) : void
ViewFieldPropertyChanged ( object sender, Microsoft e ) : void

Method Details

AutoLayoutChildShapes() public méthode

public AutoLayoutChildShapes ( System shapeElementMap ) : void
shapeElementMap System
Résultat void

CalculateDerivedVisible() protected méthode

protected CalculateDerivedVisible ( ShapeElement source ) : bool
source ShapeElement
Résultat bool

CanCommitCallback() public méthode

public CanCommitCallback ( Microsoft transaction ) : Microsoft.VisualStudio.Modeling.CanCommitResult
transaction Microsoft
Résultat Microsoft.VisualStudio.Modeling.CanCommitResult

CanShapeContainConnectors() public méthode

public CanShapeContainConnectors ( ShapeElement parentCandidate ) : bool
parentCandidate ShapeElement
Résultat bool

CoerceSelection() public méthode

public CoerceSelection ( DiagramItem item, DiagramClientView view, bool isAddition ) : void
item DiagramItem
view DiagramClientView
isAddition bool
Résultat void

CreateChildShape() protected méthode

protected CreateChildShape ( Microsoft element ) : ShapeElement
element Microsoft
Résultat ShapeElement

DetermineHighlightShape() protected méthode

protected DetermineHighlightShape ( ShapeElement shape ) : ShapeElement
shape ShapeElement
Résultat ShapeElement

DoHitTest() public méthode

public DoHitTest ( PointD point, DiagramHitTestInfo hitTestInfo, bool includeTolerance ) : bool
point PointD
hitTestInfo DiagramHitTestInfo
includeTolerance bool
Résultat bool

DrawResizeFeedback() public méthode

public DrawResizeFeedback ( DiagramPaintEventArgs e, RectangleD bounds ) : void
e DiagramPaintEventArgs
bounds RectangleD
Résultat void

FixUpChildShapes() public méthode

public FixUpChildShapes ( Microsoft childElement ) : ShapeElement
childElement Microsoft
Résultat ShapeElement

FixUpDiagramSelection() public méthode

public FixUpDiagramSelection ( ShapeElement newChildShape ) : System.Collections.IList
newChildShape ShapeElement
Résultat System.Collections.IList

GetChildElements() public méthode

public GetChildElements ( Microsoft parentElement ) : System.Collections.ICollection
parentElement Microsoft
Résultat System.Collections.ICollection

InitializeResources() protected méthode

protected InitializeResources ( Microsoft classStyleSet ) : void
classStyleSet Microsoft
Résultat void

OnBeginEdit() public méthode

public OnBeginEdit ( DiagramItemEventArgs e ) : void
e DiagramItemEventArgs
Résultat void

OnChildConfiguring() protected méthode

protected OnChildConfiguring ( Microsoft child, bool createdDuringViewFixup ) : void
child Microsoft
createdDuringViewFixup bool
Résultat void

OnDragDrop() public méthode

public OnDragDrop ( DiagramDragEventArgs e ) : void
e DiagramDragEventArgs
Résultat void

OnDragOver() public méthode

public OnDragOver ( DiagramDragEventArgs e ) : void
e DiagramDragEventArgs
Résultat void

OnElementAdded() protected méthode

protected OnElementAdded ( Microsoft e ) : void
e Microsoft
Résultat void

OnElementDeleted() protected méthode

protected OnElementDeleted ( Microsoft e ) : void
e Microsoft
Résultat void

OnShapeConfiguring() protected méthode

protected OnShapeConfiguring ( ModelElementEventArgs e ) : void
e ModelElementEventArgs
Résultat void

OnShapeDoubleClick() protected méthode

protected OnShapeDoubleClick ( ModelElementEventArgs e ) : void
e ModelElementEventArgs
Résultat void

nHydrateDiagram() public méthode

Constructor
public nHydrateDiagram ( Microsoft store ) : System
store Microsoft Store where new element is to be created.
Résultat System

nHydrateDiagram_DiagramAdded() protected méthode

protected nHydrateDiagram_DiagramAdded ( object sender, Microsoft e ) : void
sender object
e Microsoft
Résultat void