Re: [JPP-Devel] SVN: [6615] plug-ins/CADExtension/trunk/src/org/openjump/advancedtools/ utils/WorkbenchUtils.java

2020-10-27 Thread edgar . soldin
but why doesn't it just simply reuse the existing python console? it has access to all the same functionality! ..ede On 10/27/2020 14:55, Giuseppe Aruta wrote: > The idea is to migrate python consolle into CAD toolbox. The advantage is to > group all together some useful tools that are

Re: [JPP-Devel] SVN: [6615] plug-ins/CADExtension/trunk/src/org/openjump/advancedtools/ utils/WorkbenchUtils.java

2020-10-27 Thread Giuseppe Aruta
The idea is to migrate python consolle into CAD toolbox. The advantage is to group all together some useful tools that are available on the python console (like align and distribute tools, see Cad toolbox bar). A further step is to activate a python console itself and make it more evident, via

Re: [JPP-Devel] SVN: [6615] plug-ins/CADExtension/trunk/src/org/openjump/advancedtools/ utils/WorkbenchUtils.java

2020-10-27 Thread edgar . soldin
works again. i'm wondering where this CAD specific python console can be activated? also. why does it exist in parallel to the normal one and why does it need to be initialized with totally different code? ..ede On 10/27/2020 13:52, Giuseppe Aruta wrote: > Yes. > The problem is on line >

Re: [JPP-Devel] SVN: [6615] plug-ins/CADExtension/trunk/src/org/openjump/advancedtools/ utils/WorkbenchUtils.java

2020-10-27 Thread Giuseppe Aruta
Yes. The problem is on line ClassLoader classLoader = context.getWorkbench().getPlugInManager().getClassLoader(); After searching in the code I changed it with the method ClassLoader classLoader = context.getWorkbench() .getPlugInManager().getPlugInClassLoader() and it seems to work fine (see

Re: [JPP-Devel] SVN: [6615] plug-ins/CADExtension/trunk/src/org/openjump/advancedtools/ utils/WorkbenchUtils.java

2020-10-27 Thread edgar . soldin
Peppe, could you reproduce the issue on your side? i could, but weird thing is, it complains about a missing method that is definitely there. are you compiling against the latest OJ-Core? ..ede On 10/27/2020 13:37, jump-pilot-svn--- via Jump-pilot-devel wrote: > Revision: 6615 >

[JPP-Devel] SVN: [6615] plug-ins/CADExtension/trunk/src/org/openjump/advancedtools/ utils/WorkbenchUtils.java

2020-10-27 Thread jump-pilot-svn--- via Jump-pilot-devel
Revision: 6615 http://sourceforge.net/p/jump-pilot/code/6615 Author: ma15569 Date: 2020-10-27 12:37:37 + (Tue, 27 Oct 2020) Log Message: --- changed method to avoid exception Modified Paths: --