Java 类org.eclipse.draw2d.Shape 实例源码

项目:neoscada    文件:GenericLevelPresets.java   
private void activate ( final String tag, final Shape shape )
{
    shape.addMouseListener ( new MouseListener.Stub () {

        @Override
        public void mouseReleased ( final MouseEvent me )
        {
            GenericLevelPresets.this.triggerAction ( tag );
        }
    } );
}
项目:PDFReporter-Studio    文件:FigureEditPart.java   
@Override
public void refreshVisuals() {
    Shape rect = (Shape) getFigure();
    if (Display.getCurrent() != null) {
        setupFigure(rect);
        rect.invalidate();
        rect.repaint();
    }
}
项目:d-case_editor    文件:DcaseNodeEditPart.java   
/**
 * Sets the line width.
 * 
 * @param width the line width.
 */
public void setLineWidthEx(int width) {
    if (width < 0) {
        width = 1;
    }
    ((Shape) getPrimaryShape()).setLineWidth(width);
}
项目:neoscada    文件:GenericLevelPresets.java   
private void setTri ( final Shape tri, final String string )
{
    tri.setOutline ( isActive ( string ) );
}
项目:neoscada    文件:EllipseController.java   
@Override
public Shape getPropertyFigure ()
{
    return this.figure;
}
项目:neoscada    文件:ArcController.java   
@Override
protected Shape getPropertyFigure ()
{
    return this.figure;
}
项目:neoscada    文件:RectangleController.java   
@Override
protected Shape getPropertyFigure ()
{
    return this.figure;
}
项目:xtext-gef    文件:StateEditPart.java   
/**
 * @generated
 */
protected void setLineWidth(int width) {
    if (primaryShape instanceof Shape) {
        ((Shape) primaryShape).setLineWidth(width);
    }
}
项目:xtext-gef    文件:StateEditPart.java   
/**
 * @generated
 */
protected void setLineType(int style) {
    if (primaryShape instanceof Shape) {
        ((Shape) primaryShape).setLineStyle(style);
    }
}
项目:ROADDesigner    文件:SMCEditPart.java   
/**
 * @generated
 */
protected void setLineWidth(int width) {
    if (primaryShape instanceof Shape) {
        ((Shape) primaryShape).setLineWidth(width);
    }
}
项目:ROADDesigner    文件:SMCEditPart.java   
/**
 * @generated
 */
protected void setLineType(int style) {
    if (primaryShape instanceof Shape) {
        ((Shape) primaryShape).setLineStyle(style);
    }
}
项目:ROADDesigner    文件:FactEditPart.java   
/**
 * @generated
 */
protected void setLineWidth(int width) {
    if (primaryShape instanceof Shape) {
        ((Shape) primaryShape).setLineWidth(width);
    }
}
项目:ROADDesigner    文件:FactEditPart.java   
/**
 * @generated
 */
protected void setLineType(int style) {
    if (primaryShape instanceof Shape) {
        ((Shape) primaryShape).setLineStyle(style);
    }
}
项目:ROADDesigner    文件:ContractEditPart.java   
/**
 * @generated
 */
protected void setLineWidth(int width) {
    if (primaryShape instanceof Shape) {
        ((Shape) primaryShape).setLineWidth(width);
    }
}
项目:ROADDesigner    文件:ContractEditPart.java   
/**
 * @generated
 */
protected void setLineType(int style) {
    if (primaryShape instanceof Shape) {
        ((Shape) primaryShape).setLineStyle(style);
    }
}
项目:ROADDesigner    文件:PlayerEditPart.java   
/**
 * @generated
 */
protected void setLineWidth(int width) {
    if (primaryShape instanceof Shape) {
        ((Shape) primaryShape).setLineWidth(width);
    }
}
项目:ROADDesigner    文件:PlayerEditPart.java   
/**
 * @generated
 */
protected void setLineType(int style) {
    if (primaryShape instanceof Shape) {
        ((Shape) primaryShape).setLineStyle(style);
    }
}
项目:ROADDesigner    文件:RoleEditPart.java   
/**
 * @generated
 */
protected void setLineWidth(int width) {
    if (primaryShape instanceof Shape) {
        ((Shape) primaryShape).setLineWidth(width);
    }
}
项目:ROADDesigner    文件:RoleEditPart.java   
/**
 * @generated
 */
protected void setLineType(int style) {
    if (primaryShape instanceof Shape) {
        ((Shape) primaryShape).setLineStyle(style);
    }
}
项目:HelloBrazil    文件:GroupMatchEditPart.java   
/**
 * @generated
 */
protected void setLineWidth(int width) {
    if (primaryShape instanceof Shape) {
        ((Shape) primaryShape).setLineWidth(width);
    }
}
项目:HelloBrazil    文件:GroupMatchEditPart.java   
/**
 * @generated
 */
