org.symbian.tools.mtw.ui/src/org/symbian/tools/tmw/ui/project/IProjectTemplateContext.java
changeset 466 129c94e78375
parent 465 87920e15f8eb
child 467 5a2901872fcf
equal deleted inserted replaced
465:87920e15f8eb 466:129c94e78375
    19 package org.symbian.tools.tmw.ui.project;
    19 package org.symbian.tools.tmw.ui.project;
    20 
    20 
    21 import java.io.InputStream;
    21 import java.io.InputStream;
    22 
    22 
    23 import org.eclipse.core.databinding.observable.value.IObservableValue;
    23 import org.eclipse.core.databinding.observable.value.IObservableValue;
       
    24 import org.eclipse.core.resources.IFile;
    24 import org.eclipse.core.resources.IProject;
    25 import org.eclipse.core.resources.IProject;
    25 import org.eclipse.core.runtime.CoreException;
    26 import org.eclipse.core.runtime.CoreException;
    26 import org.eclipse.core.runtime.IPath;
    27 import org.eclipse.core.runtime.IPath;
    27 import org.eclipse.core.runtime.IProgressMonitor;
    28 import org.eclipse.core.runtime.IProgressMonitor;
    28 import org.symbian.tools.tmw.core.projects.IProjectSetupAction;
    29 import org.symbian.tools.tmw.core.projects.IProjectSetupAction;
    62      * @param name file path relative to application root
    63      * @param name file path relative to application root
    63      * @param contents stream with file contents
    64      * @param contents stream with file contents
    64      * @param monitor progress monitor
    65      * @param monitor progress monitor
    65      * @throws CoreException
    66      * @throws CoreException
    66      */
    67      */
    67     void addFile(IProject project, IPath name, InputStream contents, IProgressMonitor monitor) throws CoreException;
    68     IFile addFile(IProject project, IPath name, InputStream contents, IProgressMonitor monitor) throws CoreException;
    68 
    69 
    69     /**
    70     /**
    70      * Allows binding to parameter value from UI.
    71      * Allows binding to parameter value from UI.
    71      * 
    72      * 
    72      * @param name parameter value
    73      * @param name parameter value