Changeset 306


Ignore:
Timestamp:
2012-01-14 11:34:22 (8 years ago)
Author:
vesal
Message:

debug

Location:
proto/ji/trunk
Files:
2 added
8 edited

Legend:

Unmodified
Added
Removed
  • proto/ji/trunk/.classpath

    r198 r306  
    44        <classpathentry kind="src" path="src"/> 
    55        <classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/> 
    6         <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk1.5.0_20"/> 
     6        <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jre6"/> 
    77        <classpathentry kind="output" path="bin"/> 
    88</classpath> 
  • proto/ji/trunk/.settings/org.eclipse.jdt.core.prefs

    r198 r306  
    1 #Tue Feb 09 19:44:22 EET 2010 
     1#Sat Jan 14 10:28:34 EET 2012 
    22eclipse.preferences.version=1 
    33org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 
    4 org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 
     4org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 
    55org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve 
    6 org.eclipse.jdt.core.compiler.compliance=1.5 
     6org.eclipse.jdt.core.compiler.compliance=1.6 
    77org.eclipse.jdt.core.compiler.debug.lineNumber=generate 
    88org.eclipse.jdt.core.compiler.debug.localVariable=generate 
     
    7676org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning 
    7777org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning 
    78 org.eclipse.jdt.core.compiler.source=1.5 
     78org.eclipse.jdt.core.compiler.source=1.6 
    7979org.eclipse.jdt.core.formatter.align_type_members_on_columns=false 
    8080org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16 
  • proto/ji/trunk/META-INF/MANIFEST.MF

    r202 r306  
    33Bundle-Name: Comtestplug Plug-in 
    44Bundle-SymbolicName: comtestplug; singleton:=true 
    5 Bundle-Version: 1.0.6 
     5Bundle-Version: 1.0.7 
    66Bundle-Activator: comtestplug.Activator 
    77Bundle-Localization: plugin 
     
    1515Bundle-ActivationPolicy: lazy 
    1616Bundle-ClassPath: bin/ 
    17 Bundle-RequiredExecutionEnvironment: J2SE-1.5 
     17Bundle-RequiredExecutionEnvironment: JavaSE-1.6 
  • proto/ji/trunk/src/comtestplug/popup/actions/GenerateTest.java

    r145 r306  
    2424import org.eclipse.jface.viewers.IStructuredSelection; 
    2525import org.eclipse.jface.action.Action; 
    26 import org.eclipse.ui.IActionDelegate; 
     26//import org.eclipse.ui.IActionDelegate; 
    2727import org.eclipse.ui.IObjectActionDelegate; 
    2828import org.eclipse.ui.IWorkbenchPart; 
     
    6767   * @see IObjectActionDelegate#setActivePart(IAction, IWorkbenchPart) 
    6868   */ 
     69  @Override 
    6970  public void setActivePart(IAction action, IWorkbenchPart targetPart) {} 
    7071 
     
    8081   * @see IActionDelegate#run(IAction) 
    8182   */ 
     83  @Override 
    8284  public void run(IAction action) { 
    8385       
     
    132134   * @see IActionDelegate#selectionChanged(IAction, ISelection) 
    133135   */ 
     136  @Override 
    134137  public void selectionChanged(IAction action, ISelection selection) { 
    135138    try { 
     
    145148    boolean first = true;   
    146149    try { 
    147       for (Iterator items = selection.iterator(); items.hasNext();) { 
    148         IFile file = (IFile) items.next(); 
     150      for (Iterator<IFile> items = selection.iterator(); items.hasNext();) { 
     151        IFile file = items.next(); 
    149152        if ( first) files.clear(); first = false; 
    150153        files.add(file); 
     
    165168  protected void buildDone(Collection<IFile> testFiles) {} 
    166169 
     170  @SuppressWarnings("static-method") 
    167171  private void doSelection(ISelection sel) { 
    168172     System.err.println("something different" + sel.toString()); 
     
    181185     * @param files to make tests 
    182186     */ 
    183     @SuppressWarnings("static-access") 
    184187    public ComtestRun(Collection<IFile> files){ 
    185188      if ( files.size() > 0 ) { 
     
    211214     * @throws CoreException 
    212215     */ 
     216    @Override 
    213217    @SuppressWarnings("static-access") 
    214218    public void run(IProgressMonitor monitor) throws CoreException { 
     
    319323     *  Method to clean things  
    320324     */ 
     325    @Override 
    321326    public void dispose() { 
    322327        window = null; 
     
    327332     * @param window to use as source 
    328333     */ 
     334    @Override 
    329335    public void init(IWorkbenchWindow window) { 
    330336        this.window = window; 
  • proto/ji/trunk/src/comtestplug/popup/actions/GenerateTestAndRunJUnit.java

    r194 r306  
    1313 
    1414import org.eclipse.jface.viewers.StructuredSelection; 
    15 import org.eclipse.ui.IObjectActionDelegate; 
     15// import org.eclipse.ui.IObjectActionDelegate; 
    1616 
    1717/** 
     
    2020 * 
    2121 */ 
    22 public class GenerateTestAndRunJUnit extends GenerateTest implements IObjectActionDelegate{ 
     22public class GenerateTestAndRunJUnit extends GenerateTest{ // implements IObjectActionDelegate{ 
    2323    
    2424    /** 
     
    5353      }   
    5454      ILaunchShortcut sk = new JUnitLaunchShortcut(); 
    55       sk.launch(new StructuredSelection(outFileArray), "run");      
     55      //sk.launch(new StructuredSelection(outFileArray), "run");      
     56      sk.launch(new StructuredSelection(outFileArray), "debug");      
    5657    } 
    5758  } 
  • proto/ji/trunk/src/comtestplug/preferences/ComTestPreferencePage.java

    r209 r306  
    6969         * @see org.eclipse.ui.IWorkbenchPreferencePage#init(org.eclipse.ui.IWorkbench) 
    7070         */ 
    71         public void init(IWorkbench workbench) { 
     71        @Override 
     72    public void init(IWorkbench workbench) { 
    7273        } 
    7374         
  • proto/ji/trunk/src/comtestplug/properties/ComTestPropertyPage.java

    r145 r306  
    4949        } 
    5050 
    51         private void addSeparator(Composite parent) { 
     51        @SuppressWarnings("static-method") 
     52    private void addSeparator(Composite parent) { 
    5253                Label separator = new Label(parent, SWT.SEPARATOR | SWT.HORIZONTAL); 
    5354                GridData gridData = new GridData(); 
     
    101102        } 
    102103 
    103         private Composite createDefaultComposite(Composite parent) { 
     104        @SuppressWarnings("static-method") 
     105    private Composite createDefaultComposite(Composite parent) { 
    104106                Composite composite = new Composite(parent, SWT.NULL); 
    105107                GridLayout layout = new GridLayout(); 
  • proto/ji/trunk/src/comtestplug/ui/text/java/ComtestProposalComputer.java

    r112 r306  
    11package comtestplug.ui.text.java; 
    22 
     3import java.util.ArrayList; 
    34import java.util.Arrays; 
    45import java.util.List; 
     
    1213import org.eclipse.jface.text.contentassist.CompletionProposal; 
    1314import org.eclipse.jface.text.contentassist.ICompletionProposal; 
     15import org.eclipse.jface.text.contentassist.IContextInformation; 
    1416 
    1517import comtest.StringUtilities; 
     
    3133   * @return list of proposals 
    3234   */ 
    33   public List<ICompletionProposal> computeCompletionProposals( 
     35  @Override 
     36public List<ICompletionProposal> computeCompletionProposals( 
    3437      ContentAssistInvocationContext context, IProgressMonitor monitor) { 
    3538    List<ICompletionProposal> ret = new Vector<ICompletionProposal>(); 
     
    7073   * @return list of proposals 
    7174   */ 
    72   public List<ICompletionProposal> computeContextInformation( 
     75  @Override 
     76  public List<IContextInformation> computeContextInformation( 
    7377      ContentAssistInvocationContext context, IProgressMonitor monitor) { 
    7478    // TODO Auto-generated method stub 
    75     return new Vector<ICompletionProposal>(); 
     79    return new ArrayList<IContextInformation>(); 
    7680  } 
    7781 
     
    7983   * @return error message from class 
    8084   */  
     85  @Override 
    8186  public String getErrorMessage() { 
    8287    return "Error from ComTest"; 
     
    8691   *  
    8792   */ 
     93  @Override 
    8894  public void sessionEnded() { 
    8995  } 
     
    9298   *  
    9399   */ 
     100  @Override 
    94101  public void sessionStarted() { 
    95102  } 
Note: See TracChangeset for help on using the changeset viewer.