FileDocCategorySizeDatePackage
UiViewEditPart.javaAPI DocAndroid 1.5 API1613Wed May 06 22:41:10 BST 2009com.android.ide.eclipse.editors.layout.parts

UiViewEditPart

public class UiViewEditPart extends UiElementEditPart
Graphical edit part for an {@link UiElementNode} that represents a View.

Fields Summary
Constructors Summary
public UiViewEditPart(com.android.ide.eclipse.editors.uimodel.UiElementNode uiElementNode)

        super(uiElementNode);
    
Methods Summary
protected org.eclipse.draw2d.IFigurecreateFigure()

        IFigure f = new ElementFigure();
        f.setLayoutManager(new XYLayout());
        return f;
    
protected voidhideSelection()

        IFigure f = getFigure();
        if (f instanceof ElementFigure) {
            ((ElementFigure) f).setSelected(false);
        }
    
protected voidshowSelection()

        IFigure f = getFigure();
        if (f instanceof ElementFigure) {
            ((ElementFigure) f).setSelected(true);
        }