Skip to main content
summaryrefslogtreecommitdiffstats
blob: e09c76407ec345bf5b88d93a2c0353024e8e5268 (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
32
/*******************************************************************************
 * Copyright (c) 2001, 2006 IBM Corporation and others.
 * 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:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.wst.wsdl.ui.internal.asd.facade;

import java.util.List;

import org.eclipse.gef.commands.Command;

// this is a simplification of an input, output or fault object
// (or any other kind of object future specs might cook up)
public interface IMessageReference extends INamedObject
{  
  public final static int KIND_INPUT  = 1;
  public final static int KIND_OUTPUT = 2;
  public final static int KIND_FAULT = 3;
  
  public int getKind();
  public List getParameters();   
  public IOperation getOwnerOperation();
  public String getPreview();
  
  public Command getReorderParametersCommand(IParameter leftSibling, IParameter rightSibling, IParameter movingParameter);
  public Command getDeleteCommand();
}

Back to the top