Commit c8369b28 authored by Kristof Szabados's avatar Kristof Szabados
Browse files

organized imports


Signed-off-by: Kristof Szabados's avatarkristof <Kristof.Szabados@ericsson.com>
parent 0885bbd7
......@@ -7,14 +7,14 @@
******************************************************************************/
package org.eclipse.titan.executor.designerconnection;
import java.util.List;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.titan.common.logging.ErrorReporter;
import org.eclipse.titan.common.utils.StringUtils;
import java.util.List;
/**
* @author Kristof Szabados
* */
......
......@@ -7,6 +7,11 @@
******************************************************************************/
package org.eclipse.titan.executor.designerconnection;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.QualifiedName;
......@@ -16,11 +21,6 @@ import org.eclipse.titan.common.logging.ErrorReporter;
import org.eclipse.titan.common.path.PathConverter;
import org.eclipse.titan.executor.TITANDebugConsole;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* This class has utility functions to help handling environmental variables.
*
......
......@@ -7,6 +7,42 @@
******************************************************************************/
package org.eclipse.titan.executor.executors;
import static org.eclipse.titan.common.utils.StringUtils.isNullOrEmpty;
import static org.eclipse.titan.executor.GeneralConstants.CONFIGFILEPATH;
import static org.eclipse.titan.executor.GeneralConstants.CONSOLELOGGING;
import static org.eclipse.titan.executor.GeneralConstants.EXECUTABLEFILEPATH;
import static org.eclipse.titan.executor.GeneralConstants.EXECUTECONFIGFILEONLAUNCH;
import static org.eclipse.titan.executor.GeneralConstants.HOSTCOMMANDS;
import static org.eclipse.titan.executor.GeneralConstants.HOSTEXECUTABLES;
import static org.eclipse.titan.executor.GeneralConstants.HOSTNAMES;
import static org.eclipse.titan.executor.GeneralConstants.HOSTWORKINGDIRECTORIES;
import static org.eclipse.titan.executor.GeneralConstants.KEEPTEMPORARILYGENERATEDCONFIGURATIONFILES;
import static org.eclipse.titan.executor.GeneralConstants.MAXIMUMNOTIFICATIONLINECOUNT;
import static org.eclipse.titan.executor.GeneralConstants.PROJECTNAME;
import static org.eclipse.titan.executor.GeneralConstants.REPLACEABLEHOSTEXECUTABLE;
import static org.eclipse.titan.executor.GeneralConstants.REPLACEABLEHOSTNAME;
import static org.eclipse.titan.executor.GeneralConstants.REPLACEABLEHOSTWORKIGNDIRECTORY;
import static org.eclipse.titan.executor.GeneralConstants.REPLACEABLEMCHOST;
import static org.eclipse.titan.executor.GeneralConstants.REPLACEABLEMCPORT;
import static org.eclipse.titan.executor.GeneralConstants.SEVERITYLEVELEXTRACTION;
import static org.eclipse.titan.executor.GeneralConstants.TESTCASEREFRESHONSTART;
import static org.eclipse.titan.executor.GeneralConstants.VERDICTEXTRACTION;
import static org.eclipse.titan.executor.GeneralConstants.WORKINGDIRECTORYPATH;
import static org.eclipse.titan.executor.properties.FieldEditorPropertyPage.getOverlayedPreferenceValue;
import java.io.BufferedWriter;
import java.io.File;
import java.io.IOException;
import java.net.URI;
import java.util.ArrayList;
import java.util.Date;
import java.util.Formatter;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.concurrent.CopyOnWriteArrayList;
import org.eclipse.core.filesystem.URIUtil;
import org.eclipse.core.resources.IContainer;
import org.eclipse.core.resources.IFile;
......@@ -58,42 +94,6 @@ import org.eclipse.titan.executor.views.testexecution.ExecutedTestcase;
import org.eclipse.ui.console.MessageConsoleStream;
import org.eclipse.ui.progress.IProgressConstants;
import java.io.BufferedWriter;
import java.io.File;
import java.io.IOException;
import java.net.URI;
import java.util.ArrayList;
import java.util.Date;
import java.util.Formatter;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.concurrent.CopyOnWriteArrayList;
import static org.eclipse.titan.common.utils.StringUtils.isNullOrEmpty;
import static org.eclipse.titan.executor.GeneralConstants.CONFIGFILEPATH;
import static org.eclipse.titan.executor.GeneralConstants.CONSOLELOGGING;
import static org.eclipse.titan.executor.GeneralConstants.EXECUTABLEFILEPATH;
import static org.eclipse.titan.executor.GeneralConstants.EXECUTECONFIGFILEONLAUNCH;
import static org.eclipse.titan.executor.GeneralConstants.HOSTCOMMANDS;
import static org.eclipse.titan.executor.GeneralConstants.HOSTEXECUTABLES;
import static org.eclipse.titan.executor.GeneralConstants.HOSTNAMES;
import static org.eclipse.titan.executor.GeneralConstants.HOSTWORKINGDIRECTORIES;
import static org.eclipse.titan.executor.GeneralConstants.KEEPTEMPORARILYGENERATEDCONFIGURATIONFILES;
import static org.eclipse.titan.executor.GeneralConstants.MAXIMUMNOTIFICATIONLINECOUNT;
import static org.eclipse.titan.executor.GeneralConstants.PROJECTNAME;
import static org.eclipse.titan.executor.GeneralConstants.REPLACEABLEHOSTEXECUTABLE;
import static org.eclipse.titan.executor.GeneralConstants.REPLACEABLEHOSTNAME;
import static org.eclipse.titan.executor.GeneralConstants.REPLACEABLEHOSTWORKIGNDIRECTORY;
import static org.eclipse.titan.executor.GeneralConstants.REPLACEABLEMCHOST;
import static org.eclipse.titan.executor.GeneralConstants.REPLACEABLEMCPORT;
import static org.eclipse.titan.executor.GeneralConstants.SEVERITYLEVELEXTRACTION;
import static org.eclipse.titan.executor.GeneralConstants.TESTCASEREFRESHONSTART;
import static org.eclipse.titan.executor.GeneralConstants.VERDICTEXTRACTION;
import static org.eclipse.titan.executor.GeneralConstants.WORKINGDIRECTORYPATH;
import static org.eclipse.titan.executor.properties.FieldEditorPropertyPage.getOverlayedPreferenceValue;
/**
* This is a base class to build the Executors on.
* <p>
......
......@@ -7,11 +7,11 @@
******************************************************************************/
package org.eclipse.titan.executor.executors;
import java.util.List;
import org.eclipse.jface.viewers.ITreeContentProvider;
import org.eclipse.jface.viewers.Viewer;
import java.util.List;
/**
* Simple content provider for the execute dialog.
*
......
......@@ -7,6 +7,13 @@
******************************************************************************/
package org.eclipse.titan.executor.executors;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.StringReader;
import java.util.Date;
import java.util.Formatter;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Status;
......@@ -24,13 +31,6 @@ import org.eclipse.titan.executor.views.notification.Notification;
import org.eclipse.ui.console.MessageConsoleStream;
import org.eclipse.ui.progress.IProgressConstants;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.StringReader;
import java.util.Date;
import java.util.Formatter;
/**
* Connects to the a started Host Controllers and redirects its output to the notification view and the TITANConsole.
*
......
......@@ -8,7 +8,6 @@
package org.eclipse.titan.executor.executors;
import static org.eclipse.titan.executor.GeneralConstants.EXECUTECONFIGFILEONLAUNCH;
import org.eclipse.titan.designer.properties.data.ProjectFileHandler;
import java.util.ArrayList;
import java.util.List;
......@@ -28,6 +27,7 @@ import org.eclipse.jface.viewers.ISelection;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.jface.window.Window;
import org.eclipse.titan.common.logging.ErrorReporter;
import org.eclipse.titan.designer.properties.data.ProjectFileHandler;
import org.eclipse.titan.executor.tabpages.hostcontrollers.HostControllersTab;
import org.eclipse.ui.IEditorPart;
import org.eclipse.ui.dialogs.ElementListSelectionDialog;
......
......@@ -7,12 +7,12 @@
******************************************************************************/
package org.eclipse.titan.executor.jni;
import org.eclipse.core.runtime.Platform;
import org.eclipse.titan.executor.TITANConsole;
import java.util.ArrayList;
import java.util.List;
import org.eclipse.core.runtime.Platform;
import org.eclipse.titan.executor.TITANConsole;
/**
* The middleware that connects the JNI executor and the MainController.
*
......
......@@ -7,6 +7,9 @@
******************************************************************************/
package org.eclipse.titan.executor.properties;
import java.util.ArrayList;
import java.util.List;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.runtime.CoreException;
......@@ -36,9 +39,6 @@ import org.eclipse.titan.common.utils.ResourceUtils;
import org.eclipse.titan.executor.Activator;
import org.eclipse.ui.IWorkbenchPropertyPage;
import java.util.ArrayList;
import java.util.List;
/**
* @author Szabolcs Beres
......
......@@ -7,6 +7,9 @@
******************************************************************************/
package org.eclipse.titan.executor.properties;
import java.io.IOException;
import java.io.OutputStream;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.QualifiedName;
......@@ -14,9 +17,6 @@ import org.eclipse.jface.preference.IPreferenceStore;
import org.eclipse.jface.preference.PreferenceStore;
import org.eclipse.titan.common.logging.ErrorReporter;
import java.io.IOException;
import java.io.OutputStream;
/**
* @author Szabolcs Beres
......
......@@ -7,6 +7,14 @@
******************************************************************************/
package org.eclipse.titan.executor.tabpages.hostcontrollers;
import static org.eclipse.titan.executor.GeneralConstants.HOSTCOMMANDS;
import static org.eclipse.titan.executor.GeneralConstants.HOSTEXECUTABLES;
import static org.eclipse.titan.executor.GeneralConstants.HOSTNAMES;
import static org.eclipse.titan.executor.GeneralConstants.HOSTWORKINGDIRECTORIES;
import java.util.ArrayList;
import java.util.List;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.debug.core.ILaunchConfiguration;
import org.eclipse.jface.viewers.IStructuredContentProvider;
......@@ -14,14 +22,6 @@ import org.eclipse.jface.viewers.Viewer;
import org.eclipse.titan.common.logging.ErrorReporter;
import org.eclipse.titan.executor.HostController;
import java.util.ArrayList;
import java.util.List;
import static org.eclipse.titan.executor.GeneralConstants.HOSTCOMMANDS;
import static org.eclipse.titan.executor.GeneralConstants.HOSTEXECUTABLES;
import static org.eclipse.titan.executor.GeneralConstants.HOSTNAMES;
import static org.eclipse.titan.executor.GeneralConstants.HOSTWORKINGDIRECTORIES;
/**
* @author Kristof Szabados
* */
......
......@@ -7,13 +7,13 @@
******************************************************************************/
package org.eclipse.titan.executor.tabpages.testset;
import java.util.Iterator;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.jface.viewers.TableViewer;
import org.eclipse.swt.dnd.DragSourceAdapter;
import org.eclipse.swt.dnd.DragSourceEvent;
import java.util.Iterator;
/**
* @author Kristof Szabados
* */
......
......@@ -7,16 +7,16 @@
******************************************************************************/
package org.eclipse.titan.executor.tabpages.testset;
import org.eclipse.swt.dnd.ByteArrayTransfer;
import org.eclipse.swt.dnd.TransferData;
import org.eclipse.titan.common.logging.ErrorReporter;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;
import org.eclipse.swt.dnd.ByteArrayTransfer;
import org.eclipse.swt.dnd.TransferData;
import org.eclipse.titan.common.logging.ErrorReporter;
/**
* @author Kristof Szabados
* */
......
......@@ -7,13 +7,13 @@
******************************************************************************/
package org.eclipse.titan.executor.tabpages.testset;
import java.util.List;
import org.eclipse.jface.viewers.ITreeContentProvider;
import org.eclipse.jface.viewers.Viewer;
import org.eclipse.titan.executor.executors.ITreeBranch;
import org.eclipse.titan.executor.executors.ITreeLeaf;
import java.util.List;
/**
* @author Kristof Szabados
* */
......
......@@ -7,16 +7,16 @@
******************************************************************************/
package org.eclipse.titan.executor.tabpages.testset;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.jface.viewers.TreeViewer;
import org.eclipse.swt.dnd.DND;
import org.eclipse.swt.dnd.DragSourceEvent;
import org.eclipse.swt.dnd.DragSourceListener;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
/**
* @author Kristof Szabados
* */
......
......@@ -7,14 +7,14 @@
******************************************************************************/
package org.eclipse.titan.executor.views.executormonitor;
import java.util.List;
import org.eclipse.jface.viewers.ITreeContentProvider;
import org.eclipse.jface.viewers.Viewer;
import org.eclipse.titan.executor.executors.BaseExecutor;
import org.eclipse.titan.executor.executors.ITreeBranch;
import org.eclipse.titan.executor.executors.ITreeLeaf;
import java.util.List;
/**
* @author Kristof Szabados
* */
......
......@@ -7,6 +7,8 @@
******************************************************************************/
package org.eclipse.titan.executor.views.executormonitor;
import java.util.Iterator;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.debug.core.DebugPlugin;
import org.eclipse.debug.core.ILaunch;
......@@ -38,8 +40,6 @@ import org.eclipse.ui.console.ConsolePlugin;
import org.eclipse.ui.console.IConsole;
import org.eclipse.ui.part.ViewPart;
import java.util.Iterator;
/**
* @author Kristof Szabados
* */
......
......@@ -7,11 +7,11 @@
******************************************************************************/
package org.eclipse.titan.executor.views.executormonitor;
import java.util.HashMap;
import java.util.Map;
import org.eclipse.debug.core.ILaunch;
import org.eclipse.titan.executor.executors.BaseExecutor;
import java.util.HashMap;
import java.util.Map;
import org.eclipse.debug.core.ILaunch;
import org.eclipse.titan.executor.executors.BaseExecutor;
public class ExecutorStorage {
private static final Map<ILaunch, BaseExecutor> EXECUTOR_MAP = new HashMap<ILaunch, BaseExecutor>();
......
......@@ -7,14 +7,14 @@
******************************************************************************/
package org.eclipse.titan.executor.views.executormonitor;
import org.eclipse.titan.executor.executors.ITreeBranch;
import org.eclipse.titan.executor.executors.ITreeLeaf;
import org.eclipse.titan.executor.executors.TreeLeaf;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.eclipse.titan.executor.executors.ITreeBranch;
import org.eclipse.titan.executor.executors.ITreeLeaf;
import org.eclipse.titan.executor.executors.TreeLeaf;
/**
* @author Kristof Szabados
* */
......
......@@ -7,10 +7,10 @@
******************************************************************************/
package org.eclipse.titan.executor.views.executormonitor;
import java.util.HashMap;
import java.util.Map;
import org.eclipse.debug.core.ILaunch;
import java.util.HashMap;
import java.util.Map;
import org.eclipse.debug.core.ILaunch;
public class LaunchStorage {
private static final Map<ILaunch, LaunchElement> LAUNCHELEMENTS_MAP = new HashMap<ILaunch, LaunchElement>();
......
......@@ -7,15 +7,15 @@
******************************************************************************/
package org.eclipse.titan.executor.views.executormonitor;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.eclipse.titan.executor.executors.BaseExecutor;
import org.eclipse.titan.executor.executors.ITreeBranch;
import org.eclipse.titan.executor.executors.ITreeLeaf;
import org.eclipse.titan.executor.executors.TreeLeaf;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
/**
* @author Kristof Szabados
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment