<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    紙飛機

      BlogJava :: 首頁 :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理 ::
      22 隨筆 :: 28 文章 :: 30 評論 :: 0 Trackbacks

    摘自eclipse官方網(wǎng)站

    http://download.eclipse.org/eclipse/downloads/drops/S-3.3M4-200612141445/eclipse-news-M4.html

    Eclipse 3.3 M4 - New and Noteworthy

    A new milestone has arrived for Christmastime. Here are some of the more noteworthy things available in milestone build M4 (December 15, 2006) which is now available for download. See the build notes for details about bugs fixed and other changes.


    Platform


    SWT on Vista (win32) SWT now gets everything right on Microsoft Vista.

    Eclipse on Vista (win32)


    New DateTime styles The DateTime control now supports the SWT.SHORT, SWT.MEDIUM, and SWT.LONG styles.

    DateTime control with SWT.DATE | SWT.SHORT style on Windows

    DateTime control with SWT.TIME | SWT.SHORT style

    (This example snippet created the above snapshots.)


    New graphics line drawing capabilities SWT graphics now supports much finer control of line attributes, including fractional line widths, dashed line offsets, and miter limits. These capabilities are provided by the new LineAttributes class and the new GC methods get/setLineAttributes.

    LineAttributes

    (This example snippet created the above snapshot.)


    SWT libraries automatically found The SWT libraries are now loaded from the SWT jar when an SWT application is launched. Within Eclipse, you can just use the Run As > Java Application menu item and the libraries will be found. When launching from the command line, you no longer need to specify the SWT library path.

    Show invisible whitespace characters It is now possible to see the invisible whitespace characters in textual editors:

    Screenshot showing whitespace characters in the editor

    This feature can either be controlled via General > Editors > Text Editors > Show whitespace characters preference, or via the [Screenshot of the Show Whitespace tool bar button] tool bar button when the Editor Presentation action set is enabled.


    Spell checking in text editor Spell checking is now also available in the text editor:

    Screenshot showing Spell check problems in the text editor

    Clients that want to enhance their editor have to install a reconciler and a quick assist assistant. See TextSourceViewerConfiguration for a template.


    Improved text diffing algorithm The algorithm used to calculate the differences between two text files has been improved. As a result, changes that used to take a long time to calculate now take a matter of seconds.

    Settings transfers when switching workspaces

    When you switch workspaces you can now transfer some of your current settings with you. The Platform provides a transfer for workbench layout and working sets.

    Setting transfer

    Other plug-ins can contribute more specialized transfers via the org.eclipse.ui.preferenceTransfers extension point.


    Busy spinner in view tab

    Where IWorkbenchSiteProgressService#showBusyForFamily is used, the view will now show a busy spinner in the tab.

    Busy spinner in view tab


    Custom tooltips for tree and table cells

    TreeViewer and TableViewer now support custom tooltips on a per cell basis. See org.eclipse.jface.viewers.CellLabelProvider.

    Tool tip on cell of table

    Tool tip on cell of tree


    Advanced tooltips

    JFace now supports tooltips that supply a Composite for more complex tooltips. See org.eclipse.jface.window.Tooltip.

    Tool tip

    ?


    Improved display of table of contents The table of contents in the help window has a number of visual and performance improvements.
    • More than one book can be opened at a time.
    • Performance has been improved by reducing the amount of data sent from the server when a book is opened.
    • A new icon, an open book with pen indicates which container nodes also have associated content.
    • Navigation using arrow keys works consistently across the tree.

    Table of help contents


    Improved dynamic user assistance content Dynamic content is now fully supported for all user assistance XML documents, which means you can filter, include, extend or replace sections of documents for any of the user assistance document types. These include:
    • Welcome pages (XML or XHTML) and contributions
    • Help XHTML topics, table of contents, keyword index, and context-sensitive help
    • Cheat sheets, both simple and composite

    You can also define your own filter criteria and use boolean operators to achieve greater flexibility with filtering by using XML expressions in any of the documents listed above.


    Added control of help/welcome content ordering The help table of contents and welcome items will now be arranged in a more meaningful order when multiple products and documentation sets are installed. All available products' preferences will be taken into consideration, and products may now use an external XML file similar to welcome's to specify their preferred order and visibility of entries in the table of contents.

    Background initialization and update of Compare editors Compare editors are now initialized in the background so that the UI remains responsive while the contents of the files being compared are fetched. The calculation and update of the structure differences also occurs in the background.

    Apply Patch supports manual application of unmatched patch segments The CVS Apply Patch wizard now allows you to manually apply any unmatched patch segments to the local file. No more digging through *.rej files!

    History view now has view history The History view now allows you to navigate back to previously viewed elements.

    History view has view history


    StartupMonitor The Eclipse Starter now provides a StartupMonitor interface which allows a client to register to be given processing time on the main thread while Eclipse is starting up.

    The Startup monitor is run during times where the main thread would otherwise have been waiting for secondary threads to finish. It provides the perfect opportunity for the client to perform thread sensitive updates like, for example, painting a splash screen.


    New Application Model The Eclipse application model now implements the Application Admin Service from the OSGi specification. The net result is a more flexible application container. For example, applications can now be specified to allow more than one to run at a time. The lifecycle of an application has also been improved to allow applications to be properly shut down if the framework is shut down unexpectedly.

    Eclipse applications can now implement org.eclipse.equinox.app.IApplication to take full advantage of the new application model. See the org.eclipse.core.runtime.applications extension point for more details on the options that can be specified for application extensions.


    Long resource paths on Windows Where the underlying file system allows it, you can now create resources with paths longer than 260 characters on Windows. This requires a Java 1.5 VM or greater.

    Navigator view showing long resource path names


    All plug-ins are now signed All plug-ins in Eclipse project builds are now signed using a cryptographic signature provided by the Eclipse Foundation. This allows you to authenticate that the content you receive from the download server matches the content on eclipse.org. Eclipse update manager will also authenticate the signatures on these plug-ins when they are provided from an update site.

    Automatically showing console

    Toggle buttons have been added to the console toolbar controlling when the console is automatically displayed. The buttons provide quick access to the workspace preferences to show the console when output is written to standard out or standard error.

    Toggle buttons for console settings


    Pluggable detail panes

    API has been added to the debug platform allowing custom detail panes to be contributed to the Variables view. Clients may use any SWT control to render custom details for their variables. A context menu allows users to choose between available detail panes for each variable. See the new extension point org.eclipse.debug.ui.detailPaneFactories.


    JDT


    Refactoring without save Refactorings don't require all editors to be saved any more. They can now operate even if Java or text editors are still dirty. Note that this feature only works for textual editors that use a TextFileDocumentProvider.

    Screenshot of the refactoring dialog with dirty editor in background


    Type generation during reconcile Java 5 annotation processing (APT) was introduced in Eclipse 3.2, but until now, new types could only be generated by doing a build. As of 3.3M4, annotation processors can generate new types on the fly, as you edit the annotations.

    Access rules for execution environments Access rules are now assigned to each execution environment based on its profile. For example, rules prevent access to com.sun.* packages that are not guaranteed to be present at runtime. The rules are only applied to projects that are bound to execution environments. Projects bound to a specific JRE still have access to all of its libraries.

    Access rules for an execution environment


    Grouping of JARs and class folders in Package Explorer The Package Explorer now groups referenced libraries in a new container node.

    Screenshot of the package explorer with grouped libraries


    Undo Delete in Package Explorer Edit > Undo is now also available for deletions of Java elements in the Package Explorer and other Java views. Accidentally deleted packages, compilation units, etc. can easily be restored by pressing Ctrl+Z.

    Refactoring and derived files Derived files are often regenerated during a build, and all manual changes in such files are overwritten. To prevent lost work, Refactoring actions now show a warning when you try to refactor a declaration from a derived file.

    In the refactoring preview, you can now choose to filter out the less interesting changes in derived files.

    Screenshot of the refactoring preview showing 'Hide derived resources' filter


    More quick assists
    Functionality that was previously only available in the Refactoring menu is now also offered as quick assists (Ctrl+1). As always, quick assists don't show a dialog, but enters the linked mode where you can change names or types that have been introduced.
    • Extract to local variable and Extract to constant: select an expression in the code
    • Inline local variable: available on a variable name
    • Convert local variable to field: available on a variable name
    • Convert anonymous to local type: Select the type name of an anonymous class

    Screenshot of the Extract Local Quick Assist


    New code formatter options Some new options have been added to the code formatter preference page (Java > Code Style > Formatter)
    • The number of blank lines that Organize Imports (Ctrl+Shift+O) inserts between import groups can be configured on the 'Blank Lines' tab. When formatting, this setting will take precedence over the number of blank lines to preserve.

      Screenshot of the formatter preference page showing 'Blank lines between import groups'

    • For return statements, you can now add or remove whitespace before the parenthesized expression of the throw statement. This option is available on 'White Space' tab of the code formatter profile:

      Screenshot of the formatter preference page showing 'Space before expression throws'


    Improved Javadoc comment checking Compiler handling of Javadoc comments has been improved to better align with the behavior of the Javadoc tool:
    • Javadoc does not allow inexact method references. The compiler now reports a warning when such invalid references are used:

      Screenshot of the Java Editor to show exact javadoc method references

    • When the source level is less than 1.5, Javadoc only allows inline tags {@value} for static fields. The compiler now reports a warning if @value is used elsewhere:

      Screenshot of the Java Editor showing an invalid value inline tag


    Improved handling of duplicate local types

    Duplicate local types in Java code are now handled better.

    • Type references through a duplicate variable now refers to latest definition of the local type, which reduces the number of secondary errors reported.

      Screenshot of the Java Editor showing a reference to duplicate local types

    • Compilation can now penetrate deeper in the presence of duplicate local types, allowing more errors or diagnostics to be uncovered. For instance, it will report unresolved references inside duplicate local types method statements.

      Screenshot of the Java Editor showing a more errors on duplicate local types

    • Local rename (Ctrl+2 R) can now operate, allowing you to quickly fix the name of the duplicate type in all the places it appears.

      Screenshot of the Java Editor showing a third sample on duplicate locate variables


    Improved diagnostics for generic type casts More warnings are now reported while checking unchecked and raw type usage in cast expressions. The messages for unchecked casts were also improved:

    Screenshot of the Java Editor showing generic types cast diagnosis


    JUnit Compare dialog non-modal The JUnit Compare dialog is not modal any more. This makes it easier to copy expected and actual results for further processing.

    Screenshot of the editor that has focus while JUnit comparison dialog up


    PDE


    Target platform provisioning via file system

    PDE now allows the dynamic addition of plug-in locations to the target platform by simply pressing Add on the Plug-in Development > Target Platform preference page.

    PDE provides a file system provisioner to augment the content of the target platform with plug-ins located in the file system.

    File System Provisioner

    Additional types of provisioners (e.g. an Update Manager provisioner) can be declared via the org.eclipse.pde.ui.targetProvisioners extension point.


    RCP templates for new application model

    The Eclipse 3.3 runtime defines a new application model that affords better control of an Eclipse application's lifecycle.

    When an Eclipse 3.3 target is specified in the New Plug-in Project wizard, the RCP application templates generated will use this new application model.

    New Application Model


    Quick outline in plug-in editor source pages

    When editing a source in the plug-in manifest editor, pressing Ctrl+O or selecting Navigate > Quick Outline from the top level menu shows you a quick outline.

    The quick outline has many of the sizing and filtering options that are available in the Java editor's quick outline.

    Ctrl+O


    Bundle a JRE in your RCP product

    When exporting an Eclipse product, you now have the option to bundle a JRE in a jre/ subdirectory inside the product. By default, this JRE will be used when the product runs.

    This feature is useful if you want your product with a specific JRE or if the end user of your product may not have a JRE installed on their system.

    JRE in Product Export


    Flag for non-exported packages in the MANIFEST.MF file

    PDE now provides a flag on the MANIFEST.MF file when the list of exported packages of the plug-in is incomplete. This feature is a useful reminder when you wish to expose all your plug-in code to downstream clients.

    By default, the severity of this flag is set to IGNORE, but it can be raised to WARNING or ERROR at a global level via the Plug-in Development > Compilers > Plug-ins > Non-exported Packages preference. It can also be set on a per-project basis on the Plug-in Development > Compilers property page of a plug-in project.

    Non-Exported Packages


    The above features are just the ones that are new since the previous milestone build. Summaries for earlier 3.3 milestone builds:

    posted on 2007-01-18 22:03 紙飛機 閱讀(400) 評論(0)  編輯  收藏

    只有注冊用戶登錄后才能發(fā)表評論。


    網(wǎng)站導航:
     
    主站蜘蛛池模板: a级毛片视频免费观看| 亚洲国产综合精品中文第一区| 91亚洲精品自在在线观看| 亚洲精品无码mv在线观看网站| 国产亚洲精品国看不卡| 亚洲AV无码成人网站在线观看| 美女啪啪网站又黄又免费| 无码国产精品一区二区免费3p| 久久永久免费人妻精品| 久久亚洲AV无码精品色午夜| 国产精品自拍亚洲| 又黄又爽一线毛片免费观看| 亚洲一区二区电影| 国产一区二区三区免费| 免费人成在线观看播放国产| 四虎精品成人免费视频| 成年女人色毛片免费看| 亚洲综合成人网在线观看| 国产h肉在线视频免费观看| 国产亚洲欧洲精品| 精品国产污污免费网站aⅴ | 亚洲av无码一区二区三区天堂古代| 免费影院未满十八勿进网站| 久久精品国产亚洲av瑜伽| 亚洲无码视频在线| 黄色毛片视频免费| 亚洲成A人片在线观看WWW| 久久美女网站免费| 亚洲a视频在线观看| 亚洲国产成人影院播放| 亚洲精品无AMM毛片| 国产福利电影一区二区三区,亚洲国模精品一区 | 日韩视频在线免费| a级毛片免费播放| 亚洲国产精品xo在线观看| 免费中文字幕在线| 无码一区二区三区免费| 亚洲AV无码AV吞精久久| 国产精品亚洲成在人线| 性一交一乱一视频免费看| a级毛片高清免费视频就|