Home
last modified time | relevance | path

Searched refs:action (Results 1 – 25 of 155) sorted by relevance

1234567

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DListViewTypeMenu.java33 import org.eclipse.jface.action.Action;
34 import org.eclipse.jface.action.ActionContributionItem;
35 import org.eclipse.jface.action.IAction;
36 import org.eclipse.jface.action.Separator;
72 IAction action = new PickLayoutAction("Choose Layout...", KEY_LV_ITEM); in addMenuItems() local
73 new ActionContributionItem(action).fill(menu, -1); in addMenuItems()
84 action = new SetListTypeAction("Spinner Item", in addMenuItems()
86 new ActionContributionItem(action).fill(menu, -1); in addMenuItems()
87 action = new SetListTypeAction("Spinner Dropdown Item", in addMenuItems()
89 new ActionContributionItem(action).fill(menu, -1); in addMenuItems()
[all …]
DDynamicContextMenu.java51 import org.eclipse.jface.action.Action;
52 import org.eclipse.jface.action.ActionContributionItem;
53 import org.eclipse.jface.action.ContributionItem;
54 import org.eclipse.jface.action.IAction;
55 import org.eclipse.jface.action.IContributionItem;
56 import org.eclipse.jface.action.IMenuListener;
57 import org.eclipse.jface.action.IMenuManager;
58 import org.eclipse.jface.action.MenuManager;
59 import org.eclipse.jface.action.Separator;
207 for (RuleAction action : firstSelectedActions) { in getMenuItems()
[all …]
DShowWithinMenu.java10 import org.eclipse.jface.action.Action;
11 import org.eclipse.jface.action.ActionContributionItem;
12 import org.eclipse.jface.action.IAction;
13 import org.eclipse.jface.action.Separator;
41 IAction action = new ShowWithinAction(title, reference); in addMenuItems() local
42 new ActionContributionItem(action).fill(menu, -1); in addMenuItems()
46 IAction action = new ShowWithinAction("Nothing", null); in addMenuItems() local
48 action.setEnabled(false); in addMenuItems()
50 new ActionContributionItem(action).fill(menu, -1); in addMenuItems()
DSubmenuAction.java4 import org.eclipse.jface.action.Action;
5 import org.eclipse.jface.action.ActionContributionItem;
6 import org.eclipse.jface.action.IAction;
7 import org.eclipse.jface.action.IMenuCreator;
66 IAction action = new Action(message, IAction.AS_PUSH_BUTTON) { in addDisabledMessageItem() local
71 action.setEnabled(false); in addDisabledMessageItem()
72 new ActionContributionItem(action).fill(mMenu, -1); in addDisabledMessageItem()
DFragmentMenu.java41 import org.eclipse.jface.action.Action;
42 import org.eclipse.jface.action.ActionContributionItem;
43 import org.eclipse.jface.action.IAction;
44 import org.eclipse.jface.action.Separator;
75 IAction action = new PickLayoutAction("Choose Layout..."); in addMenuItems() local
76 new ActionContributionItem(action).fill(menu, -1); in addMenuItems()
163 action = new SetFragmentLayoutAction(layout.getFirst(), in addMenuItems()
165 new ActionContributionItem(action).fill(menu, -1); in addMenuItems()
173 action = new SetFragmentLayoutAction("Clear", null, null); in addMenuItems()
174 new ActionContributionItem(action).fill(menu, -1); in addMenuItems()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DVisualRefactoringAction.java27 import org.eclipse.jface.action.Action;
28 import org.eclipse.jface.action.IAction;
64 public void selectionChanged(IAction action, ISelection selection) { in selectionChanged() argument
95 action.setEnabled((mTextSelection != null || mTreeSelection != null) in selectionChanged()
103 public abstract void run(IAction action); in run() argument
154 VisualRefactoringAction action; in run() local
156 action = mClass.newInstance(); in run()
162 action.init(site.getWorkbenchWindow()); in run()
164 action.selectionChanged(ActionWrapper.this, selection); in run()
166 action.run(ActionWrapper.this); in run()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
DRunLintAction.java32 import org.eclipse.jface.action.Action;
33 import org.eclipse.jface.action.ActionContributionItem;
34 import org.eclipse.jface.action.IAction;
35 import org.eclipse.jface.action.IMenuCreator;
36 import org.eclipse.jface.action.Separator;
66 public void selectionChanged(IAction action, ISelection selection) { in selectionChanged() argument
71 public void run(IAction action) { in run() argument
92 public void setActivePart(IAction action, IWorkbenchPart targetPart) { in setActivePart() argument
160 private void addAction(IAction action) { in addAction() argument
161 ActionContributionItem item = new ActionContributionItem(action); in addAction()
[all …]
DClearLintMarkersAction.java20 import org.eclipse.jface.action.IAction;
32 public void selectionChanged(IAction action, ISelection selection) { in selectionChanged() argument
37 public void run(IAction action) { in run() argument
DLintEditAction.java22 import org.eclipse.jface.action.IAction;
39 public LintEditAction(@NonNull IAction action, @NonNull AndroidXmlEditor editor) { in LintEditAction() argument
40 super(action); in LintEditAction()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
DOrientationMenuAction.java26 import org.eclipse.jface.action.Action;
27 import org.eclipse.jface.action.ActionContributionItem;
28 import org.eclipse.jface.action.IAction;
29 import org.eclipse.jface.action.MenuManager;
30 import org.eclipse.jface.action.Separator;
102 SelectNightModeAction action = new SelectNightModeAction(mode, checked); in addMenuItems() local
103 new ActionContributionItem(action).fill(menu, -1); in addMenuItems()
112 SelectUiModeAction action = new SelectUiModeAction(mode, checked); in addMenuItems() local
113 new ActionContributionItem(action).fill(menu, -1); in addMenuItems()
DThemeMenuAction.java30 import org.eclipse.jface.action.Action;
31 import org.eclipse.jface.action.ActionContributionItem;
32 import org.eclipse.jface.action.IAction;
33 import org.eclipse.jface.action.MenuManager;
34 import org.eclipse.jface.action.Separator;
100 SelectThemeAction action = new SelectThemeAction(configChooser, in showThemeMenu() local
104 action.setEnabled(false); in showThemeMenu()
105 manager.add(action); in showThemeMenu()
294 SelectThemeAction action = new SelectThemeAction(mConfigChooser, title, theme, selected); in addMenuItem() local
295 new ActionContributionItem(action).fill(menu, -1); in addMenuItem()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/actions/
DAvdManagerAction.java25 import org.eclipse.jface.action.IAction;
49 public void run(IAction action) { in run() argument
70 public void selectionChanged(IAction action, ISelection selection) { in selectionChanged() argument
75 public void setActivePart(IAction action, IWorkbenchPart targetPart) { in setActivePart() argument
/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/actions/
DAddNativeAction.java23 import org.eclipse.jface.action.IAction;
36 public void run(IAction action) { in run() argument
60 public void selectionChanged(IAction action, ISelection selection) { in selectionChanged() argument
65 public void setActivePart(IAction action, IWorkbenchPart targetPart) { in setActivePart() argument
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/actions/
DOpenWizardAction.java22 import org.eclipse.jface.action.IAction;
104 public void run(IAction action) { in run() argument
136 mWizard = instanciateWizard(action); in run()
166 protected abstract IWorkbenchWizard instanciateWizard(IAction action); in instanciateWizard() argument
172 public void selectionChanged(IAction action, ISelection selection) { in selectionChanged() argument
180 public void setActivePart(IAction action, IWorkbenchPart targetPart) { in setActivePart() argument
DExportAction.java26 import org.eclipse.jface.action.IAction;
43 public void setActivePart(IAction action, IWorkbenchPart targetPart) { in setActivePart() argument
48 public void run(IAction action) { in run() argument
82 public void selectionChanged(IAction action, ISelection selection) { in selectionChanged() argument
DExportWizardAction.java26 import org.eclipse.jface.action.IAction;
44 public void setActivePart(IAction action, IWorkbenchPart targetPart) { in setActivePart() argument
49 public void run(IAction action) { in run() argument
91 public void selectionChanged(IAction action, ISelection selection) { in selectionChanged() argument
DNewXmlFileAction.java21 import org.eclipse.jface.action.IAction;
33 protected IWorkbenchWizard instanciateWizard(IAction action) { in instanciateWizard() argument
DNewProjectAction.java21 import org.eclipse.jface.action.IAction;
33 protected IWorkbenchWizard instanciateWizard(IAction action) { in instanciateWizard() argument
DNewTestProjectAction.java21 import org.eclipse.jface.action.IAction;
31 protected IWorkbenchWizard instanciateWizard(IAction action) { in instanciateWizard() argument
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/templates/
Dactivity.template4 <action android:name="android.intent.action.MAIN" />
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/
DPropertySheetPage.java27 import org.eclipse.jface.action.Action;
28 import org.eclipse.jface.action.IAction;
29 import org.eclipse.jface.action.IMenuListener;
30 import org.eclipse.jface.action.IMenuManager;
31 import org.eclipse.jface.action.IStatusLineManager;
32 import org.eclipse.jface.action.IToolBarManager;
33 import org.eclipse.jface.action.MenuManager;
34 import org.eclipse.jface.action.Separator;
351 private PropertySheetAction(int style, String label, int action, in PropertySheetAction() argument
354 mAction = action; in PropertySheetAction()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
DTableLayoutRule.java81 public void action( in addContextMenuActions()
82 @NonNull RuleAction action, in addContextMenuActions()
111 public void action( in addTableLayoutActions()
112 final @NonNull RuleAction action, in addTableLayoutActions()
119 if (action.getId().equals(ACTION_ADD_ROW)) { in addTableLayoutActions()
150 } else if (action.getId().equals(ACTION_REMOVE_ROW)) { in addTableLayoutActions()
/sdk/eclipse/plugins/com.android.ide.eclipse.monitor/src/com/android/ide/eclipse/monitor/actions/
DSdkManagerAction.java23 import org.eclipse.jface.action.IAction;
35 public void run(IAction action) { in run() argument
69 public void selectionChanged(IAction action, ISelection selection) { in selectionChanged() argument
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/
Dmanifest-expected-navigate11a.txt1 Go To Declaration in manifest.xml for <action android:name="android.intent.ac^tion.MAIN" />:
2 Open XML Declaration : [android.intent.action.MAIN]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/
DExtractStringAction.java26 import org.eclipse.jface.action.IAction;
99 public void selectionChanged(IAction action, ISelection selection) { in selectionChanged() argument
119 action.setEnabled(mSelection != null && mFile != null); in selectionChanged()
126 public void run(IAction action) { in run() argument

1234567