Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 05:46
Syed Rizvi is currently offline Syed RizviFriend
Messages: 145
Registered: July 2009
Senior Member
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.


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

Current Time: Thu Apr 26 01:41:19 GMT 2018

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

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