Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 88761 Details for
Bug 213171
Move org.eclipse.gmf.runtime.diagram.ui.requests.SetAllBendpointRequest to GEF
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
SetAllBendpointRequest definition
patch-bendpointreq.txt (text/plain), 3.13 KB, created by
Stéphane Lizeray
on 2008-02-04 08:07:34 EST
(
hide
)
Description:
SetAllBendpointRequest definition
Filename:
MIME Type:
Creator:
Stéphane Lizeray
Created:
2008-02-04 08:07:34 EST
Size:
3.13 KB
patch
obsolete
>Index: src/org/eclipse/gef/RequestConstants.java >=================================================================== >RCS file: /cvsroot/tools/org.eclipse.gef/plugins/org.eclipse.gef/src/org/eclipse/gef/RequestConstants.java,v >retrieving revision 1.12 >diff -u -r1.12 RequestConstants.java >--- src/org/eclipse/gef/RequestConstants.java 30 Mar 2005 21:27:02 -0000 1.12 >+++ src/org/eclipse/gef/RequestConstants.java 4 Feb 2008 13:06:19 -0000 >@@ -142,5 +142,9 @@ > * Indicates selection hover Requests. > */ > String REQ_SELECTION_HOVER = "selection hover"; //$NON-NLS-1$ >+/** >+ * constants for set all connection bendpoint request >+ */ >+String REQ_SET_ALL_BENDPOINT = "set_all_connection_bendpoint"; //$NON-NLS-1$ > > } >Index: src/org/eclipse/gef/requests/SetAllBendpointRequest.java >=================================================================== >RCS file: src/org/eclipse/gef/requests/SetAllBendpointRequest.java >diff -N src/org/eclipse/gef/requests/SetAllBendpointRequest.java >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ src/org/eclipse/gef/requests/SetAllBendpointRequest.java 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,79 @@ >+/****************************************************************************** >+ * Copyright (c) 2002, 2003 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.gef.requests; >+ >+import org.eclipse.draw2d.geometry.Point; >+import org.eclipse.draw2d.geometry.PointList; >+import org.eclipse.gef.Request; >+ >+/** >+ * A Request to set the bend points of {@link org.eclipse.draw2d.Connection} >+ * >+ */ >+public class SetAllBendpointRequest extends Request { >+ private PointList points; >+ private Point ptSourceRef = null; >+ private Point ptTargetRef = null; >+ >+ /** >+ * Method SetAllBendPointsRequest. >+ * @param sz >+ * @param points >+ */ >+ public SetAllBendpointRequest(String sz, PointList points) { >+ super(sz); >+ this.points = points; >+ } >+ >+ /** >+ * Method SetAllBendPointsRequest. >+ * @param sz >+ * @param points >+ * @param ptSourceRef >+ * @param ptTargetRef >+ */ >+ public SetAllBendpointRequest(String sz, PointList points, Point ptSourceRef, Point ptTargetRef) { >+ super(sz); >+ this.points = points; >+ this.ptSourceRef = ptSourceRef; >+ this.ptTargetRef = ptTargetRef; >+ } >+ >+ /** >+ * Method setPoints. >+ * @param points >+ */ >+ public void setPoints(PointList points) { >+ this.points = points; >+ } >+ >+ /** >+ * Method getPoints. >+ * @return PointList >+ */ >+ public PointList getPoints() { >+ return points; >+ } >+ >+ /** >+ * @return Returns the ptRef1. >+ */ >+ public Point getSourceReference() { >+ return ptSourceRef; >+ } >+ /** >+ * @return Returns the ptRef2. >+ */ >+ public Point getTargetReference() { >+ return ptTargetRef; >+ } >+}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 213171
: 88761