Improved support for DnD and startup file args
This commit is contained in:
parent
72f3c375e9
commit
440f47412f
|
@ -43,7 +43,7 @@ public class AnalyzePanel extends JComponent {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
if (handler != null && handler.accept(transferable)) {
|
if (handler != null && handler.accept(transferable)) {
|
||||||
handler.handleTransferable(transferable, TransferAction.ADD);
|
handler.handleTransferable(transferable, TransferAction.PUT);
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
debug.log(Level.WARNING, "Failed to handle transferable: " + transferable, e);
|
debug.log(Level.WARNING, "Failed to handle transferable: " + transferable, e);
|
||||||
|
|
|
@ -146,7 +146,7 @@ public class ListPanel extends JComponent {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
if (handler != null && handler.accept(transferable)) {
|
if (handler != null && handler.accept(transferable)) {
|
||||||
handler.handleTransferable(transferable, TransferAction.ADD);
|
handler.handleTransferable(transferable, TransferAction.PUT);
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
debug.log(Level.WARNING, "Failed to handle transferable: " + transferable, e);
|
debug.log(Level.WARNING, "Failed to handle transferable: " + transferable, e);
|
||||||
|
|
|
@ -651,7 +651,7 @@ public class RenamePanel extends JComponent {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
if (handler != null && handler.accept(transferable)) {
|
if (handler != null && handler.accept(transferable)) {
|
||||||
handler.handleTransferable(transferable, TransferAction.ADD);
|
handler.handleTransferable(transferable, TransferAction.PUT);
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
debug.log(Level.WARNING, "Failed to handle transferable: " + transferable, e);
|
debug.log(Level.WARNING, "Failed to handle transferable: " + transferable, e);
|
||||||
|
|
|
@ -139,7 +139,7 @@ public class SfvPanel extends JComponent {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
if (handler != null && handler.accept(transferable)) {
|
if (handler != null && handler.accept(transferable)) {
|
||||||
handler.handleTransferable(transferable, TransferAction.ADD);
|
handler.handleTransferable(transferable, TransferAction.PUT);
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
debug.log(Level.WARNING, "Failed to handle transferable: " + transferable, e);
|
debug.log(Level.WARNING, "Failed to handle transferable: " + transferable, e);
|
||||||
|
|
Loading…
Reference in New Issue