import java.util.ArrayList;
import java.util.List;
-import java.util.Map;
import org.eclipse.swt.graphics.Color;
gc.drawText(label, getPosX() + (rectWidth - textExtent.x) / 2, getPosY() + (height - textExtent.y) / 2, true);
gc.setFont(oldFont);
}
-
- @Override
- public Map<String, Object> getInstantiationParameters()
- {
- Map<String, Object> m = super.getInstantiationParameters();
- m.put(kLogicWidth, logicWidth);
- return m;
- }
}
\ No newline at end of file