|
(NSMenu *) | - copyMenuForClass: |
|
(NSString *) | - address |
|
(DKStyleRegistry *) | - applicationWillReturnStyleRegistry |
|
(BOOL) | - canBeUsedWithSelectionTool |
|
(id) | - categoryManager:shouldReplaceObject:withObject: |
|
(Class) | - classForCoder |
|
(NSColor *) | - colorValue |
|
(NSColor *) | - colourValue |
|
(id) | - copy |
|
(void) | - dealloc |
|
(id) | - deepCopy |
|
(NSDictionary *) | - dimensionValuesForArrowStroke: |
|
(CGFloat) | - drawing:convertDistanceToExternalCoordinates: |
|
(NSPoint) | - drawing:convertLocationToExternalCoordinates: |
|
(void) | - drawing:didDrawRect:inView: |
|
(void) | - drawing:willDrawRect:inView: |
|
(NSString *) | - drawing:willReturnAbbreviationForUnit: |
|
(NSString *) | - drawing:willReturnFormattedCoordinateForDistance: |
|
(CGFloat) | - drawingWillReturnUnitToPointsConversonFactor: |
|
(void) | - finalize |
|
(NSString *) | - hexString |
|
(void) | - hotspot:didEndTrackingWithEvent:inView: |
|
(void) | - hotspot:isTrackingWithEvent:inView: |
|
(void) | - hotspot:willBeginTrackingWithEvent:inView: |
|
(NSData *) | - imageData |
|
(NSImage *) | - imageResourceNamed: |
|
(id) | - init |
|
(id) | - initWithExpression: |
|
(id) | - instantiateObjectWithShortName:parameters: |
|
(BOOL) | - isLiteralValue |
|
(void) | - layoutManager:willPlaceGlyphAtIndex:atLocation:pathAngle:yOffset: |
|
(void) | - menuItem:wasAddedForObject:inCategory: |
|
(BOOL) | - moveObjectTo:position:slope:userInfo: |
|
(id) | - mutableCopy |
|
(void) | - oneShotComplete |
|
(void) | - oneShotHasReached: |
|
(void) | - oneShotWillBegin |
|
(void) | - path:elementIndex:type:points:subPathIndex:subPathClosed:contextInfo: |
|
(id) | - placeLinkFromPoint:toPoint:onPath:linkNumber:userInfo: |
|
(id) | - placeObjectAtPoint:onPath:position:slope:userInfo: |
|
(NSPoint) | - point |
|
(NSPoint) | - pointForTextLayout |
|
(DKStyle *) | - registry:shouldReplaceStyle:withStyle: |
|
(NSBezierPath *) | - renderer:willRenderPath: |
|
(void) | - routeFinder:progressHasReached: |
|
(void) | - setValue:forNumericParameter: |
|
(NSString *) | - stringValue |
|
(CGFloat) | - taperFactorAtDistance:onPath:ofLength: |
|
(void) | - toolDidPerformUndoableAction: |
|
(void) | - toolWillPerformUndoableAction: |
|
(NSURL *) | - url |
|
(NSString *) | - description |
|
(NSUInteger) | - hash |
|
(BOOL) | - isEqual: |
|
(void) | - bind:toObject:withKeyPath:options: |
|
(NSArray *) | - exposedBindings |
|
(NSDictionary *) | - infoForBinding: |
|
(NSArray *) | - optionDescriptionsForBinding: |
|
(void) | - unbind: |
|
(Class) | - valueClassForBinding: |
|
Most drawables in DK have contextual menus associated with them.
- Author
- Contributions from the community; see CONTRIBUTORS.md
- Date
- 2005-2015
- Copyright
- MPL2; see LICENSE.txt
Most drawables in DK have contextual menus associated with them. This objects allows those menus to be simply defined in a nib file in the framework, and overridden by a similar file in the host app. This object supplies one menu per object class.
The default nib is set up so that the menus target first responder, such that DK's message forwarding handles menu validation as normal. When overriding the nib in an app, you need to copy the entire nib and extend or modify any menus as you wish.