|
@@ -24,14 +24,19 @@ protocol KMSystemAnnotationMenuProtocol: NSObjectProtocol {
|
|
|
func menuItemAction_linkPage(_ sender: Any)
|
|
|
func menuItemAction_linkHttps(_ sender: Any)
|
|
|
func menuItemAction_linkEmail(_ sender: Any)
|
|
|
+ func notesLink(_ sender: Any)
|
|
|
|
|
|
// stamp
|
|
|
func menuItemAction_stamp(_ sender: Any)
|
|
|
func menuItemAction_stampStandard(_ sender: Any)
|
|
|
func menuItemAction_stampDynamic(_ sender: Any)
|
|
|
func menuItemAction_stampCustom(_ sender: Any)
|
|
|
+ func notesStamp(_ sender: Any)
|
|
|
|
|
|
func menuItemAction_signure(_ sender: Any)
|
|
|
+ func image(_ sender: Any)
|
|
|
+ func table(_ sender: Any)
|
|
|
+ func addForm(_ sender: Any)
|
|
|
|
|
|
func menuItemAction_hiddenAllAnnotation(_ sender: Any)
|
|
|
func menuItemAction_clearAllAnnotation(_ sender: Any)
|
|
@@ -41,9 +46,17 @@ extension KMSystemAnnotationMenuProtocol {
|
|
|
func menuItemAction_linkHttps(_ sender: Any) {}
|
|
|
func menuItemAction_linkEmail(_ sender: Any) {}
|
|
|
|
|
|
+ func notesLink(_ sender: Any) {}
|
|
|
+
|
|
|
func menuItemAction_stampStandard(_ sender: Any) {}
|
|
|
func menuItemAction_stampDynamic(_ sender: Any) {}
|
|
|
func menuItemAction_stampCustom(_ sender: Any) {}
|
|
|
+
|
|
|
+ func notesStamp(_ sender: Any) {}
|
|
|
+
|
|
|
+ func image(_ sender: Any) {}
|
|
|
+ func table(_ sender: Any) {}
|
|
|
+ func addForm(_ sender: Any) {}
|
|
|
}
|
|
|
|
|
|
extension KMSystemMenu.Annotation {
|
|
@@ -62,13 +75,19 @@ extension KMSystemMenu.Annotation {
|
|
|
public static let linkPageSelector = NSSelectorFromString("menuItemAction_linkPage:")
|
|
|
public static let linkHttpsSelector = NSSelectorFromString("menuItemAction_linkHttps:")
|
|
|
public static let linkEmailSelector = NSSelectorFromString("menuItemAction_linkEmail:")
|
|
|
+ public static let notesLinkSelector = NSSelectorFromString("notesLink:")
|
|
|
|
|
|
public static let stampSelector = NSSelectorFromString("menuItemAction_stamp:")
|
|
|
public static let stampStandardSelector = NSSelectorFromString("menuItemAction_stampStandard:")
|
|
|
public static let stampDynamicSelector = NSSelectorFromString("menuItemAction_stampDynamic:")
|
|
|
public static let stampCustomSelector = NSSelectorFromString("menuItemAction_stampCustom:")
|
|
|
+ public static let notesStampSelector = NSSelectorFromString("notesStamp:")
|
|
|
|
|
|
public static let signureSelector = NSSelectorFromString("menuItemAction_signure:")
|
|
|
+ public static let imageSelector = NSSelectorFromString("image:")
|
|
|
+ public static let tableSelector = NSSelectorFromString("table:")
|
|
|
+ public static let addFormSelector = NSSelectorFromString("addForm:")
|
|
|
+
|
|
|
public static let hiddenAllSelector = NSSelectorFromString("menuItemAction_hiddenAllAnnotation:")
|
|
|
public static let clearAllSelector = NSSelectorFromString("menuItemAction_clearAllAnnotation:")
|
|
|
|
|
@@ -77,10 +96,11 @@ extension KMSystemMenu.Annotation {
|
|
|
self.textSelector, self.noteSelector, self.squreSelector, self.circleSelector,
|
|
|
self.arrowSelector, self.lineSelector,
|
|
|
// link
|
|
|
- self.linkSelector, self.linkPageSelector, self.linkHttpsSelector, self.linkEmailSelector,
|
|
|
+ self.linkSelector, self.linkPageSelector, self.linkHttpsSelector, self.linkEmailSelector, self.notesLinkSelector,
|
|
|
// stamp
|
|
|
- self.stampSelector, self.stampStandardSelector, self.stampDynamicSelector, self.stampCustomSelector,
|
|
|
+ self.stampSelector, self.stampStandardSelector, self.stampDynamicSelector, self.stampCustomSelector, self.notesStampSelector,
|
|
|
// other
|
|
|
- self.signureSelector, self.hiddenAllSelector, self.clearAllSelector]
|
|
|
+ self.signureSelector, self.imageSelector, self.tableSelector, self.addFormSelector,
|
|
|
+ self.hiddenAllSelector, self.clearAllSelector]
|
|
|
}
|
|
|
}
|