KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > de > loskutov > bco > preferences > BCOConstants


1 /*******************************************************************************
2  * Copyright (c) 2006 Andrei Loskutov.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the BSD License
5  * which accompanies this distribution, and is available at
6  * http://www.opensource.org/licenses/bsd-license.php
7  * Contributor: Andrei Loskutov - initial API and implementation
8  *******************************************************************************/

9 package de.loskutov.bco.preferences;
10
11
12 /**
13  * Keys for preferences store used in BCO
14  * @author Andrei
15  */

16 public interface BCOConstants {
17     /**
18      * toggle "view content/selection follows editor selection"
19      */

20     String JavaDoc LINK_VIEW_TO_EDITOR = "linkViewToEditor";
21
22     /**
23      * show bytecode only for selected element in editor
24      */

25     String JavaDoc SHOW_ONLY_SELECTED_ELEMENT = "showOnlySelectedElement";
26
27     /**
28      * show ASMifier java code instead of bytecode
29      */

30     String JavaDoc SHOW_ASMIFIER_CODE = "showASMifierCode";
31
32     /**
33      * show raw bytecode (without any additional help like readable class names etc)
34      */

35     String JavaDoc SHOW_RAW_BYTECODE = "showRawBytecode";
36
37     /**
38      * show line information (if available)
39      */

40     String JavaDoc SHOW_LINE_INFO = "showLineInfo";
41
42     /**
43      * show variables information (if available)
44      */

45     String JavaDoc SHOW_VARIABLES = "showVariables";
46
47     /**
48      * recalculate stackmap (to see computed frames, works for all classes even before MUSTANG)
49      */

50     String JavaDoc SHOW_STACKMAP = "showStackmap";
51
52     /**
53      * expand stackmap frames
54      */

55     String JavaDoc EXPAND_STACKMAP = "expandStackmap";
56     
57     /**
58      * recalculate stackmap (to see computed frames, works for all classes even before MUSTANG)
59      */

60     String JavaDoc RECALCULATE_STACKMAP = "recalculateStackmap";
61
62     /**
63      * show "analyzer" - LVT and stack tables (for current bytecode selection)
64      */

65     String JavaDoc SHOW_ANALYZER = "showAnalyzer";
66
67
68     int F_LINK_VIEW_TO_EDITOR = 0;
69     int F_SHOW_ONLY_SELECTED_ELEMENT = 1;
70     int F_SHOW_ASMIFIER_CODE = 2;
71     int F_SHOW_RAW_BYTECODE = 3;
72     int F_SHOW_LINE_INFO = 4;
73     int F_SHOW_VARIABLES = 5;
74     int F_RECALCULATE_STACKMAP = 6;
75     int F_EXPAND_STACKMAP = 7;
76     int F_SHOW_ANALYZER = 8;
77     int F_SHOW_STACKMAP = 9;
78     
79 }
80
Popular Tags