mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 02:07:42 +00:00
Merge pull request #644 from mrtizmo/corecomponentinterfaces
Corecomponentinterfaces - Added NON-NLS tag to hardcoded strings not needing...
This commit is contained in:
commit
63ab8545aa
@ -30,7 +30,7 @@ import org.sleuthkit.datamodel.BlackboardArtifact;
|
||||
*/
|
||||
public interface BlackboardResultViewer {
|
||||
|
||||
public static final String FINISHED_DISPLAY_EVT = "FINISHED_DISPLAY_EVT";
|
||||
public static final String FINISHED_DISPLAY_EVT = "FINISHED_DISPLAY_EVT"; //NON-NLS
|
||||
|
||||
|
||||
/**
|
||||
|
@ -55,11 +55,11 @@ public class CoreComponentControl {
|
||||
Collection<? extends DataExplorer> dataExplorers = Lookup.getDefault().lookupAll(DataExplorer.class);
|
||||
for (DataExplorer de : dataExplorers) {
|
||||
TopComponent explorerWin = de.getTopComponent();
|
||||
Mode m = WindowManager.getDefault().findMode("explorer");
|
||||
Mode m = WindowManager.getDefault().findMode("explorer"); //NON-NLS
|
||||
if (m != null) {
|
||||
m.dockInto(explorerWin); // redock into the explorer mode
|
||||
} else {
|
||||
logger.log(Level.WARNING, "Could not find explorer mode and dock explorer window");
|
||||
logger.log(Level.WARNING, "Could not find explorer mode and dock explorer window"); //NON-NLS
|
||||
}
|
||||
explorerWin.open(); // open that top component
|
||||
}
|
||||
@ -70,7 +70,7 @@ public class CoreComponentControl {
|
||||
if (m != null) {
|
||||
m.dockInto(contentWin); // redock into the output mode
|
||||
} else {
|
||||
logger.log(Level.WARNING, "Could not find output mode and dock content window");
|
||||
logger.log(Level.WARNING, "Could not find output mode and dock content window"); //NON-NLS
|
||||
}
|
||||
|
||||
contentWin.open(); // open that top component
|
||||
@ -98,7 +98,7 @@ public class CoreComponentControl {
|
||||
for (TopComponent tc : mode.getTopComponents()) {
|
||||
tcName = tc.getName();
|
||||
if (tcName == null) {
|
||||
logger.log(Level.INFO, "tcName was null");
|
||||
logger.log(Level.INFO, "tcName was null"); //NON-NLS
|
||||
tcName = "";
|
||||
}
|
||||
// switch requires constant strings, so converted to if/else.
|
||||
|
Loading…
x
Reference in New Issue
Block a user