eclipse plugin: use a StructuredSelection instead a Selection
This commit is contained in:
parent
3b3d26fd4d
commit
74a3edb378
1 changed files with 2 additions and 3 deletions
|
@ -4,7 +4,6 @@
|
|||
*/
|
||||
package wesnoth_eclipse_plugin.wizards;
|
||||
|
||||
import org.eclipse.jface.viewers.ISelection;
|
||||
import org.eclipse.jface.viewers.IStructuredSelection;
|
||||
import org.eclipse.jface.wizard.IWizardPage;
|
||||
import org.eclipse.jface.wizard.Wizard;
|
||||
|
@ -13,8 +12,8 @@ import org.eclipse.ui.IWorkbench;
|
|||
|
||||
public abstract class NewWizardTemplate extends Wizard implements INewWizard
|
||||
{
|
||||
protected ISelection selection_;
|
||||
protected int lastPageHashCode_ = 0;
|
||||
protected IStructuredSelection selection_;
|
||||
protected int lastPageHashCode_ = 0;
|
||||
|
||||
@Override
|
||||
public void init(IWorkbench workbench, IStructuredSelection selection)
|
||||
|
|
Loading…
Add table
Reference in a new issue