protected void setLineType(int style) {
    if (primaryShape instanceof Shape) {
        ((Shape) primaryShape).setLineStyle(style);
    }
}
项目:HelloBrazil    文件:GroupEditPart.java   
/**
 * @generated
 */
protected void setLineWidth(int width) {
    if (primaryShape instanceof Shape) {
        ((Shape) primaryShape).setLineWidth(width);
    }
}
项目:HelloBrazil    文件:GroupEditPart.java   
/**
 * @generated
 */
protected void setLineType(int style) {
    if (primaryShape instanceof Shape) {
        ((Shape) primaryShape).setLineStyle(style);
    }
}
项目:HelloBrazil    文件:TeamEditPart.java   
/**
 * @generated
 */
protected void setLineWidth(int width) {
    if (primaryShape instanceof Shape) {
        ((Shape) primaryShape).setLineWidth(width);
    }
}
项目:HelloBrazil    文件:TeamEditPart.java   
/**
 * @generated
 */
protected void setLineType(int style) {
    if (primaryShape instanceof Shape) {
        ((Shape) primaryShape).setLineStyle(style);
    }
}
项目:HelloBrazil    文件:EliminationMatchEditPart.java   
/**
 * @generated
 */
protected void setLineWidth(int width) {
    if (primaryShape instanceof Shape) {
        ((Shape) primaryShape).setLineWidth(width);
    }
}
项目:HelloBrazil    文件:EliminationMatchEditPart.java   
/**
 * @generated
 */
protected void setLineType(int style) {
    if (primaryShape instanceof Shape) {
        ((Shape) primaryShape).setLineStyle(style);
    }
}
项目:simplified-bpmn-example    文件:EndEvent2EditPart.java   
/**
 * @generated
 */
protected void setLineWidth(int width) {
    if (primaryShape instanceof Shape) {
        ((Shape) primaryShape).setLineWidth(width);
    }
}
项目:simplified-bpmn-example    文件:EndEvent2EditPart.java   
/**
 * @generated
 */
protected void setLineType(int style) {
    if (primaryShape instanceof Shape) {
        ((Shape) primaryShape).setLineStyle(style);
    }
}
项目:simplified-bpmn-example    文件:IntermediateEventEditPart.java   
/**
 * @generated
 */
protected void setLineWidth(int width) {
    if (primaryShape instanceof Shape) {
        ((Shape) primaryShape).setLineWidth(width);
    }
}
项目:simplified-bpmn-example    文件:IntermediateEventEditPart.java   
/**
 * @generated
 */
protected void setLineType(int style) {
    if (primaryShape instanceof Shape) {
        ((Shape) primaryShape).setLineStyle(style);
    }
}
项目:simplified-bpmn-example    文件:DataObjectEditPart.java   
/**
 * @generated
 */
protected void setLineWidth(int width) {
    if (primaryShape instanceof Shape) {
        ((Shape) primaryShape).setLineWidth(width);
    }
}
项目:simplified-bpmn-example    文件:DataObjectEditPart.java   
/**
 * @generated
 */
protected void setLineType(int style) {
    if (primaryShape instanceof Shape) {
        ((Shape) primaryShape).setLineStyle(style);
    }
}
项目:simplified-bpmn-example    文件:LaneEditPart.java   
/**
 * @generated
 */
protected void setLineWidth(int width) {
    if (primaryShape instanceof Shape) {
        ((Shape) primaryShape).setLineWidth(width);
    }
}
项目:simplified-bpmn-example    文件:LaneEditPart.java   
/**
 * @generated
 */
protected void setLineType(int style) {
    if (primaryShape instanceof Shape) {
        ((Shape) primaryShape).setLineStyle(style);
    }
}
项目:simplified-bpmn-example    文件:StartEvent2EditPart.java   
/**
 * @generated
 */
protected void setLineWidth(int width) {
    if (primaryShape instanceof Shape) {
        ((Shape) primaryShape).setLineWidth(width);
    }
}
项目:simplified-bpmn-example    文件:StartEvent2EditPart.java   
/**
 * @generated
 */
protected void setLineType(int style) {
    if (primaryShape instanceof Shape) {
        ((Shape) primaryShape).setLineStyle(style);
    }
}
项目:simplified-bpmn-example    文件:OR2EditPart.java   
/**
 * @generated
 */
protected void setLineWidth(int width) {
    if (primaryShape instanceof Shape) {
        ((Shape) primaryShape).setLineWidth(width);
    }
}
项目:simplified-bpmn-example    文件:OR2EditPart.java   
/**
 * @generated
 */
protected void setLineType(int style) {
    if (primaryShape instanceof Shape) {
        ((Shape) primaryShape).setLineStyle(style);
    }
}
项目:simplified-bpmn-example    文件:AND2EditPart.java   
/**
 * @generated
 */
protected void setLineWidth(int width) {
    if (primaryShape instanceof Shape) {
        ((Shape) primaryShape).setLineWidth(width);
    }
}