Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » How many files are required with CompilationUnitEditor
How many files are required with CompilationUnitEditor [message #116600] Thu, 13 November 2003 00:46
Eclipse UserFriend
Hi all,

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.

Thanks

Syed
Previous Topic:Any way to keep Hierarchy view Horizontal View Orientation persistent?
Next Topic:"bin" folder missing?
Goto Forum:
  


Current Time: Tue Jul 01 00:51:00 EDT 2025

Powered by FUDForum. Page generated in 0.24504 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top