Omaha #4834 updated getName() to getPath()
Change-Id: I5b5ee985ea9f0db74235e6517f4c8764c3146bc2 Former-commit-id: 44ad78ca63c9b11cf444eaef1277cf238963ea0e
This commit is contained in:
parent
380bed06c7
commit
9251f6d18b
2 changed files with 6 additions and 5 deletions
|
@ -145,6 +145,7 @@ import com.raytheon.uf.viz.localization.service.ILocalizationService;
|
|||
* files for multiple Localization Types.
|
||||
* Nov 12, 2015 4834 njensen Changed LocalizationOpFailedException to LocalizationException
|
||||
* Nov 18, 2015 4834 njensen Updated to register file observing on PathManager
|
||||
* Dec 03, 2015 4834 njensen Updated for ILocalizationFile changes
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
|
@ -1809,7 +1810,7 @@ public class FileTreeView extends ViewPart implements IPartListener2,
|
|||
}
|
||||
|
||||
FileUpdatedMessage fum = new FileUpdatedMessage(file.getContext(),
|
||||
file.getName(), t, file.getTimeStamp().getTime(),
|
||||
file.getPath(), t, file.getTimeStamp().getTime(),
|
||||
file.getCheckSum());
|
||||
fileUpdated(fum);
|
||||
}
|
||||
|
|
|
@ -57,6 +57,7 @@ import com.raytheon.viz.ui.VizWorkbenchManager;
|
|||
* Jun 11, 2015 4541 skorolev Added NULL test for lf.
|
||||
* Oct 13, 2015 4410 bsteffen Allow localization perspective to mix
|
||||
* files for multiple Localization Types.
|
||||
* Dec 03, 2015 4834 njensen Updated for ILocalizationFile changes
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
|
@ -88,8 +89,7 @@ public class ImportFileAction extends Action {
|
|||
}
|
||||
|
||||
public ImportFileAction(List<LocalizationType> contextTypes,
|
||||
String directoryPath,
|
||||
String[] filter) {
|
||||
String directoryPath, String[] filter) {
|
||||
this(contextTypes, directoryPath);
|
||||
if (filter != null) {
|
||||
this.fileExtensionFilterArr = new String[filter.length];
|
||||
|
@ -182,7 +182,7 @@ public class ImportFileAction extends Action {
|
|||
ILocalizationFile file = existing.get(0);
|
||||
if (MessageDialog.openConfirm(VizWorkbenchManager.getInstance()
|
||||
.getCurrentWindow().getShell(), "Confirm Overwrite",
|
||||
String.format(FORMAT_STRING, file.getName(), file
|
||||
String.format(FORMAT_STRING, file.getPath(), file
|
||||
.getContext().getLocalizationLevel()))) {
|
||||
existing.clear();
|
||||
}
|
||||
|
@ -288,7 +288,7 @@ public class ImportFileAction extends Action {
|
|||
|
||||
private void updateText() {
|
||||
ILocalizationFile file = existingFiles.get(curIdx);
|
||||
messageLabel.setText(String.format(FORMAT_STRING, file.getName(),
|
||||
messageLabel.setText(String.format(FORMAT_STRING, file.getPath(),
|
||||
file.getContext().getLocalizationLevel()));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue