mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-19 16:40:38 -09:00
GP-2897 Allow Diff with another open program within same tool. Modified
OpenVersionedFileDialog to faciltate the program selection.
This commit is contained in:
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user