# HG changeset patch # User Matti Laitinen # Date 1271839439 -10800 # Node ID df27719e5a0d350bf52dfbc9be9cfcc92ff30334 # Parent 018264c44c89f6b3f3749b6e64e3d6746cf22866 Framework 1.8.0 What's new: * Change: Improved the wizard by adding a new section used to add OST Trace Dictionary Files. diff -r 018264c44c89 -r df27719e5a0d frameworkplugins/ccbuild.xml --- a/frameworkplugins/ccbuild.xml Thu Mar 04 13:38:40 2010 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,102 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff -r 018264c44c89 -r df27719e5a0d frameworkplugins/com.nokia.s60tools.extensions.framework/feature.xml --- a/frameworkplugins/com.nokia.s60tools.extensions.framework/feature.xml Thu Mar 04 13:38:40 2010 +0200 +++ b/frameworkplugins/com.nokia.s60tools.extensions.framework/feature.xml Wed Apr 21 11:43:59 2010 +0300 @@ -1,36 +1,37 @@ - + - Common framework plug-ins feature contains following plug-ins: -com.nokia.s60tools.util: -Util plug-in provides miscellaneous utility classes for logging -to Eclipse’s Console view output, for parametrizable debugging, -and for interaction with external command line tools. -com.nokia.s60tools.ui: -UI plug-in provides classes providing reusable UI services, such -as, dialogs, customized UI components, custom sorters, and other -UI related helper classes. -com.nokia.s60tools.sdk (deprecated): -Plug-in SDK provides from Carbide.c++ v1.2 onwards a stable API -for accessing SDK related services. This API is deprecated, and -by com.nokia.carbide.cpp.sdk.core should be used instead whenever -possible. This SDK plugin is still however in use because of backward -compatibility reasons, and it also offers some services that + Common framework plug-ins feature contains following plug-ins: +com.nokia.s60tools.util: +Util plug-in provides miscellaneous utility classes for logging +to Eclipse’s Console view output, for parametrizable debugging, +and for interaction with external command line tools. +com.nokia.s60tools.ui: +UI plug-in provides classes providing reusable UI services, such +as, dialogs, customized UI components, custom sorters, and other +UI related helper classes. +com.nokia.s60tools.sdk (deprecated): +Plug-in SDK provides from Carbide.c++ v1.2 onwards a stable API +for accessing SDK related services. This API is deprecated, and +by com.nokia.carbide.cpp.sdk.core should be used instead whenever +possible. This SDK plugin is still however in use because of +backward +compatibility reasons, and it also offers some services that are not available via Carbide's SDK API. - Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). + Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. License: http://www.eclipse.org/legal/epl-v10.html. -Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). + Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. This component and the accompanying materials are made available under the terms of "Eclipse Public License v1.0" @@ -38,10 +39,6 @@ at the URL "http://www.eclipse.org/legal/epl-v10.html". - - - - diff -r 018264c44c89 -r df27719e5a0d frameworkplugins/com.nokia.s60tools.extensions.framework/license.txt --- a/frameworkplugins/com.nokia.s60tools.extensions.framework/license.txt Thu Mar 04 13:38:40 2010 +0200 +++ b/frameworkplugins/com.nokia.s60tools.extensions.framework/license.txt Wed Apr 21 11:43:59 2010 +0300 @@ -1,4 +1,4 @@ -Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). +Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. This component and the accompanying materials are made available under the terms of "Eclipse Public License v1.0" diff -r 018264c44c89 -r df27719e5a0d frameworkplugins/com.nokia.s60tools.sdk/META-INF/MANIFEST.MF --- a/frameworkplugins/com.nokia.s60tools.sdk/META-INF/MANIFEST.MF Thu Mar 04 13:38:40 2010 +0200 +++ b/frameworkplugins/com.nokia.s60tools.sdk/META-INF/MANIFEST.MF Wed Apr 21 11:43:59 2010 +0300 @@ -2,7 +2,7 @@ Bundle-ManifestVersion: 2 Bundle-Name: Carbide.c++ Extensions - SDK Manager Service Bundle-SymbolicName: com.nokia.s60tools.sdk -Bundle-Version: 1.5.0 +Bundle-Version: 1.8.0 Bundle-Activator: com.nokia.s60tools.sdk.internal.SdkPlugin Bundle-Vendor: Nokia Require-Bundle: org.eclipse.core.runtime, diff -r 018264c44c89 -r df27719e5a0d frameworkplugins/com.nokia.s60tools.sdk/build.xml --- a/frameworkplugins/com.nokia.s60tools.sdk/build.xml Thu Mar 04 13:38:40 2010 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,191 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - basic - codesize - coupling - design - strictexception - strings - sunsecure - unusedcode - junit - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff -r 018264c44c89 -r df27719e5a0d frameworkplugins/com.nokia.s60tools.sdk/ccbuild.xml --- a/frameworkplugins/com.nokia.s60tools.sdk/ccbuild.xml Thu Mar 04 13:38:40 2010 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,223 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - basic - codesize - coupling - design - strictexception - strings - sunsecure - unusedcode - junit - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff -r 018264c44c89 -r df27719e5a0d frameworkplugins/com.nokia.s60tools.ui/META-INF/MANIFEST.MF --- a/frameworkplugins/com.nokia.s60tools.ui/META-INF/MANIFEST.MF Thu Mar 04 13:38:40 2010 +0200 +++ b/frameworkplugins/com.nokia.s60tools.ui/META-INF/MANIFEST.MF Wed Apr 21 11:43:59 2010 +0300 @@ -2,7 +2,7 @@ Bundle-ManifestVersion: 2 Bundle-Name: Carbide.c++ Extensions - UI Services Bundle-SymbolicName: com.nokia.s60tools.ui;singleton:=true -Bundle-Version: 1.7.0 +Bundle-Version: 1.8.0 Bundle-Activator: com.nokia.s60tools.ui.internal.S60ToolsUiPlugin Bundle-Vendor: Nokia Require-Bundle: org.eclipse.ui, diff -r 018264c44c89 -r df27719e5a0d frameworkplugins/com.nokia.s60tools.ui/build.xml --- a/frameworkplugins/com.nokia.s60tools.ui/build.xml Thu Mar 04 13:38:40 2010 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,188 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - basic - codesize - coupling - design - strictexception - strings - sunsecure - unusedcode - junit - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff -r 018264c44c89 -r df27719e5a0d frameworkplugins/com.nokia.s60tools.ui/ccbuild.xml --- a/frameworkplugins/com.nokia.s60tools.ui/ccbuild.xml Thu Mar 04 13:38:40 2010 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,157 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - basic - codesize - coupling - design - strictexception - strings - sunsecure - unusedcode - junit - - - - - - - - - - - - - - - diff -r 018264c44c89 -r df27719e5a0d frameworkplugins/com.nokia.s60tools.ui/src/com/nokia/s60tools/ui/internal/resources/messages.properties --- a/frameworkplugins/com.nokia.s60tools.ui/src/com/nokia/s60tools/ui/internal/resources/messages.properties Thu Mar 04 13:38:40 2010 +0200 +++ b/frameworkplugins/com.nokia.s60tools.ui/src/com/nokia/s60tools/ui/internal/resources/messages.properties Wed Apr 21 11:43:59 2010 +0300 @@ -24,3 +24,5 @@ DebugMetadataWizardPage.InvalidMapFilesZip=Invalid MapFiles.zip DebugMetadataWizardPage.SdkMapFilesFolderNotSelected=SDK Map files folder not selected. DebugMetadataWizardPage.RomIdsDoNotMatch=ROM IDs of selected files do not match. Only selge.ini can be used. +DebugMetadataWizardPage.TraceFiles=OST Trace Dictionary Files (.xml, .zip) +DebugMetadataWizardPage.SelectTraceFile=Select OST trace dictionary file diff -r 018264c44c89 -r df27719e5a0d frameworkplugins/com.nokia.s60tools.ui/src/com/nokia/s60tools/ui/wizards/DebugMetadataWizardPage.java --- a/frameworkplugins/com.nokia.s60tools.ui/src/com/nokia/s60tools/ui/wizards/DebugMetadataWizardPage.java Thu Mar 04 13:38:40 2010 +0200 +++ b/frameworkplugins/com.nokia.s60tools.ui/src/com/nokia/s60tools/ui/wizards/DebugMetadataWizardPage.java Wed Apr 21 11:43:59 2010 +0300 @@ -69,13 +69,14 @@ // width hint for all buttons in the page final int BUTTON_WIDTH = 60; // height hint for all lists in the page - final int LIST_HEIGHT = 50; + final int LIST_HEIGHT = 30; // filters for file selection dialogs static final String SELGE_INI_FILTER = "selge.ini"; static final String SYMBOL_FILTER = "*.symbol"; static final String ZIP_FILTER = "*.zip"; static final String[] IMAGE_FILTER = {"*.fpsx", "*.img", "*.v??", ".c??", "*.*"}; + static final String[] TRACE_FILTER = {"*.xml", "*.zip" }; // wizard saves last entered values to these tags in dialog_settings.xml static final String LAST_USED_SELGE_INI_FILES = "SelgeIniFiles"; //$NON-NLS-1$ @@ -84,6 +85,7 @@ static final String LAST_USED_MAPFILES_FOLDER = "MapFilesFolder"; //$NON-NLS-1$ static final String LAST_USED_MAPZIP_FILES = "MapZipFiles"; //$NON-NLS-1$ static final String LAST_USED_IMAGE_FILES = "ImageFiles"; //$NON-NLS-1$ + static final String LAST_USED_TRACE_FILES = "TraceFiles"; //$NON-NLS-1$ static final String LAST_USED_MAPFILE_TYPE = "LastUsedMapFileType"; //$NON-NLS-1$ static final String LAST_USED_SDK = "LastUsedSdk"; //$NON-NLS-1$ @@ -109,6 +111,8 @@ protected Button buttonNoMapFilesRadio; protected Button buttonAddSymbol; protected Button buttonRemoveSymbol; + protected Button buttonAddTraceFile; + protected Button buttonRemoveTraceFile; protected Button buttonAddImageFile; protected Button buttonRemoveImageFile; protected Combo comboMapFilesFolder; @@ -117,6 +121,7 @@ protected Group groupSymbolFiles; protected Group groupMapFiles; protected Group groupImageFiles; + protected Group groupTraceFiles; protected Group groupSelgeSymbolRadios; protected Label labelMapFilesFolder; protected Label labelZip; @@ -124,6 +129,7 @@ protected Label labelNoMapFiles; protected List listSymbols; protected List listImageFiles; + protected List listTraceFiles; // owner can pass in ROM IDs so that we can check that correct symbol is selected protected String[] romIds = null; @@ -135,7 +141,7 @@ protected String defaultSelgeIniFile = "\\\\Vagrp014\\groups4\\Builds\\S60RnD\\S60_5_0\\SelgeIniFile\\selge.ini"; //$NON-NLS-1$ // defines whether image files selection should be visible in the page - boolean showImageFilesGroup = false; + boolean showImageAndTraceFilesGroup = false; // section where this wizard pages data is saved IDialogSettings previousValuesSection; @@ -154,18 +160,17 @@ */ public DebugMetadataWizardPage(String pageName, String title, - boolean imageFilesGroup, + boolean imageAndTraceFilesGroup, IDialogSettings section, int maxSavedValues){ super(pageName); MAX_SAVED_VALUES = maxSavedValues; - showImageFilesGroup = imageFilesGroup; + showImageAndTraceFilesGroup = imageAndTraceFilesGroup; previousValuesSection = section; setTitle(title); setDescription(Messages.getString("DebugMetadataWizardPage.SelgeIniDescription")); //$NON-NLS-1$ - setPageComplete(true); } @@ -182,6 +187,7 @@ } @Override + public void setInitialFocus() { if (buttonSelgeRadio.getSelection()) comboSelge.setFocus(); @@ -231,6 +237,7 @@ setControl(composite); } + /** * Creates UI controls for selge.ini usage @@ -346,8 +353,10 @@ createMapFilesGroup(composite); // if image files UI is wanted, create it - if (showImageFilesGroup) + if (showImageAndTraceFilesGroup) { + createTraceFilesGroup(composite); createImageFilesGroup(composite); + } } /** @@ -507,6 +516,51 @@ } /** + * Creates UI controls for OST trace dictionary files usage. + * + */ + void createTraceFilesGroup(Composite parent) { + // Image files group + groupTraceFiles = new Group(parent, SWT.NONE); + GridData gd = new GridData(GridData.FILL_BOTH); + gd.horizontalSpan = 2; + gd.verticalIndent = 10; + GridLayout gl = new GridLayout(); + gl.numColumns = 2; + groupTraceFiles.setLayout(gl); + groupTraceFiles.setText(Messages.getString("DebugMetadataWizardPage.TraceFiles")); //$NON-NLS-1$ + groupTraceFiles.setLayoutData(gd); + + // OST trace dictionary file list + listTraceFiles = new List(groupTraceFiles, SWT.BORDER | SWT.V_SCROLL | SWT.H_SCROLL | SWT.MULTI); + GridData gdHorizontalTop = new GridData(GridData.FILL_HORIZONTAL | GridData.VERTICAL_ALIGN_BEGINNING); + gdHorizontalTop.verticalSpan = 2; + gdHorizontalTop.heightHint = LIST_HEIGHT; + listTraceFiles.setLayoutData(gdHorizontalTop); + + // read last used trace dictionary files and fill them into the list + String[] lastUsed = getPreviousPaths(LAST_USED_TRACE_FILES); + if (lastUsed != null) { + listTraceFiles.setItems(lastUsed); + } + + GridData gdButtons = new GridData(); + gdButtons.widthHint = BUTTON_WIDTH; + + // Add trace dictionary file button + buttonAddTraceFile = new Button(groupTraceFiles, SWT.PUSH); + buttonAddTraceFile.setText(Messages.getString("DebugMetadataWizardPage.Add")); //$NON-NLS-1$ + buttonAddTraceFile.setLayoutData(gdButtons); + buttonAddTraceFile.addSelectionListener(this); + + // Remove trace dictionary file button + buttonRemoveTraceFile = new Button(groupTraceFiles, SWT.PUSH); + buttonRemoveTraceFile.setText(Messages.getString("DebugMetadataWizardPage.Remove")); //$NON-NLS-1$ + buttonRemoveTraceFile.setLayoutData(gdButtons); + buttonRemoveTraceFile.addSelectionListener(this); + } + + /** * Creates UI controls for image files usage. * */ @@ -563,10 +617,10 @@ // show symbol group // ROWS COMMENTED SO THAT THEY CAN BE RESTORED INCASE SELGE.INI USAGE IS RESTORED -/* gd = (GridData)groupSymbol.getLayoutData(); - groupSymbol.setVisible(true); - gd.exclude = false; -*/ +// gd = (GridData)groupSymbol.getLayoutData(); +// groupSymbol.setVisible(true); +// gd.exclude = false; +// // hide selge group gd = (GridData)groupSelge.getLayoutData(); gd.exclude = true; @@ -665,6 +719,15 @@ } /** + * Returns trace dictionary files selected by user. + */ + public String[] getTraceFiles() { + assert listTraceFiles != null; + + return listTraceFiles.getItems(); + } + + /** * Returns the provided ROM IDs */ public String[] getRomIds() { @@ -764,6 +827,47 @@ listSymbols.remove(selectedItems); } + // Add trace file button pressed + } else if (event.widget == buttonAddTraceFile) { + FileDialog dialog = new FileDialog(this.getShell(), SWT.OPEN | SWT.MULTI); + dialog.setText(Messages.getString("DebugMetadataWizardPage.SelectTraceFile")); //$NON-NLS-1$ + String[] filterExt = TRACE_FILTER; + dialog.setFilterExtensions(filterExt); + String result = dialog.open(); + // if user selected files, check that files don't already exist in the list + // and add them if they don't already exist. + if (result != null) { + String[] fileNames = dialog.getFileNames(); + if (fileNames != null) { + String path = dialog.getFilterPath() + File.separator; + for (int j = 0; j < fileNames.length; j++) { + String filePath = path + fileNames[j]; + String[] listItems = listTraceFiles.getItems(); + if (listItems != null && listItems.length > 0) { + boolean found = false; + for (int i = 0; i < listItems.length; i++) { + String listItem = listItems[i]; + if (listItem.compareToIgnoreCase(filePath) == 0) { + found = true; + break; + } + } + if (!found) + listTraceFiles.add(filePath); + } else { + listTraceFiles.add(filePath); + } + } + } + } + + // Remove OST trace file button pressed + } else if (event.widget == buttonRemoveTraceFile) { + int[] selectedItems = listTraceFiles.getSelectionIndices(); + if (selectedItems != null && selectedItems.length > 0) { + listTraceFiles.remove(selectedItems); + } + // Add image file button pressed } else if (event.widget == buttonAddImageFile) { FileDialog dialog = new FileDialog(this.getShell(), SWT.OPEN | SWT.MULTI); @@ -1026,8 +1130,12 @@ saveValue(comboMapFilesZip.getText(), LAST_USED_MAPZIP_FILES, false); saveValue(comboMapFilesFolder.getText(), LAST_USED_MAPFILES_FOLDER, false); saveValue(comboSdkFolder.getText(), LAST_USED_SDK, true); - if (showImageFilesGroup) + + if (showImageAndTraceFilesGroup) { saveValues(listImageFiles.getItems(), LAST_USED_IMAGE_FILES); + saveValues(listTraceFiles.getItems(), LAST_USED_TRACE_FILES); + } + int mapType = NO_MAP_FILES_RADIO; if (buttonMapFilesFolderRadio.getSelection()) mapType = MAP_FILES_FOLDER_RADIO; @@ -1071,10 +1179,13 @@ PlatformUI.getWorkbench().getHelpSystem().setHelp(comboSdkFolder, helpContext); PlatformUI.getWorkbench().getHelpSystem().setHelp(buttonShowSelgeDetails, helpContext); PlatformUI.getWorkbench().getHelpSystem().setHelp(textSelgeDetails, helpContext); - if (showImageFilesGroup) { + if (showImageAndTraceFilesGroup) { PlatformUI.getWorkbench().getHelpSystem().setHelp(listImageFiles, helpContext); PlatformUI.getWorkbench().getHelpSystem().setHelp(buttonAddImageFile, helpContext); PlatformUI.getWorkbench().getHelpSystem().setHelp(buttonRemoveImageFile, helpContext); + PlatformUI.getWorkbench().getHelpSystem().setHelp(listTraceFiles, helpContext); + PlatformUI.getWorkbench().getHelpSystem().setHelp(buttonAddTraceFile, helpContext); + PlatformUI.getWorkbench().getHelpSystem().setHelp(buttonRemoveTraceFile, helpContext); } } diff -r 018264c44c89 -r df27719e5a0d frameworkplugins/com.nokia.s60tools.util/META-INF/MANIFEST.MF --- a/frameworkplugins/com.nokia.s60tools.util/META-INF/MANIFEST.MF Thu Mar 04 13:38:40 2010 +0200 +++ b/frameworkplugins/com.nokia.s60tools.util/META-INF/MANIFEST.MF Wed Apr 21 11:43:59 2010 +0300 @@ -2,7 +2,7 @@ Bundle-ManifestVersion: 2 Bundle-Name: Carbide.c++ Extensions - Utilities Bundle-SymbolicName: com.nokia.s60tools.util -Bundle-Version: 1.7.0 +Bundle-Version: 1.8.0 Bundle-Activator: com.nokia.s60tools.util.internal.UtilPlugin Bundle-Vendor: Nokia Require-Bundle: org.eclipse.core.runtime, diff -r 018264c44c89 -r df27719e5a0d frameworkplugins/com.nokia.s60tools.util/build.xml --- a/frameworkplugins/com.nokia.s60tools.util/build.xml Thu Mar 04 13:38:40 2010 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,193 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - basic - codesize - coupling - design - strictexception - strings - sunsecure - unusedcode - junit - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff -r 018264c44c89 -r df27719e5a0d frameworkplugins/com.nokia.s60tools.util/ccbuild.xml --- a/frameworkplugins/com.nokia.s60tools.util/ccbuild.xml Thu Mar 04 13:38:40 2010 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,225 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - basic - codesize - coupling - design - strictexception - strings - sunsecure - unusedcode - junit - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff -r 018264c44c89 -r df27719e5a0d frameworkplugins/com.nokia.s60tools.util/src/com/nokia/s60tools/util/resource/FileUtils.java --- a/frameworkplugins/com.nokia.s60tools.util/src/com/nokia/s60tools/util/resource/FileUtils.java Thu Mar 04 13:38:40 2010 +0200 +++ b/frameworkplugins/com.nokia.s60tools.util/src/com/nokia/s60tools/util/resource/FileUtils.java Wed Apr 21 11:43:59 2010 +0300 @@ -26,6 +26,13 @@ import java.io.FileWriter; import java.io.IOException; import java.io.OutputStreamWriter; +import java.net.InetAddress; +import java.net.UnknownHostException; +import java.nio.channels.FileChannel; +import java.nio.channels.FileLock; +import java.text.SimpleDateFormat; +import java.util.Calendar; +import java.util.Date; import org.eclipse.core.resources.IFile; import org.eclipse.core.resources.IProject; @@ -46,6 +53,7 @@ import org.eclipse.ui.PlatformUI; import org.eclipse.ui.part.FileEditorInput; +import com.nokia.s60tools.util.debug.DbgUtility; import com.nokia.s60tools.util.internal.Messages; /**