mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-25 14:30:47 +00:00
ABCExplorer - update when ABC changes
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1874,12 +1874,14 @@ public class ABCPanel extends JPanel implements ItemListener, SearchListener<Scr
|
||||
abc.pack();
|
||||
}
|
||||
((Tag) abc.parentTag).setModified(true);
|
||||
abc.fireChanged();
|
||||
}
|
||||
});
|
||||
} else {
|
||||
traits.traits.remove(traitIndex);
|
||||
((Tag) abc.parentTag).setModified(true);
|
||||
reload();
|
||||
abc.fireChanged();
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1992,8 +1994,9 @@ public class ABCPanel extends JPanel implements ItemListener, SearchListener<Scr
|
||||
decompiledTextArea.gotoTrait(traitId);
|
||||
decompiledTextArea.removeScriptListener(this);
|
||||
}
|
||||
});
|
||||
});
|
||||
reload();
|
||||
abc.fireChanged();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -350,6 +350,7 @@ public class ASMSourceEditorPane extends DebuggableEditorPane implements CaretLi
|
||||
ViewMessages.showMessageDialog(Main.getDefaultMessagesComponent(), (ex.text + " on line " + ex.line), Main.getMainFrame().translate("error"), JOptionPane.ERROR_MESSAGE);
|
||||
return false;
|
||||
}
|
||||
abc.fireChanged();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@@ -124,6 +124,7 @@ public class ClassTraitDetailPanel extends JPanel implements TraitDetail {
|
||||
|
||||
abc.refreshMultinameNamespaceSuffixes();
|
||||
((Tag) abc.parentTag).setModified(true);
|
||||
abc.fireChanged();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@@ -127,6 +127,7 @@ public class SlotConstTraitDetailPanel extends JPanel implements TraitDetail {
|
||||
|
||||
abc.refreshMultinameNamespaceSuffixes();
|
||||
((Tag) abc.parentTag).setModified(true);
|
||||
abc.fireChanged();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user