Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Making Polyline a "normal" figure
Making Polyline a "normal" figure [message #98687] Tue, 30 January 2007 07:18 Go to next message
Eclipse UserFriend
Originally posted by: biju_gopinathan.rediffmail.com

Hi Alex Shatalin,

I have read the post created by you titled "Making Polyline a "normal"
figure" in the GEF newsgroup.

Did you solved this problem, if yes please help us , with any code
snippets, or suggestions on how to solve this problem.

Thanks in Advance Regards biju
Re: Making Polyline a "normal" figure [message #98717 is a reply to message #98687] Tue, 30 January 2007 07:35 Go to previous messageGo to next message
Eclipse UserFriend
Hello biju,

> Did you solved this problem, if yes please help us , with any code
> snippets, or suggestions on how to solve this problem.
Well, current solution is to override following methods and copy implementation
from the Figure class (original implementation overriden in Polyline class):

- outlineShape
- primTranslate
- getBounds/setBounds

-----------------
Alex Shatalin
Re: Making Polyline a "normal" figure [message #98790 is a reply to message #98717] Tue, 30 January 2007 08:41 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: biju_gopinathan.rediffmail.com

This is a multi-part message in MIME format.
--------------030703080200070100090201
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi Alex Shatalin,

Thanks for your reply,

We tried it as you said, but its showing the following
NullPointerException ,we are attaching our Figure Class and the
exception stack trace.

Can you please check it, and we are using GMF 1.0

Thanks again Regards biju
Alex Shatalin wrote:
> Hello biju,
>
>> Did you solved this problem, if yes please help us , with any code
>> snippets, or suggestions on how to solve this problem.
> Well, current solution is to override following methods and copy
> implementation from the Figure class (original implementation overriden
> in Polyline class):
>
> - outlineShape - primTranslate
> - getBounds/setBounds
>
> -----------------
> Alex Shatalin
>
>


--------------030703080200070100090201
Content-Type: text/plain;
name="ConveyorLineFigure.java"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="ConveyorLineFigure.java"

package com.intsolvers.factorySim.process.diagram.util;

import java.util.Collections;
import java.util.List;

import org.eclipse.draw2d.Graphics;
import org.eclipse.draw2d.IFigure;
import org.eclipse.draw2d.geometry.Rectangle;
import org.eclipse.gmf.runtime.draw2d.ui.figures.PolylineConnection Ex;

public class ConveyorLineFigure extends PolylineConnectionEx
{

/**
* @generated
*/
public ConveyorLineFigure() {
this.setForegroundColor(CONVEYORLINE_FORE);
this.setBackgroundColor(CONVEYORLINE_BACK);
}
private List children = Collections.EMPTY_LIST;
@Override
public void primTranslate(int dx, int dy) {
bounds.x += dx;
bounds.y += dy;
if (useLocalCoordinates()) {
fireCoordinateSystemChanged();
return;
}
for (int i = 0; i < children.size(); i++)
((IFigure)children.get(i)).translate(dx, dy);
}

@Override
protected void outlineShape(Graphics g) {
g.drawPolyline(getPoints());
}


@Override
public Rectangle getBounds() {
return bounds;
}

@Override
public void setBounds(Rectangle rect) {
int x = bounds.x,
y = bounds.y;

boolean resize = (rect.width != bounds.width) || (rect.height != bounds.height),
translate = (rect.x != x) || (rect.y != y);

if ((resize || translate) && isVisible())
erase();
if (translate) {
int dx = rect.x - x;
int dy = rect.y - y;
primTranslate(dx, dy);
}

bounds.width = rect.width;
bounds.height = rect.height;

if (translate || resize) {
if (resize)
invalidate();
fireFigureMoved();
repaint();
}
}

/**
* @generated
*/
public static final org.eclipse.swt.graphics.Color CONVEYORLINE_BACK = new org.eclipse.swt.graphics.Color(
null, 0, 250, 0);

/**
* @generated
*/
public static final org.eclipse.swt.graphics.Color CONVEYORLINE_FORE = new org.eclipse.swt.graphics.Color(
null, 0, 0, 250);
}

--------------030703080200070100090201
Content-Type: text/plain;
name="Exception.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="Exception.txt"

java.lang.NullPointerException
at org.eclipse.draw2d.Figure.repaint(Figure.java:1311)
at org.eclipse.draw2d.Figure.repaint(Figure.java:1326)
at org.eclipse.draw2d.Polyline.addPoint(Polyline.java:50)
at org.eclipse.gmf.runtime.draw2d.ui.figures.PolylineConnection Ex.addPoint(PolylineConnectionEx.java:171)
at org.eclipse.draw2d.PolylineConnection.<init>(PolylineConnection.java:47)
at org.eclipse.gmf.runtime.draw2d.ui.figures.PolylineConnection Ex. <init>(PolylineConnectionEx.java:150)
at com.intsolvers.factorySim.process.diagram.util.ConveyorLine. <init>(ConveyorLine.java:67)
at com.intsolvers.factorySim.process.diagram.edit.parts.Conveyo rDefEditPart.createNodeShape(ConveyorDefEditPart.java:114)
at com.intsolvers.factorySim.process.diagram.edit.parts.Conveyo rDefEditPart.createNodeFigure(ConveyorDefEditPart.java:144)
at org.eclipse.gmf.runtime.diagram.ui.editparts.ShapeNodeEditPa rt.createFigure(ShapeNodeEditPart.java:90)
at org.eclipse.gef.editparts.AbstractGraphicalEditPart.getFigur e(AbstractGraphicalEditPart.java:435)
at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPa rt.isSelectable(GraphicalEditPart.java:1220)
--------------030703080200070100090201--
Re: Making Polyline a "normal" figure [message #98884 is a reply to message #98717] Tue, 30 January 2007 09:08 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: biju_gopinathan.rediffmail.com

This is a multi-part message in MIME format.
--------------010401010408070102010301
Content-Type: text/plain; charset=UTF-7
Content-Transfer-Encoding: 7bit

Hi Alex Shatalin,

Earlier I tried to extend my Figure from PolylineConnectionEx , and now
I changed it to Polyline and the previous exception is not being shown.

But in the canvas the Poliline Figure is shown as in the following
attachment, and we cannot select the line specifically , and the
selection handles appear as for a normal Rectangle Figure.

Any Idea.. We are using GMF 1.0.
Please share any code snippets if you have done it before

Thanks again Regards biju

Alex Shatalin wrote:
> Hello biju,
>
>> Did you solved this problem, if yes please help us , with any code
>> snippets, or suggestions on how to solve this problem.
> Well, current solution is to override following methods and copy
> implementation from the Figure class (original implementation overriden
> in Polyline class):
>
> - outlineShape - primTranslate
> - getBounds/setBounds
>
> -----------------
> Alex Shatalin
>
>


--------------010401010408070102010301
Content-Type: image/bmp;
name="diagram1.bmp"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
filename="diagram1.bmp"

Qk1mDgcAAAAAADYAAAAoAAAAwgEAAFYBAAABABgAAAAAADAOBwAAAAAAAAAA AAAAAAAAAAAA
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
AAD///////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//8AAP////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
/////wAA//////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
////////AAD///////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////8AAP////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
/////////////wAA//////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
////////////////AAD///////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////8AAP////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
/////////////////////wAA//////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
////////////////////////AAD///////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////8AAP////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
/////////////////////////////wAA//////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
////////////////////////////////AAD///////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////8AAP////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
/////////////////////////////////////wAA//////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
////////////////////////////////////////AAD///////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////8AAP////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
/////////////////////////////////////////////wAA//////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
////////////////////////////////////////////////AAD///////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////8AAP////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
/////////////////////////////////////////////////////wAA//// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
////////////////////////////////////////////////////////AAD/ ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////8A AP//////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// /wAA////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////AAD/////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// //////8AAP//
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// /////////wAA
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
AAD///////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//8AAP////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
/////wAA//////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
//////////////////////////////////////////////////////////// ////////////
////////AAD///////////////////////////////////////////////// ////////////
//
Re: Making Polyline a "normal" figure [message #98912 is a reply to message #98790] Tue, 30 January 2007 09:38 Go to previous message
Eclipse UserFriend
Hello biju,

Looks like this excaption was thrown because getBounds() == null. I suggest
you to debug this code to see the reason.

-----------------
Alex Shatalin
Previous Topic:Transformation definitions
Next Topic:Override a toolbar action
Goto Forum:
  


Current Time: Mon Jul 07 06:48:54 EDT 2025

Powered by FUDForum. Page generated in 0.07511 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top