org.eclipse.mylyn.tasks.ui_3.7.1.v20120425-0100

enuContributor paramIDynamicSubMenuContributor, List paramList, String paramString, IMenuManager paramIMenuManager, ITaskContainer paramITaskContainer) {}
  
  public void handleException(Throwable e)
  {
    StatusHandler.log(new Status(4, "org.eclipse.mylyn.tasks.ui", "Menu contributor failed"));
  }
  
  public void run()
    throws Exception
  {
    MenuManager subMenuManager = val$contributor.getSubMenuManager(val$selectedElements);
    if (subMenuManager != null) {
      RepositoryElementActionGroup.access$0(this$0, val$menuPath, subMenuManager, val$manager, val$element);
    }
  }
}

/* Location:
 * Qualified Name:     org.eclipse.mylyn.internal.tasks.ui.actions.RepositoryElementActionGroup.1
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.mylyn.internal.tasks.ui.actions;

import org.eclipse.jface.action.IAction;
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.mylyn.commons.workbench.WorkbenchUtil;
import org.eclipse.mylyn.tasks.ui.TasksUiUtil;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.ui.IViewActionDelegate;
import org.eclipse.ui.IViewPart;
import org.eclipse.ui.IViewSite;
import org.eclipse.ui.IWorkbench;
import org.eclipse.ui.IWorkbenchWindow;
import org.eclipse.ui.IWorkbenchWindowActionDelegate;
import org.eclipse.ui.intro.IIntroManager;
import org.eclipse.ui.intro.IIntroPart;

public class WelcomeIntroAction
  implements IWorkbenchWindowActionDelegate, IViewActionDelegate
{
  private IWorkbenchWindow wbWindow;
  
  public void dispose() {}
  
  public void init(IViewPart view)
  {
    wbWindow = view.getViewSite().getWorkbenchWindow();
  }
  
  public void init(IWorkbenchWindow window)
  {
    wbWindow = window;
  }
  
  public void run(IAction action)
  {
    IIntroManager introMgr = wbWindow.getWorkbench().getIntroManager();
    IIntroPart intro = introMgr.getIntro();
    if (intro != null) {
      try
      {
        introMgr.setIntroStandby(intro, true);
      }
      catch (NullPointerException localNullPointerException) {}
    }
    TasksUiUtil.openTasksViewInActivePerspective();
    
    new AddRepositoryAction().showWizard(getShell(), null);
  }
  
  private Shell getShell()
  {
    return wbWindow != null ? wbWindow.getShell() : WorkbenchUtil.getShell();
  }
  
  public void selectionChanged(IAction action, ISelection selection) {}
}

/* Location:
 * Qualified Name:     org.eclipse.mylyn.internal.tasks.ui.actions.WelcomeIntroAction
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.mylyn.internal.tasks.ui.actions;

import org.eclipse.jface.action.Action;

class TaskSelectionDialog$ShowCompletedTasksAction
  extends Action
{
  public TaskSelectionDialog$ShowCompletedTasksAction(TaskSelectionDialog paramTaskSelectionDialog)
  {
    super(Messages.TaskSelectionDialog_Show_Completed_Tasks, 2);
  }
  
  public void run()
  {
    TaskSelectionDialog.access$3(this$0, isChecked());
    TaskSelectionDialog.access$1(this$0);
  }
}

/* Location:
 * Qualified Name:     org.eclipse.mylyn.internal.tasks.ui.actions.TaskSelectionDialog.ShowCompletedTasksAction
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.mylyn.internal.tasks.ui.actions;

import org.eclipse.jface.dialogs.MessageDialogWithToggle;
import org.eclipse.swt.graphics.Image;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Shell;

class DeleteAction$1
  extends MessageDialogWithToggle
{
  DeleteAction$1(DeleteAction paramDeleteAction, Shell $anonymous0, String $anonymous1, Image $anonymous2, String $anonymous3, int $anonymous4, String[] $anonymous5, int $anonymous6, String $anonymous7, boolean $anonymous8, boolean paramBoolean1)
  {
    super($anonymous0, $anonymous1, $anonymous2, $anonymous3, $anonymous4, $anonymous5, $anonymous6, $anonymous7, $anonymous8);
  }
  
  protected Control createContents(Composite parent)
  {
    Control createdControl = super.createContents(parent);
    getToggleButton().setEnabled(val$allTasksDeletable);
    return createdControl;
  }
}

/* Location:
 * Qualified Name:     org.eclipse.mylyn.internal.tasks.ui.actions.DeleteAction.1
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.mylyn.internal.tasks.ui.actions;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import org.eclipse.jface.action.ActionContributionItem;
import org.eclipse.jface.action.IAction;
import org.eclipse.jface.action.IMenuListener;
import org.eclipse.jface.action.IMenuManager;
import org.eclipse.mylyn.internal.tasks.ui.workingsets.TaskWorkingSetUpdater;
import org.eclipse.mylyn.internal.tasks.ui.workingsets.WorkingSetLabelComparator;
import org.eclipse.ui.IWorkbench;
import org.eclipse.ui.IWorkingSet;
import org.eclipse.ui.IWorkingSetManager;
import org.eclipse.ui.PlatformUI;

class TaskSelectionDialog$4
  implements IMenuListener
{
  private final List<ActionContributionItem> lruActions = new ArrayList();
  
  TaskSelectionDialog$4(TaskSelectionDialog paramTaskSelectionDialog, TaskSelectionDialog.DeselectWorkingSetAction paramDeselectWorkingSetAction, TaskSelectionDialog.EditWorkingSetAction paramEditWorkingSetAction, TaskSelectionDialog.FilterWorkingSetAction paramFilterWorkingSetAction) {}
  
  public void menuAboutToShow(IMenuManager manager)
  {
    val$deselectAction.setEnabled(TaskSelectionDialog.access$0(this$0) != null);
    val$editAction.setEnabled((TaskSelectionDialog.access$0(this$0) != null) && (TaskSelectionDialog.access$0(this$0).isEditable()));
    for (ActionContributionItem action : lruActions) {
      manager.remove(action);
    }
    lruActions.clear();
    
    IWorkingSet[] workingSets = PlatformUI.getWorkbench().getWorkingSetManager().getRecentWorkingSets();
    Arrays.sort(workingSets, new WorkingSetLabelComparator());
    int count = 2;
    IWorkingSet[] arrayOfIWorkingSet1;
    int j = (arrayOfIWorkingSet1 = workingSets).length;
    for (int i = 0; i < j; i++)
    {
      IWorkingSet workingSet = arrayOfIWorkingSet1[i];
      if (workingSet.getId().equalsIgnoreCase(TaskWorkingSetUpdater.ID_TASK_WORKING_SET))
      {
        IAction action = new TaskSelectionDialog.FilterWorkingSetAction(this$0, workingSet, count++);
        if (workingSet.equals(TaskSelectionDialog.access$0(this$0))) {
          action.setChecked(true);
        }
        ActionContributionItem ci = new ActionContributionItem(action);
        lruActions.add(ci);
        manager.appendToGroup("lruActions", ci);
      }
    }
    val$windowWorkingSetAction.setChecked(TaskSelectionDialog.access$7(this$0).equals(TaskSelectionDialog.access$0(this$0)));
  }
}

/* Location:
 * Qualified Name:     org.eclipse.mylyn.internal.tasks.ui.actions.TaskSelectionDialog.4
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.mylyn.internal.tasks.ui.actions;

import org.eclipse.jface.action.IAction;
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.mylyn.internal.tasks.ui.views.TaskRepositoriesView;
import org.eclipse.ui.IViewActionDelegate;
import org.eclipse.ui.IViewPart;

public class ShowTaskRepositoriesViewAction
  implements IViewActionDelegate
{
  public void init(IViewPart view) {}
  
  public void run(IAction action)
  {
    TaskRepositoriesView.openInActivePerspective();
  }
  
  public void selectionChanged(IAction action, ISelection selection) {}
}

/* Location:
 * Qualified Name:     org.eclipse.mylyn.internal.tasks.ui.actions.ShowTaskRepositoriesViewAction
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.mylyn.internal.tasks.ui.actions;

import java.util.List;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.mylyn.internal.tasks.core.ITaskListRunnable;

class DeleteAction$2$1
  implements ITaskListRunnable
{
  DeleteAction$2$1(DeleteAction.2 param2, List paramList, boolean paramBoolean) {}
  
  public void execute(IProgressMonitor monitor)
    throws CoreException
  {
    DeleteAction.performDeletion(val$toDelete);
    if (val$deleteOnServer) {
      DeleteAction.access$0(DeleteAction.2.access$0(this$1), val$toDelete);
    }
  }
}

/* Location:
 * Qualified Name:     org.eclipse.mylyn.internal.tasks.ui.actions.DeleteAction.2.1
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.mylyn.internal.tasks.ui.actions;

import org.eclipse.jface.action.Action;
import org.eclipse.mylyn.commons.ui.CommonImages;
import org.eclipse.mylyn.internal.tasks.ui.views.TaskListView;

public class LinkWithEditorAction
  extends Action
{
  private final TaskListView taskListView;
  
  public LinkWithEditorAction(TaskListView taskListView)
  {
    super(Messages.LinkWithEditorAction_Link_with_Editor, 2);
    this.taskListView = taskListView;
    setImageDescriptor(CommonImages.LINK_EDITOR);
  }
  
  public void run()
  {
    taskListView.setLinkWithEditor(isChecked());
  }
}

/* Location:
 * Qualified Name:     org.eclipse.mylyn.internal.tasks.ui.actions.LinkWithEditorAction
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.mylyn.internal.tasks.ui.actions;

import java.util.HashSet;
import java.util.Set;
import org.eclipse.jface.action.IAction;
import org.eclipse.jface.preference.IPreferenceStore;
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.jface.viewers.TreeViewer;
import org.eclipse.jface.viewers.ViewerSorter;
import org.eclipse.mylyn.commons.workbench.AdaptiveRefreshPolicy;
import org.eclipse.mylyn.commons.workbench.AdaptiveRefreshPolicy.IFilteredTreeListener;
import org.eclipse.mylyn.internal.tasks.ui.AbstractTaskListFilter;
import org.eclipse.mylyn.internal.tasks.ui.TasksUiPlugin;
import org.eclipse.mylyn.internal.tasks.ui.util.TasksUiInternal;
import org.eclipse.mylyn.internal.tasks.ui.views.TaskListFilteredTree;
import org.eclipse.mylyn.internal.tasks.ui.views.TaskListInterestFilter;
import org.eclipse.mylyn.internal.tasks.ui.views.TaskListInterestSorter;
import org.eclipse.mylyn.internal.tasks.ui.views.TaskListView;
import org.eclipse.swt.events.DisposeEvent;
import org.eclipse.swt.events.DisposeListener;
import org.eclipse.swt.widgets.Event;
import org.eclipse.ui.IActionDelegate2;
import org.eclipse.ui.IViewActionDelegate;
import org.eclipse.ui.IViewPart;

public class FocusTaskListAction
  implements AdaptiveRefreshPolicy.IFilteredTreeListener, IViewActionDelegate, IActionDelegate2
{
  private Set<AbstractTaskListFilter> previousFilters = new HashSet();
  private ViewerSorter previousSorter;
  private final TaskListInterestFilter taskListInterestFilter = new TaskListInterestFilter();
  private final TaskListInterestSorter taskListInterestSorter = new TaskListInterestSorter();
  private TaskListView taskListView;
  private IAction action;
  
  public void filterTextChanged(String text)
  {
    if ((taskListView.isFocusedMode()) && ((text == null) || ("".equals(text.trim())))) {
      taskListView.getViewer().expandAll();
    }
  }
  
  public void init(IAction action)
  {
    this.action = action;
    initAction();
  }
  
  public void init(IViewPart view)
  {
    if ((view instanceof TaskListView))
    {
      taskListView = ((TaskListView)view);
      taskListView.getFilteredTree().getRefreshPolicy().addListener(this);
      taskListView.getFilteredTree().addDisposeListener(new DisposeListener()
      {
        public void widgetDisposed(DisposeEvent e)
        {
          taskListView.getFilteredTree().getRefreshPolicy().removeListener(FocusTaskListAction.this);
        }
      });
      if (TasksUiPlugin.getDefault().getPreferenceStore().getBoolean("org.eclipse.mylyn.tasks.ui.task.list.focused")) {
        installInterestFilter();
      }
      initAction();
      showProgressBar(taskListView.isFocusedMode());
    }
  }
  
  private void initAction()
  {
    if ((action != null) && (taskListView != null)) {
      action.setChecked(taskListView.isFocusedMode());
    }
  }
  
  public void selectionChanged(IAction action, ISelection selection) {}
  
  private void showProgressBar(boolean visible)
  {
    taskListView.getFilteredTree().setShowProgress(visible);
  }
  
  protected void installInterestFilter()
  {
    TasksUiInternal.preservingSelection(taskListView.getViewer(), new Runnable()
    {
      /* Error */
      public void run()
      {
        // Byte code:
        //   0: aload_0
        //   1: getfield 81	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction$2:this$0	Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;
        //   4: invokestatic 92	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction:access$0	(Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;)Lorg/eclipse/mylyn/internal/tasks/ui/views/TaskListView;
        //   7: invokevirtual 99	org/eclipse/mylyn/internal/tasks/ui/views/TaskListView:getFilteredTree	()Lorg/eclipse/mylyn/internal/tasks/ui/views/TaskListFilteredTree;
        //   10: iconst_0
        //   11: invokevirtual 93	org/eclipse/mylyn/internal/tasks/ui/views/TaskListFilteredTree:setRedraw	(Z)V
        //   14: aload_0
        //   15: getfield 81	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction$2:this$0	Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;
        //   18: invokestatic 92	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction:access$0	(Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;)Lorg/eclipse/mylyn/internal/tasks/ui/views/TaskListView;
        //   21: iconst_1
        //   22: invokevirtual 95	org/eclipse/mylyn/internal/tasks/ui/views/TaskListView:setFocusedMode	(Z)V
        //   25: aload_0
        //   26: getfield 81	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction$2:this$0	Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;
        //   29: aload_0
        //   30: getfield 81	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction$2:this$0	Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;
        //   33: invokestatic 92	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction:access$0	(Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;)Lorg/eclipse/mylyn/internal/tasks/ui/views/TaskListView;
        //   36: invokevirtual 97	org/eclipse/mylyn/internal/tasks/ui/views/TaskListView:getViewer	()Lorg/eclipse/jface/viewers/TreeViewer;
        //   39: invokevirtual 85	org/eclipse/jface/viewers/TreeViewer:getSorter	()Lorg/eclipse/jface/viewers/ViewerSorter;
        //   42: invokestatic 89	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction:access$1	(Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;Lorg/eclipse/jface/viewers/ViewerSorter;)V
        //   45: aload_0
        //   46: getfield 81	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction$2:this$0	Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;
        //   49: new 36	java/util/HashSet
        //   52: dup
        //   53: aload_0
        //   54: getfield 81	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction$2:this$0	Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;
        //   57: invokestatic 92	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction:access$0	(Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;)Lorg/eclipse/mylyn/internal/tasks/ui/views/TaskListView;
        //   60: invokevirtual 96	org/eclipse/mylyn/internal/tasks/ui/views/TaskListView:getFilters	()Ljava/util/Set;
        //   63: invokespecial 83	java/util/HashSet:<init>	(Ljava/util/Collection;)V
        //   66: invokestatic 88	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction:access$2	(Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;Ljava/util/Set;)V
        //   69: aload_0
        //   70: getfield 81	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction$2:this$0	Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;
        //   73: invokestatic 92	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction:access$0	(Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;)Lorg/eclipse/mylyn/internal/tasks/ui/views/TaskListView;
        //   76: invokevirtual 94	org/eclipse/mylyn/internal/tasks/ui/views/TaskListView:clearFilters	()V
        //   79: aload_0
        //   80: getfield 81	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction$2:this$0	Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;
        //   83: invokestatic 92	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction:access$0	(Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;)Lorg/eclipse/mylyn/internal/tasks/ui/views/TaskListView;
        //   86: invokevirtual 96	org/eclipse/mylyn/internal/tasks/ui/views/TaskListView:getFilters	()Ljava/util/Set;
        //   89: aload_0
        //   90: getfield 81	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction$2:this$0	Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;
        //   93: invokestatic 90	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction:access$3	(Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;)Lorg/eclipse/mylyn/internal/tasks/ui/views/TaskListInterestFilter;
        //   96: invokeinterface 100 2 0
        //   101: ifne +20 -> 121
        //   104: aload_0
        //   105: getfield 81	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction$2:this$0	Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;
        //   108: invokestatic 92	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction:access$0	(Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;)Lorg/eclipse/mylyn/internal/tasks/ui/views/TaskListView;
        //   111: aload_0
        //   112: getfield 81	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction$2:this$0	Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;
        //   115: invokestatic 90	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction:access$3	(Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;)Lorg/eclipse/mylyn/internal/tasks/ui/views/TaskListInterestFilter;
        //   118: invokevirtual 98	org/eclipse/mylyn/internal/tasks/ui/views/TaskListView:addFilter	(Lorg/eclipse/mylyn/internal/tasks/ui/AbstractTaskListFilter;)V
        //   121: aload_0
        //   122: getfield 81	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction$2:this$0	Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;
        //   125: invokestatic 92	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction:access$0	(Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;)Lorg/eclipse/mylyn/internal/tasks/ui/views/TaskListView;
        //   128: invokevirtual 97	org/eclipse/mylyn/internal/tasks/ui/views/TaskListView:getViewer	()Lorg/eclipse/jface/viewers/TreeViewer;
        //   131: aload_0
        //   132: getfield 81	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction$2:this$0	Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;
        //   135: invokestatic 91	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction:access$4	(Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;)Lorg/eclipse/mylyn/internal/tasks/ui/views/TaskListInterestSorter;
        //   138: invokevirtual 86	org/eclipse/jface/viewers/TreeViewer:setSorter	(Lorg/eclipse/jface/viewers/ViewerSorter;)V
        //   141: aload_0
        //   142: getfield 81	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction$2:this$0	Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;
        //   145: invokestatic 92	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction:access$0	(Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;)Lorg/eclipse/mylyn/internal/tasks/ui/views/TaskListView;
        //   148: invokevirtual 97	org/eclipse/mylyn/internal/tasks/ui/views/TaskListView:getViewer	()Lorg/eclipse/jface/viewers/TreeViewer;
        //   151: invokevirtual 84	org/eclipse/jface/viewers/TreeViewer:expandAll	()V
        //   154: aload_0
        //   155: getfield 81	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction$2:this$0	Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;
        //   158: iconst_1
        //   159: invokestatic 87	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction:access$5	(Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;Z)V
        //   162: goto +20 -> 182
        //   165: astore_1
        //   166: aload_0
        //   167: getfield 81	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction$2:this$0	Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;
        //   170: invokestatic 92	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction:access$0	(Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;)Lorg/eclipse/mylyn/internal/tasks/ui/views/TaskListView;
        //   173: invokevirtual 99	org/eclipse/mylyn/internal/tasks/ui/views/TaskListView:getFilteredTree	()Lorg/eclipse/mylyn/internal/tasks/ui/views/TaskListFilteredTree;
        //   176: iconst_1
        //   177: invokevirtual 93	org/eclipse/mylyn/internal/tasks/ui/views/TaskListFilteredTree:setRedraw	(Z)V
        //   180: aload_1
        //   181: athrow
        //   182: aload_0
        //   183: getfield 81	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction$2:this$0	Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;
        //   186: invokestatic 92	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction:access$0	(Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;)Lorg/eclipse/mylyn/internal/tasks/ui/views/TaskListView;
        //   189: invokevirtual 99	org/eclipse/mylyn/internal/tasks/ui/views/TaskListView:getFilteredTree	()Lorg/eclipse/mylyn/internal/tasks/ui/views/TaskListFilteredTree;
        //   192: iconst_1
        //   193: invokevirtual 93	org/eclipse/mylyn/internal/tasks/ui/views/TaskListFilteredTree:setRedraw	(Z)V
        //   196: return
        // Line number table:
        //   Java source line #107	-> byte code offset #0
        //   Java source line #108	-> byte code offset #14
        //   Java source line #109	-> byte code offset #25
        //   Java source line #110	-> byte code offset #45
        //   Java source line #111	-> byte code offset #69
        //   Java source line #112	-> byte code offset #79
        //   Java source line #113	-> byte code offset #104
        //   Java source line #116	-> byte code offset #121
        //   Java source line #117	-> byte code offset #141
        //   Java source line #120	-> byte code offset #154
        //   Java source line #121	-> byte code offset #165
        //   Java source line #122	-> byte code offset #166
        //   Java source line #123	-> byte code offset #180
        //   Java source line #122	-> byte code offset #182
        //   Java source line #124	-> byte code offset #196
        // Local variable table:
        //   start	length	slot	name	signature
        //   0	197	0	this	2
        //   165	16	1	localObject	Object
        // Exception table:
        //   from	to	target	type
        //   0	165	165	finally
      }
    });
  }
  
  protected void uninstallInterestFilter()
  {
    TasksUiInternal.preservingSelection(taskListView.getViewer(), new Runnable()
    {
      /* Error */
      public void run()
      {
        // Byte code:
        //   0: aload_0
        //   1: getfield 126	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction$3:this$0	Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;
        //   4: invokestatic 140	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction:access$0	(Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;)Lorg/eclipse/mylyn/internal/tasks/ui/views/TaskListView;
        //   7: invokevirtual 143	org/eclipse/mylyn/internal/tasks/ui/views/TaskListView:getViewer	()Lorg/eclipse/jface/viewers/TreeViewer;
        //   10: invokevirtual 134	org/eclipse/jface/viewers/TreeViewer:getControl	()Lorg/eclipse/swt/widgets/Control;
        //   13: iconst_0
        //   14: invokevirtual 147	org/eclipse/swt/widgets/Control:setRedraw	(Z)V
        //   17: aload_0
        //   18: getfield 126	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction$3:this$0	Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;
        //   21: invokestatic 140	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction:access$0	(Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;)Lorg/eclipse/mylyn/internal/tasks/ui/views/TaskListView;
        //   24: iconst_0
        //   25: invokevirtual 142	org/eclipse/mylyn/internal/tasks/ui/views/TaskListView:setFocusedMode	(Z)V
        //   28: aload_0
        //   29: getfield 126	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction$3:this$0	Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;
        //   32: invokestatic 137	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction:access$6	(Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;)Ljava/util/Set;
        //   35: invokeinterface 154 1 0
        //   40: astore_2
        //   41: goto +24 -> 65
        //   44: aload_2
        //   45: invokeinterface 153 1 0
        //   50: checkcast 62	org/eclipse/mylyn/internal/tasks/ui/AbstractTaskListFilter
        //   53: astore_1
        //   54: aload_0
        //   55: getfield 126	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction$3:this$0	Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;
        //   58: invokestatic 140	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction:access$0	(Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;)Lorg/eclipse/mylyn/internal/tasks/ui/views/TaskListView;
        //   61: aload_1
        //   62: invokevirtual 144	org/eclipse/mylyn/internal/tasks/ui/views/TaskListView:addFilter	(Lorg/eclipse/mylyn/internal/tasks/ui/AbstractTaskListFilter;)V
        //   65: aload_2
        //   66: invokeinterface 152 1 0
        //   71: ifne -27 -> 44
        //   74: aload_0
        //   75: getfield 126	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction$3:this$0	Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;
        //   78: invokestatic 140	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction:access$0	(Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;)Lorg/eclipse/mylyn/internal/tasks/ui/views/TaskListView;
        //   81: aload_0
        //   82: getfield 126	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction$3:this$0	Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;
        //   85: invokestatic 139	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction:access$3	(Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;)Lorg/eclipse/mylyn/internal/tasks/ui/views/TaskListInterestFilter;
        //   88: invokevirtual 145	org/eclipse/mylyn/internal/tasks/ui/views/TaskListView:removeFilter	(Lorg/eclipse/mylyn/internal/tasks/ui/AbstractTaskListFilter;)V
        //   91: aload_0
        //   92: getfield 126	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction$3:this$0	Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;
        //   95: invokestatic 140	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction:access$0	(Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;)Lorg/eclipse/mylyn/internal/tasks/ui/views/TaskListView;
        //   98: invokevirtual 146	org/eclipse/mylyn/internal/tasks/ui/views/TaskListView:getFilteredTree	()Lorg/eclipse/mylyn/internal/tasks/ui/views/TaskListFilteredTree;
        //   101: invokevirtual 141	org/eclipse/mylyn/internal/tasks/ui/views/TaskListFilteredTree:getFilterControl	()Lorg/eclipse/swt/widgets/Text;
        //   104: astore_1
        //   105: aload_1
        //   106: ifnull +29 -> 135
        //   109: aload_1
        //   110: invokevirtual 148	org/eclipse/swt/widgets/Text:getText	()Ljava/lang/String;
        //   113: invokevirtual 128	java/lang/String:length	()I
        //   116: ifle +19 -> 135
        //   119: aload_0
        //   120: getfield 126	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction$3:this$0	Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;
        //   123: invokestatic 140	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction:access$0	(Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;)Lorg/eclipse/mylyn/internal/tasks/ui/views/TaskListView;
        //   126: invokevirtual 143	org/eclipse/mylyn/internal/tasks/ui/views/TaskListView:getViewer	()Lorg/eclipse/jface/viewers/TreeViewer;
        //   129: invokevirtual 130	org/eclipse/jface/viewers/TreeViewer:expandAll	()V
        //   132: goto +97 -> 229
        //   135: aload_0
        //   136: getfield 126	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction$3:this$0	Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;
        //   139: invokestatic 140	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction:access$0	(Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;)Lorg/eclipse/mylyn/internal/tasks/ui/views/TaskListView;
        //   142: invokevirtual 143	org/eclipse/mylyn/internal/tasks/ui/views/TaskListView:getViewer	()Lorg/eclipse/jface/viewers/TreeViewer;
        //   145: invokevirtual 129	org/eclipse/jface/viewers/TreeViewer:collapseAll	()V
        //   148: aload_0
        //   149: getfield 126	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction$3:this$0	Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;
        //   152: invokestatic 140	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction:access$0	(Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;)Lorg/eclipse/mylyn/internal/tasks/ui/views/TaskListView;
        //   155: invokevirtual 143	org/eclipse/mylyn/internal/tasks/ui/views/TaskListView:getViewer	()Lorg/eclipse/jface/viewers/TreeViewer;
        //   158: invokevirtual 132	org/eclipse/jface/viewers/TreeViewer:getContentProvider	()Lorg/eclipse/jface/viewers/IContentProvider;
        //   161: instanceof 67
        //   164: ifeq +65 -> 229
        //   167: aload_0
        //   168: getfield 126	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction$3:this$0	Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;
        //   171: invokestatic 140	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction:access$0	(Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;)Lorg/eclipse/mylyn/internal/tasks/ui/views/TaskListView;
        //   174: invokevirtual 143	org/eclipse/mylyn/internal/tasks/ui/views/TaskListView:getViewer	()Lorg/eclipse/jface/viewers/TreeViewer;
        //   177: invokevirtual 135	org/eclipse/jface/viewers/TreeViewer:getTree	()Lorg/eclipse/swt/widgets/Tree;
        //   180: invokevirtual 149	org/eclipse/swt/widgets/Tree:getItemCount	()I
        //   183: ifle +46 -> 229
        //   186: aload_0
        //   187: getfield 126	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction$3:this$0	Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;
        //   190: invokestatic 140	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction:access$0	(Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;)Lorg/eclipse/mylyn/internal/tasks/ui/views/TaskListView;
        //   193: invokevirtual 143	org/eclipse/mylyn/internal/tasks/ui/views/TaskListView:getViewer	()Lorg/eclipse/jface/viewers/TreeViewer;
        //   196: invokevirtual 135	org/eclipse/jface/viewers/TreeViewer:getTree	()Lorg/eclipse/swt/widgets/Tree;
        //   199: iconst_0
        //   200: invokevirtual 150	org/eclipse/swt/widgets/Tree:getItem	(I)Lorg/eclipse/swt/widgets/TreeItem;
        //   203: astore_2
        //   204: aload_2
        //   205: invokevirtual 151	org/eclipse/swt/widgets/TreeItem:getData	()Ljava/lang/Object;
        //   208: ifnull +21 -> 229
        //   211: aload_0
        //   212: getfield 126	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction$3:this$0	Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;
        //   215: invokestatic 140	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction:access$0	(Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;)Lorg/eclipse/mylyn/internal/tasks/ui/views/TaskListView;
        //   218: invokevirtual 143	org/eclipse/mylyn/internal/tasks/ui/views/TaskListView:getViewer	()Lorg/eclipse/jface/viewers/TreeViewer;
        //   221: aload_2
        //   222: invokevirtual 151	org/eclipse/swt/widgets/TreeItem:getData	()Ljava/lang/Object;
        //   225: iconst_1
        //   226: invokevirtual 131	org/eclipse/jface/viewers/TreeViewer:expandToLevel	(Ljava/lang/Object;I)V
        //   229: aload_0
        //   230: getfield 126	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction$3:this$0	Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;
        //   233: invokestatic 140	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction:access$0	(Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;)Lorg/eclipse/mylyn/internal/tasks/ui/views/TaskListView;
        //   236: invokevirtual 143	org/eclipse/mylyn/internal/tasks/ui/views/TaskListView:getViewer	()Lorg/eclipse/jface/viewers/TreeViewer;
        //   239: aload_0
        //   240: getfield 126	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction$3:this$0	Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;
        //   243: invokestatic 138	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction:access$7	(Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;)Lorg/eclipse/jface/viewers/ViewerSorter;
        //   246: invokevirtual 133	org/eclipse/jface/viewers/TreeViewer:setSorter	(Lorg/eclipse/jface/viewers/ViewerSorter;)V
        //   249: aload_0
        //   250: getfield 126	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction$3:this$0	Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;
        //   253: iconst_0
        //   254: invokestatic 136	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction:access$5	(Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;Z)V
        //   257: goto +23 -> 280
        //   260: astore_3
        //   261: aload_0
        //   262: getfield 126	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction$3:this$0	Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;
        //   265: invokestatic 140	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction:access$0	(Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;)Lorg/eclipse/mylyn/internal/tasks/ui/views/TaskListView;
        //   268: invokevirtual 143	org/eclipse/mylyn/internal/tasks/ui/views/TaskListView:getViewer	()Lorg/eclipse/jface/viewers/TreeViewer;
        //   271: invokevirtual 134	org/eclipse/jface/viewers/TreeViewer:getControl	()Lorg/eclipse/swt/widgets/Control;
        //   274: iconst_1
        //   275: invokevirtual 147	org/eclipse/swt/widgets/Control:setRedraw	(Z)V
        //   278: aload_3
        //   279: athrow
        //   280: aload_0
        //   281: getfield 126	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction$3:this$0	Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;
        //   284: invokestatic 140	org/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction:access$0	(Lorg/eclipse/mylyn/internal/tasks/ui/actions/FocusTaskListAction;)Lorg/eclipse/mylyn/internal/tasks/ui/views/TaskListView;
        //   287: invokevirtual 143	org/eclipse/mylyn/internal/tasks/ui/views/TaskListView:getViewer	()Lorg/eclipse/jface/viewers/TreeViewer;
        //   290: invokevirtual 134	org/eclipse/jface/viewers/TreeViewer:getControl	()Lorg/eclipse/swt/widgets/Control;
        //   293: iconst_1
        //   294: invokevirtual 147	org/eclipse/swt/widgets/Control:setRedraw	(Z)V
        //   297: return
        // Line number table:
        //   Java source line #132	-> byte code offset #0
        //   Java source line #133	-> byte code offset #17
        //   Java source line #134	-> byte code offset #28
        //   Java source line #135	-> byte code offset #54
        //   Java source line #134	-> byte code offset #65
        //   Java source line #137	-> byte code offset #74
        //   Java source line #138	-> byte code offset #91
        //   Java source line #139	-> byte code offset #105
        //   Java source line #140	-> byte code offset #119
        //   Java source line #142	-> byte code offset #135
        //   Java source line #144	-> byte code offset #148
        //   Java source line #145	-> byte code offset #167
        //   Java source line #146	-> byte code offset #186
        //   Java source line #147	-> byte code offset #204
        //   Java source line #148	-> byte code offset #211
        //   Java source line #152	-> byte code offset #229
        //   Java source line #153	-> byte code offset #249
        //   Java source line #154	-> byte code offset #260
        //   Java source line #155	-> byte code offset #261
        //   Java source line #156	-> byte code offset #278
        //   Java source line #155	-> byte code offset #280
        //   Java source line #157	-> byte code offset #297
        // Local variable table:
        //   start	length	slot	name	signature
        //   0	298	0	this	3
        //   53	9	1	filter	AbstractTaskListFilter
        //   104	6	1	textControl	org.eclipse.swt.widgets.Text
        //   40	26	2	localIterator	java.util.Iterator
        //   203	19	2	item	org.eclipse.swt.widgets.TreeItem
        //   260	19	3	localObject	Object
        // Exception table:
        //   from	to	target	type
        //   0	260	260	finally
      }
    });
  }
  
  public void run()
  {
    if (taskListView == null) {
      return;
    }
    if (!taskListView.isFocusedMode())
    {
      TasksUiPlugin.getDefault().getPreferenceStore().setValue("org.eclipse.mylyn.tasks.ui.task.list.focused", true);
      installInterestFilter();
    }
    else
    {
      TasksUiPlugin.getDefault().getPreferenceStore().setValue("org.eclipse.mylyn.tasks.ui.task.list.focused", false);
      uninstallInterestFilter();
    }
  }
  
  public void run(IAction action)
  {
    run();
  }
  
  public void runWithEvent(IAction action, Event event)
  {
    run();
  }
  
  public void dispose() {}
}

