Skip to main content
summaryrefslogtreecommitdiffstats
blob: 3b956f3eed4ba5ca8074241c703224da24a60d5c (plain) (blame)
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
/*******************************************************************************
 * Copyright (c) 2014 Boeing.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     Boeing - initial API and implementation
 *******************************************************************************/
package org.eclipse.osee.ats.actions;

import org.eclipse.core.commands.AbstractHandler;
import org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.osee.ats.internal.ATSPerspective;
import org.eclipse.osee.framework.ui.plugin.util.AWorkbench;

/**
 * @author Donald G. Dunne
 */
public class OpenAtsPerspectiveHandler extends AbstractHandler {

   public OpenAtsPerspectiveHandler() {
   }

   @Override
   public Object execute(ExecutionEvent event) {
      AWorkbench.openPerspective(ATSPerspective.ID);
      return null;
   }
}

Back to the top