|How many files are required with CompilationUnitEditor [message #116600]
||Thu, 13 November 2003 05:46
| Syed Rizvi
Registered: July 2009
I am trying to copy all the files that are required for
CompilationUnitEditor,but the number of files doens't seem to end as
whenever I copy a files three or four are required beside it.
One of the problem that I am not able to solve is that the code can't
recognize its own plugin even where it is not internal.
One example in CompilationUnitEditor file I am getting an error stating
Constructor GenerateActionGroup is undefined where this plugin is already
imported and it is not internal class.
Secondly in JavaHistoryAction class I am getting an eror in the method
protected IFile getFile(Object input)
ICompilationUnit cu = null;
if (cu == null || !cu.exists())
exists() method is not known to the compiler where i have already copied
that class as it belongs to IJavaElement.I don't know how to make the
compiler realize this, I have tried casting it but couldn't get any result
the error states that exists() method is not defined in
ICompilatiionUnit.But the actuall class works alright.Same is the case
with the other methods that are called in this mathod.
I would realy apprecaite any help in this regard.
Powered by FUDForum
. Page generated in 0.05185 seconds