mirror of
https://github.com/peterdell/wudsn-ide.git
synced 2024-12-21 18:29:40 +00:00
Change GraphicsEditor to GraphicsConversionEditor.
This commit is contained in:
parent
a7599ebc1b
commit
34d9cb02c8
@ -46,7 +46,7 @@ import com.wudsn.ide.asm.compiler.syntax.CompilerSyntax;
|
|||||||
import com.wudsn.ide.base.common.NumberUtility;
|
import com.wudsn.ide.base.common.NumberUtility;
|
||||||
import com.wudsn.ide.base.common.TextUtility;
|
import com.wudsn.ide.base.common.TextUtility;
|
||||||
import com.wudsn.ide.base.editor.hex.HexEditor;
|
import com.wudsn.ide.base.editor.hex.HexEditor;
|
||||||
import com.wudsn.ide.gfx.editor.GraphicsEditor;
|
import com.wudsn.ide.gfx.editor.GraphicsConversionEditor;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Hyperlink detector implementation for opening source or binary include files.
|
* Hyperlink detector implementation for opening source or binary include files.
|
||||||
@ -213,7 +213,7 @@ public final class AssemblerHyperlinkDetector extends AbstractHyperlinkDetector
|
|||||||
0, Texts.ASSEMBLER_HYPERLINK_DETECTOR_OPEN_BINARY_WITH_HEX_EDITOR));
|
0, Texts.ASSEMBLER_HYPERLINK_DETECTOR_OPEN_BINARY_WITH_HEX_EDITOR));
|
||||||
if (canShowMultipleHyperlinks) {
|
if (canShowMultipleHyperlinks) {
|
||||||
hyperlinks.add(new AssemblerHyperlink(linkRegion, workbenchPage, absoluteFilePath, uri,
|
hyperlinks.add(new AssemblerHyperlink(linkRegion, workbenchPage, absoluteFilePath, uri,
|
||||||
GraphicsEditor.ID, 0, Texts.ASSEMBLER_HYPERLINK_DETECTOR_OPEN_BINARY_WITH_GRAPHICS_EDITOR));
|
GraphicsConversionEditor.ID, 0, Texts.ASSEMBLER_HYPERLINK_DETECTOR_OPEN_BINARY_WITH_GRAPHICS_EDITOR));
|
||||||
hyperlinks.add(new AssemblerHyperlink(linkRegion, workbenchPage, absoluteFilePath, uri,
|
hyperlinks.add(new AssemblerHyperlink(linkRegion, workbenchPage, absoluteFilePath, uri,
|
||||||
AssemblerHyperlink.DEFAULT_EDITOR, 0,
|
AssemblerHyperlink.DEFAULT_EDITOR, 0,
|
||||||
Texts.ASSEMBLER_HYPERLINK_DETECTOR_OPEN_BINARY_WITH_DEFAULT_EDITOR));
|
Texts.ASSEMBLER_HYPERLINK_DETECTOR_OPEN_BINARY_WITH_DEFAULT_EDITOR));
|
||||||
|
Binary file not shown.
@ -71,7 +71,7 @@ import com.wudsn.ide.gfx.model.Aspect;
|
|||||||
import com.wudsn.ide.gfx.model.ConverterDirection;
|
import com.wudsn.ide.gfx.model.ConverterDirection;
|
||||||
import com.wudsn.ide.gfx.model.ConverterMode;
|
import com.wudsn.ide.gfx.model.ConverterMode;
|
||||||
|
|
||||||
public final class GraphicsEditor extends EditorPart implements Application, ISelectionProvider, ChangeListener {
|
public final class GraphicsConversionEditor extends EditorPart implements Application, ISelectionProvider, ChangeListener {
|
||||||
|
|
||||||
public final class Actions {
|
public final class Actions {
|
||||||
|
|
||||||
@ -276,7 +276,7 @@ public final class GraphicsEditor extends EditorPart implements Application, ISe
|
|||||||
}
|
}
|
||||||
|
|
||||||
// ID of the editor in the plugin manifest.
|
// ID of the editor in the plugin manifest.
|
||||||
public static final String ID = "com.wudsn.ide.gfx.editor.GraphicsEditor";
|
public static final String ID = "com.wudsn.ide.gfx.editor.GraphicsConversionEditor";
|
||||||
|
|
||||||
private MessageManager messageManager;
|
private MessageManager messageManager;
|
||||||
private boolean processing;
|
private boolean processing;
|
||||||
@ -298,7 +298,7 @@ public final class GraphicsEditor extends EditorPart implements Application, ISe
|
|||||||
private List<ISelectionChangedListener> selectionChangedListeners;
|
private List<ISelectionChangedListener> selectionChangedListeners;
|
||||||
private MyImageProvider imageProvider;
|
private MyImageProvider imageProvider;
|
||||||
|
|
||||||
public GraphicsEditor() {
|
public GraphicsConversionEditor() {
|
||||||
messageManager = new MessageManager(this);
|
messageManager = new MessageManager(this);
|
||||||
|
|
||||||
converterDataLogic = new ConverterDataLogic(messageManager);
|
converterDataLogic = new ConverterDataLogic(messageManager);
|
@ -26,13 +26,13 @@ import com.wudsn.ide.base.editor.CommonOpenEditorCommandHandler;
|
|||||||
*
|
*
|
||||||
* @author Peter Dell
|
* @author Peter Dell
|
||||||
*/
|
*/
|
||||||
public final class GraphicsEditorOpenCommandHandler extends CommonOpenEditorCommandHandler {
|
public final class GraphicsConversionEditorOpenCommandHandler extends CommonOpenEditorCommandHandler {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creation is public. Called by extension "org.eclipse.ui.popupMenus".
|
* Creation is public. Called by extension "org.eclipse.ui.popupMenus".
|
||||||
*/
|
*/
|
||||||
public GraphicsEditorOpenCommandHandler() {
|
public GraphicsConversionEditorOpenCommandHandler() {
|
||||||
super(GraphicsEditor.ID);
|
super(GraphicsConversionEditor.ID);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user