⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 licensekeyaction.java

📁 java实 现的 GOOGLE 搜索很好用?
💻 JAVA
字号:
/*
 * Created on 2004-9-10
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package com.xqtu.google.actions;

/**
 * @author limeiyong
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
import org.eclipse.jface.action.IAction;
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.jface.wizard.WizardDialog;
import org.eclipse.ui.IViewActionDelegate;
import org.eclipse.ui.IViewPart;
 
import com.xqtu.google.views.SearchView;
import com.xqtu.google.wizards.LicenseKeyWizard;
 
public class LicenseKeyAction implements IViewActionDelegate {
 
    private SearchView searchView;
 
    public void init(IViewPart view) {
 
        this.searchView = (SearchView) view;
 
    }
 
    public void run(IAction action) {
 
        LicenseKeyWizard wizard = new LicenseKeyWizard();
        WizardDialog dialog = new WizardDialog(searchView.getViewSite()
                .getShell(), wizard);
        dialog.open();
 
    }
 
    public void selectionChanged(IAction action, ISelection selection) {
 
    }
 
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -