facebook

create new java file Using JavaCore

  1. MyEclipse IDE
  2.  > 
  3. Feature Requests
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #210418 Reply

    nvulisetti
    Member

    hi,
    how to create a new .java file in a project from org.eclipse.jdt.core.JavaCore

    #210439 Reply

    Scott Anderson
    Participant

    How about the File > New… > Class wizard?

    #210442 Reply

    nvulisetti
    Member

    My Requirement is as follows….

    I import an XML file in a package of a project in WSAD.
    Right click on the XML file and should select a plugin option to generate a class. This action will generate a class.

    The problem I am facing is, when I select an XML file the Action class of plugin receives it as IFile type. I have to figure out a way to create a .java file in the same folder as IFile.

    #210444 Reply

    nvulisetti
    Member

    BTW Thanks for u r response Scott

    #210479 Reply

    Scott Anderson
    Participant

    This sounds like a general plugin development question, right? If that’s the case you might have a better chance at getting an appropriate answer on the newsgroups at Eclipse.org.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: create new java file Using JavaCore

You must be logged in to post in the forum log in