mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-04 14:55:41 +02:00
Reused import existing as new with existing. Fixed title on import.
This commit is contained in:
parent
6b01652bf6
commit
6e45806355
3 changed files with 17 additions and 2 deletions
|
@ -63,9 +63,11 @@ MBS.create.configuration=Create New Configuration
|
|||
WizardConvertMakeProject.name=Convert to a C/C++ Project
|
||||
WizardConvertMakeProject.description=Convert to a C/C++ Project
|
||||
|
||||
WizardMakeProjFromExisting.name=Existing Code
|
||||
WizardMakeProjFromExisting.name=Existing Code as Makefile Project
|
||||
WizardMakeProjFromExisting.description=Creates a new Makefile project in a directory containing existing code
|
||||
|
||||
NewMakeFromExisting.name=Makefile Project with Existing Code
|
||||
|
||||
Tool.settings=Tool Settings
|
||||
Build.steps=Build Steps
|
||||
Build.artifact=Build Artifact
|
||||
|
|
|
@ -23,6 +23,18 @@
|
|||
class="org.eclipse.core.resources.IProject">
|
||||
</selection>
|
||||
</wizard>
|
||||
<wizard
|
||||
category="org.eclipse.cdt.ui.newCWizards"
|
||||
class="org.eclipse.cdt.managedbuilder.ui.wizards.NewMakeProjFromExisting"
|
||||
finalPerspective="org.eclipse.cdt.ui.CPerspective"
|
||||
icon="icons/obj16/convert-normal.gif"
|
||||
id="org.eclipse.cdt.ui.wizards.NewMakeFromExisting"
|
||||
name="%NewMakeFromExisting.name"
|
||||
project="true">
|
||||
<description>
|
||||
%WizardMakeProjFromExisting.description
|
||||
</description>
|
||||
</wizard>
|
||||
</extension>
|
||||
|
||||
<extension
|
||||
|
|
|
@ -37,6 +37,7 @@ import org.eclipse.jface.operation.IRunnableWithProgress;
|
|||
import org.eclipse.jface.viewers.IStructuredSelection;
|
||||
import org.eclipse.jface.wizard.Wizard;
|
||||
import org.eclipse.ui.IImportWizard;
|
||||
import org.eclipse.ui.INewWizard;
|
||||
import org.eclipse.ui.IWorkbench;
|
||||
import org.eclipse.ui.actions.WorkspaceModifyOperation;
|
||||
|
||||
|
@ -44,7 +45,7 @@ import org.eclipse.ui.actions.WorkspaceModifyOperation;
|
|||
* Wizard to create a new CDT project that wraps existing code.
|
||||
* @since 7.0
|
||||
*/
|
||||
public class NewMakeProjFromExisting extends Wizard implements IImportWizard {
|
||||
public class NewMakeProjFromExisting extends Wizard implements IImportWizard, INewWizard {
|
||||
|
||||
NewMakeProjFromExistingPage page;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue