package Draw2D_1;
import org.eclipse.draw2d.Label;
public class ChipFont extends Label
{
private String name;
private int fid;
private Chip chip;
public ChipFont(String name,Chip chip){
super.setText(name);
this.chip = chip;
}
public int getFid()
{
return fid;
}
public void setFid(int fid)
{
this.fid = fid;
}
public String getName()
{
return name;
}
public void setName(String name)
{
this.name = name;
}
@Override
public void setText(String s)
{
// TODO Auto-generated method stub
super.setText(s);
}
public Chip getChip()
{
return chip;
}
public void setChip(Chip chip)
{
this.chip = chip;
}
}
import org.eclipse.draw2d.Label;
public class ChipFont extends Label
{
private String name;
private int fid;
private Chip chip;
public ChipFont(String name,Chip chip){
super.setText(name);
this.chip = chip;
}
public int getFid()
{
return fid;
}
public void setFid(int fid)
{
this.fid = fid;
}
public String getName()
{
return name;
}
public void setName(String name)
{
this.name = name;
}
@Override
public void setText(String s)
{
// TODO Auto-generated method stub
super.setText(s);
}
public Chip getChip()
{
return chip;
}
public void setChip(Chip chip)
{
this.chip = chip;
}
}