mirror of
https://github.com/peterdell/wudsn-ide.git
synced 2025-08-07 03:27:38 +00:00
Change localization to /OSGI-INF/l10n
This commit is contained in:
@@ -4,7 +4,6 @@ Bundle-Name: WUDSN IDE Hex Editor Plugin
|
||||
Bundle-SymbolicName: com.wudsn.ide.hex;singleton:=true
|
||||
Bundle-Version: 1.7.2.qualifier
|
||||
Bundle-Activator: com.wudsn.ide.hex.HexPlugin
|
||||
Bundle-Localization: plugin
|
||||
Bundle-Vendor: Peter Dell
|
||||
Require-Bundle: org.eclipse.ui,
|
||||
org.eclipse.core.runtime,
|
||||
|
@@ -5,5 +5,7 @@ bin.includes = META-INF/,\
|
||||
icons/,\
|
||||
plugin.properties,\
|
||||
plugin_de_DE.properties,\
|
||||
plugin.xml
|
||||
plugin.xml,\
|
||||
OSGI-INF/,\
|
||||
bin/
|
||||
|
||||
|
@@ -132,13 +132,11 @@ public final class HexEditor extends EditorPart implements ISelectionProvider, A
|
||||
private File ioFile;
|
||||
|
||||
/**
|
||||
* This main method is for testing the speed of the source file parser
|
||||
* component only.
|
||||
* This main method is for testing the speed of the source file parser component
|
||||
* only.
|
||||
*
|
||||
* @param args
|
||||
* Not used, not <code>null</code>.
|
||||
* @throws Exception
|
||||
* If anything goes terribly wrong.
|
||||
* @param args Not used, not <code>null</code>.
|
||||
* @throws Exception If anything goes terribly wrong.
|
||||
*/
|
||||
public static void main(String[] args) throws Exception {
|
||||
|
||||
@@ -160,8 +158,7 @@ public final class HexEditor extends EditorPart implements ISelectionProvider, A
|
||||
}
|
||||
|
||||
/**
|
||||
* Creation is public. Called by extension point
|
||||
* "org.eclipse.ui.popupMenus".
|
||||
* Creation is public. Called by extension point "org.eclipse.ui.popupMenus".
|
||||
*/
|
||||
public HexEditor() {
|
||||
super();
|
||||
@@ -365,6 +362,9 @@ public final class HexEditor extends EditorPart implements ISelectionProvider, A
|
||||
@Override
|
||||
public HexEditorSelection getSelection() {
|
||||
|
||||
if (textField == null) {
|
||||
return null;
|
||||
}
|
||||
Point textFieldSelection = textField.getSelection();
|
||||
String selectedText = textField.getText().substring(textFieldSelection.x, textFieldSelection.y);
|
||||
|
||||
@@ -372,7 +372,6 @@ public final class HexEditor extends EditorPart implements ISelectionProvider, A
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
BasePlugin.getInstance().log("HexEditor selectedText=\"{0}\", selection.x={1}, selection.y={2}", new Object[] {
|
||||
selectedText, String.valueOf(textFieldSelection.x), String.valueOf(textFieldSelection.y) });
|
||||
|
||||
@@ -567,8 +566,7 @@ public final class HexEditor extends EditorPart implements ISelectionProvider, A
|
||||
/**
|
||||
* Called by {@link HexEditorClipboardCommandHandler}.
|
||||
*
|
||||
* @param bytes
|
||||
* The byte array to be pasted, may be empty, not
|
||||
* @param bytes The byte array to be pasted, may be empty, not
|
||||
* <code>null</code>.
|
||||
*
|
||||
* TODO Hex paste is not working yet
|
||||
|
2
com.wudsn.ide.pas/OSGI-INF/l10n/bundle_de_DE.properties
Normal file
2
com.wudsn.ide.pas/OSGI-INF/l10n/bundle_de_DE.properties
Normal file
@@ -0,0 +1,2 @@
|
||||
#Properties file for com.wudsn.ide.pas
|
||||
com.wudsn.ide.pas.compiler.PascalSourceFile.name = Pascal Quell-Datei
|
Reference in New Issue
Block a user