mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 19:42:36 +02:00
GP-2897 Allow Diff with another open program within same tool. Modified
OpenVersionedFileDialog to faciltate the program selection.
This commit is contained in:
parent
dcf147150e
commit
d377b9642b
17 changed files with 536 additions and 281 deletions
|
@ -135,7 +135,9 @@ public abstract class LinkHandler<T extends DomainObjectAdapterDB> extends DBCon
|
|||
@Override
|
||||
public T getImmutableObject(FolderItem item, Object consumer, int version, int minChangeVersion,
|
||||
TaskMonitor monitor) throws IOException, CancelledException, VersionException {
|
||||
throw new UnsupportedOperationException("link-file does not support getImmutableObject");
|
||||
//throw new UnsupportedOperationException("link-file does not support getImmutableObject");
|
||||
// See GP-2903
|
||||
return getReadOnlyObject(item, version, true, consumer, monitor);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -497,7 +497,8 @@ public class DefaultProject implements Project {
|
|||
addProjectView(url, true);
|
||||
}
|
||||
catch (IOException e) {
|
||||
Msg.error(this, e.getMessage());
|
||||
Msg.error(this, "Project view not opended (" + GhidraURL.getDisplayString(url) +
|
||||
"): " + e.getMessage());
|
||||
}
|
||||
}
|
||||
it = root.getChildren(OPEN_REPOSITORY_VIEW_XML_NAME).iterator();
|
||||
|
@ -509,7 +510,8 @@ public class DefaultProject implements Project {
|
|||
addProjectView(url, true);
|
||||
}
|
||||
catch (IOException e) {
|
||||
Msg.error(this, e.getMessage());
|
||||
Msg.error(this, "Project view not opended (" + GhidraURL.getDisplayString(url) +
|
||||
"): " + e.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue