@@ -26,22 +26,22 @@ public PreferencesPage() {
2626
2727 @ Override
2828 public void init (IWorkbench workbench ) {
29- setPreferenceStore (Preferences .getInstance ().getStore ());
29+ setPreferenceStore (io . snyk . eclipse . plugin . properties . preferences . Preferences .getInstance ().getStore ());
3030 setMessage ("Snyk Preferences" );
3131 }
3232
3333 @ Override
3434 protected void createFieldEditors () {
3535 TokenFieldEditor tokenField = new TokenFieldEditor (
36- Preferences .getInstance (),
37- Preferences .AUTH_TOKEN_KEY , "Snyk API Token:" ,
36+ io . snyk . eclipse . plugin . properties . preferences . Preferences .getInstance (),
37+ io . snyk . eclipse . plugin . properties . preferences . Preferences .AUTH_TOKEN_KEY , "Snyk API Token:" ,
3838 getFieldEditorParent ());
3939 addField (tokenField );
40- addField (new StringFieldEditor (Preferences .PATH_KEY , "Path:" ,
40+ addField (new StringFieldEditor (io . snyk . eclipse . plugin . properties . preferences . Preferences .PATH_KEY , "Path:" ,
4141 getFieldEditorParent ()));
42- addField (new StringFieldEditor (Preferences .ENDPOINT_KEY ,
42+ addField (new StringFieldEditor (io . snyk . eclipse . plugin . properties . preferences . Preferences .ENDPOINT_KEY ,
4343 "Custom Endpoint:" , getFieldEditorParent ()));
44- addField (new BooleanFieldEditor (Preferences .INSECURE_KEY ,
44+ addField (new BooleanFieldEditor (io . snyk . eclipse . plugin . properties . preferences . Preferences .INSECURE_KEY ,
4545 "Allow unknown certificate authorities" , getFieldEditorParent ()));
4646
4747 addField (space ());
@@ -52,23 +52,23 @@ protected void createFieldEditors() {
5252 getFieldEditorParent ()));
5353 addField (space ());
5454 addField (new BooleanFieldEditor (
55- Preferences .ACTIVATE_SNYK_OPEN_SOURCE ,
55+ io . snyk . eclipse . plugin . properties . preferences . Preferences .ACTIVATE_SNYK_OPEN_SOURCE ,
5656 "Snyk Open Source enabled" , getFieldEditorParent ()));
5757 snykCodeCheckbox = new BooleanFieldEditor (
58- Preferences .ACTIVATE_SNYK_CODE , "Snyk Code enable" + "d" ,
58+ io . snyk . eclipse . plugin . properties . preferences . Preferences .ACTIVATE_SNYK_CODE , "Snyk Code enable" + "d" ,
5959 getFieldEditorParent ());
6060
6161 addField (snykCodeCheckbox );
62- addField (new BooleanFieldEditor (Preferences .ACTIVATE_SNYK_IAC ,
62+ addField (new BooleanFieldEditor (io . snyk . eclipse . plugin . properties . preferences . Preferences .ACTIVATE_SNYK_IAC ,
6363 "Snyk Infrastructure-as-Code enabled" , getFieldEditorParent ()));
6464
6565 addField (space ());
6666 addField (new LabelFieldEditor ("Advanced options:" , getFieldEditorParent ()));
67- addField (new StringFieldEditor (Preferences .ORGANIZATION_KEY ,
67+ addField (new StringFieldEditor (io . snyk . eclipse . plugin . properties . preferences . Preferences .ORGANIZATION_KEY ,
6868 "Organization:" , getFieldEditorParent ()));
69- addField (new StringFieldEditor (Preferences .ADDITIONAL_PARAMETERS ,
69+ addField (new StringFieldEditor (io . snyk . eclipse . plugin . properties . preferences . Preferences .ADDITIONAL_PARAMETERS ,
7070 "Additional Parameters:" , getFieldEditorParent ()));
71- addField (new StringFieldEditor (Preferences .ADDITIONAL_ENVIRONMENT ,
71+ addField (new StringFieldEditor (io . snyk . eclipse . plugin . properties . preferences . Preferences .ADDITIONAL_ENVIRONMENT ,
7272 "Additional Environment:" , getFieldEditorParent ()));
7373
7474 addField (space ());
@@ -78,14 +78,14 @@ protected void createFieldEditors() {
7878 System .out .println ("managed bionaries changed" );
7979 });
8080 addField (manageBinaries );
81- addField (new StringFieldEditor ( Preferences .CLI_BASE_URL , "Base URL for CLI download:" ,
82- getFieldEditorParent ()));
83- addField (new FileFieldEditor (Preferences .CLI_PATH , "Snyk CLI (incl. Language Server) :" ,
81+ addField (new FileFieldEditor ( io . snyk . eclipse . plugin . properties . preferences . Preferences .LS_BINARY_KEY ,
82+ "Snyk Language Server:" , getFieldEditorParent ()));
83+ addField (new FileFieldEditor (io . snyk . eclipse . plugin . properties . preferences . Preferences .CLI_PATH , "Snyk CLI:" ,
8484 getFieldEditorParent ()));
8585
8686 addField (space ());
8787
88- addField (new BooleanFieldEditor (Preferences .SEND_ERROR_REPORTS ,
88+ addField (new BooleanFieldEditor (io . snyk . eclipse . plugin . properties . preferences . Preferences .SEND_ERROR_REPORTS ,
8989 "Send error reports to Snyk" , getFieldEditorParent ()));
9090 addField (new BooleanFieldEditor (Preferences .ENABLE_TELEMETRY , "Send usage statistics to Snyk" ,
9191 getFieldEditorParent ()));
@@ -97,7 +97,7 @@ protected void createFieldEditors() {
9797 + "paths are safe to scan. Every path below a given path is considered safe to scan. \n "
9898 + "Please separate entries with \" " + File .pathSeparator + "\" ." ,
9999 getFieldEditorParent ()));
100- addField (new StringFieldEditor (Preferences .TRUSTED_FOLDERS ,
100+ addField (new StringFieldEditor (io . snyk . eclipse . plugin . properties . preferences . Preferences .TRUSTED_FOLDERS ,
101101 "Trusted Folders:" , getFieldEditorParent ()));
102102
103103 disableSnykCodeIfOrgDisabled ();
0 commit comments