@@ -53,8 +53,8 @@ public class Base {
5353// static private boolean RELEASE = false;
5454
5555 /** True if heavy debugging error/log messages are enabled */
56- static public boolean DEBUG = false ;
57- // static public boolean DEBUG = true;
56+ // static public boolean DEBUG = false;
57+ static public boolean DEBUG = true ;
5858
5959 static HashMap <Integer , String > platformNames =
6060 new HashMap <Integer , String >();
@@ -168,7 +168,7 @@ static private void createAndShowGUI(String[] args) {
168168 // because the platform has to be inited properly first.
169169
170170 // Make sure a full JDK is installed
171- initRequirements ();
171+ // initRequirements();
172172
173173 // Load the languages
174174 Language .init ();
@@ -249,6 +249,7 @@ static public void initPlatform() {
249249 }
250250
251251
252+ /*
252253 public static void initRequirements() {
253254 try {
254255 Class.forName("com.sun.jdi.VirtualMachine"); //$NON-NLS-1$
@@ -271,6 +272,13 @@ public static void initRequirements() {
271272 "More information can be found on the Wiki.", cnfe);
272273 }
273274 }
275+ */
276+
277+
278+ private String getDefaultModeIdentifier () {
279+ return "processing.mode.java.pdex.ExperimentalMode" ;
280+ //return "processing.mode.java.JavaMode";
281+ }
274282
275283
276284 private void buildCoreModes () {
@@ -281,13 +289,15 @@ private void buildCoreModes() {
281289 // PDE X calls getModeList() while it's loading, so coreModes must be set
282290 coreModes = new Mode [] { javaMode };
283291
292+ /*
284293 Mode pdexMode =
285294 ModeContribution.load(this, getContentFile("modes/ExperimentalMode"), //$NON-NLS-1$
286295 "processing.mode.experimental.ExperimentalMode").getMode(); //$NON-NLS-1$
287296
288297 // Safe to remove the old Java mode here?
289298 //coreModes = new Mode[] { pdexMode };
290299 coreModes = new Mode[] { pdexMode, javaMode };
300+ */
291301 }
292302
293303
@@ -620,11 +630,6 @@ private void saveModeSettings(final File sketchProps, final Mode mode) {
620630 }
621631
622632
623- private String getDefaultModeIdentifier () {
624- return "processing.mode.java.JavaMode" ;
625- }
626-
627-
628633 public Mode getDefaultMode () {
629634 return coreModes [0 ];
630635 }
0 commit comments