/* Location:
 * Qualified Name:     org.eclipse.mylyn.internal.tasks.ui.actions.FocusTaskListAction
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.mylyn.internal.tasks.ui.actions;

import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IConfigurationElement;
import org.eclipse.core.runtime.IExecutableExtension;
import org.eclipse.jface.action.Action;
import org.eclipse.jface.action.IAction;
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.jface.wizard.IWizard;
import org.eclipse.jface.wizard.Wizard;
import org.eclipse.jface.wizard.WizardDialog;
import org.eclipse.mylyn.commons.workbench.WorkbenchUtil;
import org.eclipse.mylyn.internal.tasks.ui.LocalRepositoryConnectorUi;
import org.eclipse.mylyn.internal.tasks.ui.TasksUiPlugin;
import org.eclipse.mylyn.internal.tasks.ui.wizards.NewQueryWizard;
import org.eclipse.mylyn.tasks.core.TaskRepository;
import org.eclipse.mylyn.tasks.ui.AbstractRepositoryConnectorUi;
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79

Further reading...

For more information on Java 1.5 Tiger, you may find Java 1.5 Tiger, A developer's Notebook by D. Flanagan and B. McLaughlin from O'Reilly of interest.

New!JAR listings


Copyright 2006-2019. Infinite Loop Ltd