KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jdt > internal > debug > ui > actions > EditStepFiltersAction


1 /*******************************************************************************
2  * Copyright (c) 2000, 2007 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.jdt.internal.debug.ui.actions;
12
13 import org.eclipse.jdt.internal.debug.ui.JavaStepFilterPreferencePage;
14 import org.eclipse.jdt.internal.debug.ui.SWTFactory;
15 import org.eclipse.jface.action.IAction;
16 import org.eclipse.ui.actions.ActionDelegate;
17
18 /**
19  * Menu action to open the step filtering preferences page, to allow users to edit step filter
20  * preferences
21  */

22 public class EditStepFiltersAction extends ActionDelegate {
23     /* (non-Javadoc)
24      * @see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction)
25      */

26     public void run(IAction action) {
27         SWTFactory.showPreferencePage(JavaStepFilterPreferencePage.PAGE_ID);
28     }
29     
30 }
31
Popular Tags