This repository was archived by the owner on Jul 26, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +20
-3
lines changed
java/com/groupdocs/ui/config Expand file tree Collapse file tree 5 files changed +20
-3
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,8 @@ common:
3838 # File browser
3939 # Set false to disable document browse
4040 browse : true
41+ # Set false to disable right mouse click
42+ enableRightClick : true
4143
4244# ###############################################
4345# GroupDocs.Annotation configurations
Original file line number Diff line number Diff line change 1717 },
1818 "homepage" : " https://github.com/groupdocs-annotation/GroupDocs.Annotation-for-Java-Spring#readme" ,
1919 "dependencies" : {
20- "@groupdocs.examples.jquery/annotation" : " ^0.8 .0" ,
21- "@groupdocs.examples.jquery/common" : " ^0.8 .0" ,
22- "@groupdocs.examples.jquery/viewer" : " ^0.8 .0"
20+ "@groupdocs.examples.jquery/annotation" : " ^0.9 .0" ,
21+ "@groupdocs.examples.jquery/common" : " ^0.9 .0" ,
22+ "@groupdocs.examples.jquery/viewer" : " ^0.9 .0"
2323 },
2424 "devDependencies" : {
2525 "gulp" : " ^4.0.0"
Original file line number Diff line number Diff line change @@ -29,6 +29,9 @@ public class CommonConfiguration {
2929 @ Value ("#{new Boolean('${common.rewrite}')}" )
3030 private Boolean rewrite ;
3131
32+ @ Value ("#{new Boolean('${common.enableRightClick}')}" )
33+ private Boolean enableRightClick ;
34+
3235 public boolean isPageSelector () {
3336 return pageSelector ;
3437 }
@@ -77,6 +80,14 @@ public void setRewrite(boolean rewrite) {
7780 this .rewrite = rewrite ;
7881 }
7982
83+ public Boolean getEnableRightClick () {
84+ return enableRightClick ;
85+ }
86+
87+ public void setEnableRightClick (Boolean enableRightClick ) {
88+ this .enableRightClick = enableRightClick ;
89+ }
90+
8091 @ Override
8192 public String toString () {
8293 return "CommonConfiguration{" +
@@ -86,6 +97,7 @@ public String toString() {
8697 ", print=" + print +
8798 ", browse=" + browse +
8899 ", rewrite=" + rewrite +
100+ ", enableRightClick=" + enableRightClick +
89101 '}' ;
90102 }
91103}
Original file line number Diff line number Diff line change @@ -39,6 +39,8 @@ common:
3939 # File browser
4040 # Set false to disable document browse
4141 browse : true
42+ # Set false to disable right mouse click
43+ enableRightClick : true
4244
4345# ###############################################
4446# GroupDocs.Annotation configurations
Original file line number Diff line number Diff line change 4343 print : /*[[${annotationConfiguration.print}]]*/ '' ,
4444 browse : /*[[${annotationConfiguration.browse}]]*/ '' ,
4545 rewrite : /*[[${annotationConfiguration.rewrite}]]*/ '' ,
46+ enableRightClick : /*[[${annotationConfiguration.enableRightClick}]]*/ '' ,
4647 textAnnotation : /*[[${annotationConfiguration.textAnnotation}]]*/ '' ,
4748 areaAnnotation : /*[[${annotationConfiguration.areaAnnotation}]]*/ '' ,
4849 pointAnnotation : /*[[${annotationConfiguration.pointAnnotation}]]*/ '' ,
You can’t perform that action at this time.
0 commit comments