Search in sources :

Example 6 with NodeFigure

use of org.eclipse.gmf.runtime.gef.ui.figures.NodeFigure in project tdi-studio-se by Talend.

the class DocumentBusinessItemEditPart method createNodeFigure.

/**
     * Creates figure for this edit part.
     * 
     * Body of this method does not depend on settings in generation model so you may safely remove <i>generated</i> tag
     * and modify it.
     * 
     * @generated
     */
protected NodeFigure createNodeFigure() {
    NodeFigure figure = createNodePlate();
    figure.setLayoutManager(new StackLayout());
    IFigure shape = createNodeShape();
    figure.add(shape);
    contentPane = setupContentPane(shape);
    return figure;
}
Also used : DefaultSizeNodeFigure(org.eclipse.gmf.runtime.gef.ui.figures.DefaultSizeNodeFigure) NodeFigure(org.eclipse.gmf.runtime.gef.ui.figures.NodeFigure) StackLayout(org.eclipse.draw2d.StackLayout) IFigure(org.eclipse.draw2d.IFigure)

Example 7 with NodeFigure

use of org.eclipse.gmf.runtime.gef.ui.figures.NodeFigure in project tdi-studio-se by Talend.

the class EllipseBusinessItemEditPart method createNodeFigure.

/**
     * Creates figure for this edit part.
     * 
     * Body of this method does not depend on settings in generation model so you may safely remove <i>generated</i> tag
     * and modify it.
     * 
     * @generated
     */
protected NodeFigure createNodeFigure() {
    NodeFigure figure = createNodePlate();
    figure.setLayoutManager(new StackLayout());
    IFigure shape = createNodeShape();
    figure.add(shape);
    contentPane = setupContentPane(shape);
    return figure;
}
Also used : DefaultSizeNodeFigure(org.eclipse.gmf.runtime.gef.ui.figures.DefaultSizeNodeFigure) NodeFigure(org.eclipse.gmf.runtime.gef.ui.figures.NodeFigure) StackLayout(org.eclipse.draw2d.StackLayout) IFigure(org.eclipse.draw2d.IFigure)

Example 8 with NodeFigure

use of org.eclipse.gmf.runtime.gef.ui.figures.NodeFigure in project tdi-studio-se by Talend.

the class InputBusinessItemEditPart method createNodeFigure.

/**
     * Creates figure for this edit part.
     * 
     * Body of this method does not depend on settings in generation model so you may safely remove <i>generated</i> tag
     * and modify it.
     * 
     * @generated
     */
protected NodeFigure createNodeFigure() {
    NodeFigure figure = createNodePlate();
    figure.setLayoutManager(new StackLayout());
    IFigure shape = createNodeShape();
    figure.add(shape);
    contentPane = setupContentPane(shape);
    return figure;
}
Also used : DefaultSizeNodeFigure(org.eclipse.gmf.runtime.gef.ui.figures.DefaultSizeNodeFigure) NodeFigure(org.eclipse.gmf.runtime.gef.ui.figures.NodeFigure) StackLayout(org.eclipse.draw2d.StackLayout) IFigure(org.eclipse.draw2d.IFigure)

Example 9 with NodeFigure

use of org.eclipse.gmf.runtime.gef.ui.figures.NodeFigure in project tdi-studio-se by Talend.

the class GearBusinessItemEditPart method createNodeFigure.

/**
     * Creates figure for this edit part.
     * 
     * Body of this method does not depend on settings in generation model so you may safely remove <i>generated</i> tag
     * and modify it.
     * 
     * @generated
     */
protected NodeFigure createNodeFigure() {
    NodeFigure figure = createNodePlate();
    figure.setLayoutManager(new StackLayout());
    IFigure shape = createNodeShape();
    figure.add(shape);
    contentPane = setupContentPane(shape);
    return figure;
}
Also used : DefaultSizeNodeFigure(org.eclipse.gmf.runtime.gef.ui.figures.DefaultSizeNodeFigure) NodeFigure(org.eclipse.gmf.runtime.gef.ui.figures.NodeFigure) StackLayout(org.eclipse.draw2d.StackLayout) IFigure(org.eclipse.draw2d.IFigure)

Example 10 with NodeFigure

use of org.eclipse.gmf.runtime.gef.ui.figures.NodeFigure in project tdi-studio-se by Talend.

the class ListBusinessItemEditPart method createNodeFigure.

/**
     * Creates figure for this edit part.
     * 
     * Body of this method does not depend on settings in generation model so you may safely remove <i>generated</i> tag
     * and modify it.
     * 
     * @generated
     */
protected NodeFigure createNodeFigure() {
    NodeFigure figure = createNodePlate();
    figure.setLayoutManager(new StackLayout());
    IFigure shape = createNodeShape();
    figure.add(shape);
    contentPane = setupContentPane(shape);
    return figure;
}
Also used : DefaultSizeNodeFigure(org.eclipse.gmf.runtime.gef.ui.figures.DefaultSizeNodeFigure) NodeFigure(org.eclipse.gmf.runtime.gef.ui.figures.NodeFigure) StackLayout(org.eclipse.draw2d.StackLayout) IFigure(org.eclipse.draw2d.IFigure)

Aggregations

NodeFigure (org.eclipse.gmf.runtime.gef.ui.figures.NodeFigure)12 IFigure (org.eclipse.draw2d.IFigure)11 StackLayout (org.eclipse.draw2d.StackLayout)11 DefaultSizeNodeFigure (org.eclipse.gmf.runtime.gef.ui.figures.DefaultSizeNodeFigure)11 MouseEvent (org.eclipse.draw2d.MouseEvent)1 MouseMotionListener (org.eclipse.draw2d.MouseMotionListener)1 EObject (org.eclipse.emf.ecore.EObject)1 Node (org.eclipse.gmf.runtime.notation.Node)1 BusinessItemNameFigure (org.talend.designer.business.diagram.custom.figures.BusinessItemNameFigure)1 BusinessItemShapeFigure (org.talend.designer.business.diagram.custom.figures.BusinessItemShapeFigure)1 BusinessItem (org.talend.designer.business.model.business.BusinessItem)1