Lines 1-5
Link Here
|
1 |
/******************************************************************************* |
1 |
/******************************************************************************* |
2 |
* Copyright (c) 2001, 2008 IBM Corporation and others. |
2 |
* Copyright (c) 2001, 2009 IBM Corporation and others. |
3 |
* All rights reserved. This program and the accompanying materials |
3 |
* All rights reserved. This program and the accompanying materials |
4 |
* are made available under the terms of the Eclipse Public License v1.0 |
4 |
* are made available under the terms of the Eclipse Public License v1.0 |
5 |
* which accompanies this distribution, and is available at |
5 |
* which accompanies this distribution, and is available at |
Lines 60-65
Link Here
|
60 |
import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11Type; |
60 |
import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11Type; |
61 |
import org.eclipse.wst.wsdl.ui.internal.asd.ASDMultiPageEditor; |
61 |
import org.eclipse.wst.wsdl.ui.internal.asd.ASDMultiPageEditor; |
62 |
import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDAddMessageAction; |
62 |
import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDAddMessageAction; |
|
|
63 |
import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDDesignSelectAll; |
63 |
import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDDirectEditAction; |
64 |
import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDDirectEditAction; |
64 |
import org.eclipse.wst.wsdl.ui.internal.asd.actions.BaseSelectionAction; |
65 |
import org.eclipse.wst.wsdl.ui.internal.asd.actions.BaseSelectionAction; |
65 |
import org.eclipse.wst.wsdl.ui.internal.asd.design.DesignViewGraphicalViewer; |
66 |
import org.eclipse.wst.wsdl.ui.internal.asd.design.DesignViewGraphicalViewer; |
Lines 457-462
Link Here
|
457 |
ActionRegistry registry = getActionRegistry(); |
458 |
ActionRegistry registry = getActionRegistry(); |
458 |
BaseSelectionAction action; |
459 |
BaseSelectionAction action; |
459 |
if (!isFileReadOnly()) { |
460 |
if (!isFileReadOnly()) { |
|
|
461 |
action = new ASDDesignSelectAll(this); |
462 |
action.setSelectionProvider(getSelectionManager()); |
463 |
registry.registerAction(action); |
464 |
|
460 |
action = new ASDAddMessageAction(this); |
465 |
action = new ASDAddMessageAction(this); |
461 |
action.setSelectionProvider(getSelectionManager()); |
466 |
action.setSelectionProvider(getSelectionManager()); |
462 |
registry.registerAction(action); |
467 |
registry.registerAction(action); |