Eclipse Plug-Ins Chapter One

At work, job content is the Eclipse development teams small partners mostly trial and error, levels are almost know these, I do not know why.

I thought you just go to work, then spare time to learn Spring family bucket of what the public areas, but this plug-in development work needs to face daily difficulties can not be perfunctory. If so perfunctory work, it may be nothing to learn. So change of thinking.

So I decided to put this study have some prospect of a solution for the job, the same line, trekking trip.

Data used is "Eclipse plug-in development," third edition, has been looking at the books before, to practice in half, but I feel like seeking only to progress, in fact, very little harvest, now is not too late, so decided to try a new learning methods and attitudes, to put this knowledge Xue Daoshou.

Inf, Heng who wins. Qin, constant, just a character that is indeed a big deal. Fee ado, here we go -


Chapter I use Eclipse tools

  1. Start (download and install)
    • Gets Eclipse main site www.eclipse.org, choose Eclipse for RCP / Plug-in Developers version
    • Installation, when the Eclipse Zip file successfully downloaded, extract to your hard drive. Eclipse does not modify the Windows registry, so its position is variable. (I do not know, so after school when the operating system and then share with you oh)
  2. Eclipse workbench
    • In Eclipse workbench inside courseware different views (e.g. Package Explorer, Hierarchy, Outline) and editors (for processing different resources) in combination is called a perspective view of  
      • Java perspective
      • Resource perspective
      • Debug perspective
    • operating
      • Main menu (File, Edit, Source, Refactor, Navigate, Search, Project, Run, Window, Help) a total of ten
      • Context menu (I had been in the end do not understand what ... context .... Right-click any view or editor, except for the toolbar, there will be a context-sensitive pop-up menu. This menu is not only content with the click of views and editors associated, is also associated with the selected resource. this is the context menu.)
      • toolbar
      • Custom available actions - you can have limited control over the options toolbar and the main menu bar. Many commands are part of the group of commands (command group) is. Set operation command group is also called (Action SET) . Set of operations can be enabled by using the Customize Perspective if selected.
    • Provided Eclipse (UTF8 encoding settings, input functions automatically prompts)
    • Create a project
      • New Java project (in fact, use the New Java Project wizard to create a Java project), in addition to creating the project itself, but also creates two additional files -. Classpath files and file .project
        • .classpath file stores the Java build path of the project.
        • .project file provides a complete description of the items that can be used in the workspace is exported after she re-created word ah this project import.

      I believe that the first book of note to write on top of. Interested friends can view the original book, I am more concerned about the later chapters of the code and logic. Chapter one thing, you know.

 

Guess you like

Origin www.cnblogs.com/Night-Watch/p/12670265.html