Package org.eclipse.sapphire.ui.swt.gef.figures

Examples of org.eclipse.sapphire.ui.swt.gef.figures.IShapeFigure


  /**
   * @see org.eclipse.gef.editpolicies.NonResizableEditPolicy#hideFocus()
   */
  protected void hideFocus() {
    IShapeFigure f = getShapeFigure();
    if (f != null) {
      f.setFocus(false);
    }
  }
View Full Code Here


  /**
   * @see org.eclipse.gef.editpolicies.SelectionHandlesEditPolicy#hideSelection()
   */
  protected void hideSelection() {
    IShapeFigure f = getShapeFigure();
    if (f != null) {
      f.setSelected(false);
      f.setFocus(false);
      removeSelectionHandles();
    }
  }
View Full Code Here

  /**
   * @see org.eclipse.gef.editpolicies.NonResizableEditPolicy#showFocus()
   */
  protected void showFocus() {
    IShapeFigure f = getShapeFigure();
    if (f != null) {
      f.setFocus(true);
    }
  }
View Full Code Here

  /**
   * @see org.eclipse.gef.editpolicies.SelectionHandlesEditPolicy#showSelection()
   */
  protected void showPrimarySelection() {
    IShapeFigure f = getShapeFigure();
    if (f != null) {
      f.setSelected(true);
      f.setFocus(true);
      addSelectionHandles();
    }
  }
View Full Code Here

  /**
   * @see org.eclipse.gef.editpolicies.SelectionHandlesEditPolicy#showSelection()
   */
  protected void showSelection() {
    IShapeFigure f = getShapeFigure();
    if (f != null) {
      f.setSelected(true);
      f.setFocus(false);
      addSelectionHandles();
    }
  }
View Full Code Here

    return null;
  }

  @Override
  protected void showFocus() {
    IShapeFigure shapeFigure = getNodeFigure();
    if (shapeFigure != null)
    {
      shapeFigure.setFocus(true);
    }
  }
View Full Code Here

  }

  @Override
  protected void hideSelection()
  {
    IShapeFigure shapeFigure = getNodeFigure();
    if (shapeFigure != null)
    {
      shapeFigure.setSelected(false);
      shapeFigure.setFocus(false);
      removeSelectionHandles();
    }
  }
View Full Code Here

  }

  @Override
  protected void showPrimarySelection()
  {
    IShapeFigure shapeFigure = getNodeFigure();
    if (shapeFigure != null)
    {
      shapeFigure.setSelected(true);
      shapeFigure.setFocus(true);
      addSelectionHandles();
    }
  }
View Full Code Here

  }

  @Override
  protected void showSelection()
  {
    IShapeFigure shapeFigure = getNodeFigure();
    if (shapeFigure != null)
    {
      shapeFigure.setSelected(true);
      shapeFigure.setFocus(false);
      addSelectionHandles();
    }
  }
View Full Code Here

  }
 
  @Override
  protected void hideFocus()
  {
    IShapeFigure shapeFigure = getNodeFigure();
    if (shapeFigure != null)
    {
      shapeFigure.setFocus(false);
    }
  }
View Full Code Here

TOP

Related Classes of org.eclipse.sapphire.ui.swt.gef.figures.IShapeFigure

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.