Package org.eclipse.draw2d

Examples of org.eclipse.draw2d.RoundedRectangle


    public BPMNRuleSetNodeFigure() {
        setSize(80, 48);
    }
   
    protected void customizeFigure() {
        rectangle = new RoundedRectangle();
        rectangle.setCornerDimensions(new Dimension(25, 25));
        add(rectangle, 0);
        rectangle.setBounds(getBounds());
        setSelected(false);
    }
View Full Code Here


    public void setColor(RGB rgb) {
        color = new Color(Display.getCurrent(), rgb);
    }
   
    protected void customizeFigure() {
        rectangle = new RoundedRectangle();
        rectangle.setCornerDimensions(new Dimension(25, 25));
        add(rectangle, 0);
        rectangle.setBackgroundColor(color);
        rectangle.setBounds(getBounds());
        setSelected(false);
View Full Code Here

    public BPMNStateFigure() {
        setSize(80, 48);
    }
   
    protected void customizeFigure() {
        rectangle = new RoundedRectangle();
        rectangle.setCornerDimensions(new Dimension(25, 25));
        rectangle.setBackgroundColor(color);
        add(rectangle, 0);
        rectangle.setBounds(getBounds());
        setSelected(false);
View Full Code Here

    public BPMNSubFlowFigure() {
        setSize(110, 48);
    }
   
    protected void customizeFigure() {
        rectangle = new RoundedRectangle();
        rectangle.setCornerDimensions(new Dimension(25, 25));
        rectangle.setBackgroundColor(color);
        add(rectangle, 0);
        rectangle.setBounds(getBounds());
        setSelected(false);
View Full Code Here

    public static class RuleSetNodeFigure extends AbstractElementFigure {
       
        private RoundedRectangle rectangle;
       
        protected void customizeFigure() {
            rectangle = new RoundedRectangle();
            rectangle.setCornerDimensions(new Dimension(25, 25));
            add(rectangle, 0);
            rectangle.setBackgroundColor(color);
            rectangle.setBounds(getBounds());
            setSelected(false);
View Full Code Here

            DroolsEclipsePlugin.getDefault().getBundle().getEntry("icons/question.gif")).createImage();
           
        private RoundedRectangle rectangle;
       
        protected void customizeFigure() {
            rectangle = new RoundedRectangle();
            rectangle.setCornerDimensions(new Dimension(25, 25));
            add(rectangle, 0);
            rectangle.setBackgroundColor(color);
            rectangle.setBounds(getBounds());
            setSelected(false);
View Full Code Here

                DroolsEclipsePlugin.getDefault().getBundle().getEntry("icons/process.gif")).createImage();
               
        private RoundedRectangle rectangle;
       
        protected void customizeFigure() {
            rectangle = new RoundedRectangle();
            rectangle.setCornerDimensions(new Dimension(25, 25));
            add(rectangle, 0);
            rectangle.setBackgroundColor(color);
            rectangle.setBounds(getBounds());
            setSelected(false);
View Full Code Here

            DroolsEclipsePlugin.getDefault().getBundle().getEntry("icons/action.gif")).createImage();
       
        private RoundedRectangle rectangle;
       
        protected void customizeFigure() {
            rectangle = new RoundedRectangle();
            rectangle.setCornerDimensions(new Dimension(25, 25));
            add(rectangle, 0);
            rectangle.setBackgroundColor(color);
            rectangle.setBounds(getBounds());
            setSelected(false);
View Full Code Here

            DroolsEclipsePlugin.getDefault().getBundle().getEntry("icons/timer.gif")).createImage();
           
        private RoundedRectangle rectangle;
       
        protected void customizeFigure() {
            rectangle = new RoundedRectangle();
            rectangle.setCornerDimensions(new Dimension(25, 25));
            add(rectangle, 0);
            rectangle.setBackgroundColor(color);
            rectangle.setBounds(getBounds());
            setSelected(false);
View Full Code Here

            }
            return closest;
        }
       
        protected void customizeFigure() {
            rectangle = new RoundedRectangle();
            rectangle.setCornerDimensions(new Dimension(25, 25));
            add(rectangle, 0);
            rectangle.setBackgroundColor(color);
            rectangle.setBounds(getBounds());
            setSelected(false);
View Full Code Here

TOP

Related Classes of org.eclipse.draw2d.RoundedRectangle

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.