mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Revert method rename for compatibility.
This commit is contained in:
@@ -142,7 +142,7 @@ public abstract class XDebuggerEditorBase {
|
||||
|
||||
public abstract JComponent getComponent();
|
||||
|
||||
protected abstract void setEditorText(XExpression text);
|
||||
protected abstract void doSetText(XExpression text);
|
||||
|
||||
public void setExpression(@Nullable XExpression text) {
|
||||
if (text == null) {
|
||||
@@ -174,7 +174,7 @@ public abstract class XDebuggerEditorBase {
|
||||
myChooseFactory.setDisabledIcon(IconLoader.getDisabledIcon(icon));
|
||||
}
|
||||
|
||||
setEditorText(text);
|
||||
doSetText(text);
|
||||
}
|
||||
|
||||
@Nullable
|
||||
|
||||
+1
-1
@@ -128,7 +128,7 @@ public class XDebuggerExpressionComboBox extends XDebuggerEditorBase {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void setEditorText(XExpression text) {
|
||||
protected void doSetText(XExpression text) {
|
||||
if (myComboBox.getItemCount() > 0) {
|
||||
myComboBox.setSelectedIndex(0);
|
||||
}
|
||||
|
||||
+1
-1
@@ -69,7 +69,7 @@ public class XDebuggerMultilineEditor extends XDebuggerEditorBase {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void setEditorText(XExpression text) {
|
||||
protected void doSetText(XExpression text) {
|
||||
myExpression = text;
|
||||
Language language = text.getLanguage();
|
||||
FileType fileType = language != null ? language.getAssociatedFileType() : getEditorsProvider().getFileType();
|
||||
|
||||
@@ -143,7 +143,7 @@ public class ArrayTableCellEditor extends AbstractCellEditor implements TableCel
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void setEditorText(XExpression text) {
|
||||
protected void doSetText(XExpression text) {
|
||||
myEditorTextField.setText(text.getExpression());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user