OSDN Git Service

Binary XML editor
authorsnpe <snpe@snpe.rs>
Sat, 22 Jan 2011 03:15:08 +0000 (04:15 +0100)
committersnpe <snpe@snpe.rs>
Wed, 2 Feb 2011 23:47:03 +0000 (00:47 +0100)
commit1f07d5576fe762556ce4f0ca553f162e705f45f7
tree599d67bc6c45917e53aa07a8c318ae87af67a605
parent2eeaad0c4919cdb648fcea7bff757154a58538f7
Binary XML editor

The change enable to review xml files from the android.jar file.
It works so that actually open file from
<SDK_HOME>/android-<APILEVEL>/data.
The com.android.ide.eclipse.adt.binaryXml (BinaryXMLDescriber)
content type associates Android resource xml files to the
BinaryXMLMultiPageEditorPart editor.
The editor checks if the file is contained in jar and is so,
convert editor input to XmlStorageEditorInput that handles
corresponding file from Android SDK.

Change-Id: I8596f0d3ca5477a12dc25f551243f125f8e6ba7e
eclipse/plugins/com.android.ide.eclipse.adt/plugin.xml
eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/binaryxml/BinaryXMLDescriber.java [new file with mode: 0644]
eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/binaryxml/BinaryXMLMultiPageEditorPart.java [new file with mode: 0644]
eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/binaryxml/FileStorage.java [new file with mode: 0644]
eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/binaryxml/XmlStorageEditorInput.java [new file with mode: 0644]