English  |  正體中文  |  简体中文  |  Items with full text/Total items : 64191/96979 (66%)
Visitors : 8512960      Online Users : 9579
RC Version 7.0 © Powered By DSPACE, MIT. Enhanced by NTU Library & TKU Library IR team.
Scope Tips:
  • please add "double quotation mark" for query phrases to get precise results
  • please goto advance search for comprehansive author search
  • Adv. Search
    HomeLoginUploadHelpAboutAdminister Goto mobile version
    Please use this identifier to cite or link to this item: https://tkuir.lib.tku.edu.tw/dspace/handle/987654321/34115


    Title: Java的樹狀編輯器
    Other Titles: Java tree editor
    Authors: 高志銘;Kao, Chih-ming
    Contributors: 淡江大學資訊管理學系碩士班
    廖賀田;Liaw, Heh-tyan
    Keywords: Java;語法樹;樹狀編輯器;Java;syntax tree;tree editor
    Date: 2007
    Issue Date: 2010-01-11 04:56:04 (UTC+8)
    Abstract: 目前市面上所提供的編輯軟體(editor)在編修程式碼時,都是以字元(character)或單行(line)為編修單位。這樣的編輯方式在瀏覽上並不方便,而且還常令人在無意間破壞程式碼的樹狀結構。本論文提出Java語言的樹狀編輯器。它以語法樹(syntax tree)當做內部資料結構。當游標落在節點資料內時,仍是以字元或單行為編輯單位;而當游標落在次級子樹之間時,則是以次級子樹為編輯單位。
    系統畫面包含有專案區、類別區和編輯區。專案區以樹狀結構展示程式專案(project)中的套件(package)與檔案(file);類別區以條列方式展示類別(class)的內容;而內含多視窗的編輯區用來展示類別中的方法(method)。編輯區內的每個視窗都以層層套疊的方式呈現Java原始碼,其中每個層級皆可自由收展,並提供局部捲軸供瀏覽。
    系統會自動對修改後的原始碼進行剖析與連結,並以檢查燈號讓使用者了解目前的程式是否含有語法錯誤。本系統已完成製作,並已經用大量的實例程式進行測試,驗證了編輯與剖析的功能。
    The basic editing units of conventional text editors are based upon characters or lines. These editors are inconvenient for browsing and the users are easily to spoil the tree structures of the source while editing the code. In this paper, we present Java Tree Editor, a Tree Editor for Java Language which uses syntax tree as its internal data structures. With the editor, the users manipulate the sub-trees instead of characters or lines which improve the correctness and the efficiency of programming.

    The Java Tree Editor consists of project pane, class pane, and editing area. The project pane shows the packages and files of the project; the class pane lists the contents of classes while editing area displays methods in multiple windows. The source codes are presented in windows which layered on other windows. Each layer can collapse and expand freely, and equipped with a local scroll pane for browsing.

    In addition to editing, the editor also parses and links the code, and an indicator will notify the user whether the program syntax is correct or not. The Java Tree Editor is fully implemented, and is experimented with numerous examples to prove the ability of editing and parsing.
    Appears in Collections:[資訊管理學系暨研究所] 學位論文

    Files in This Item:

    File SizeFormat
    0KbUnknown674View/Open

    All items in 機構典藏 are protected by copyright, with all rights reserved.


    DSpace Software Copyright © 2002-2004  MIT &  Hewlett-Packard  /   Enhanced by   NTU Library & TKU Library IR teams. Copyright ©   - Feedback