Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse GEF
3.3

org.eclipse.gef.requests
Class BendpointRequest

java.lang.Object
  extended by

org.eclipse.gef.Request
      extended by

org.eclipse.gef.requests.LocationRequest
          extended by
org.eclipse.gef.requests.BendpointRequest

public class BendpointRequest
extends LocationRequest

A request to alter a bendpoint.


Constructor Summary
BendpointRequest ()
           
 
Method Summary
 int getIndex ()
          Returns the index of the bendpoint to be changed.
  ConnectionEditPart getSource ()
          Returns the ConnectionEditPart that the bendpoint belongs to.
 void setIndex (int i)
          Sets the index of the bendpoint to be changed.
 void setSource ( ConnectionEditPart s)
          Sets the ConnectionEditPart the bendpoint belongs to.
 
Methods inherited from class org.eclipse.gef.requests. LocationRequest
getLocation, setLocation
 
Methods inherited from class org.eclipse.gef. Request
getExtendedData, getType, setExtendedData, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BendpointRequest

public BendpointRequest()
Method Detail

getIndex

public int getIndex()
Returns the index of the bendpoint to be changed.

Returns:
the bendpoint index

getSource

public 
ConnectionEditPart getSource()
Returns the ConnectionEditPart that the bendpoint belongs to.

Returns:
the bendpoint's ConnectionEditPart

setIndex

public void setIndex(int i)
Sets the index of the bendpoint to be changed.

Parameters:
i - the bendpoint's index

setSource

public void setSource(
ConnectionEditPart s)
Sets the ConnectionEditPart the bendpoint belongs to.

Parameters:
s - the bendpoint's ConnectionEditPart

Eclipse GEF
3.3

Copyright (c) IBM Corp. and others 2000, 2007. All Rights Reserved.

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire