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

Examples of org.eclipse.sapphire.ui.swt.gef.commands.LabelNodeCommand


  protected Command getDirectEditCommand(DirectEditRequest edit) {
    String labelText = (String) edit.getCellEditor().getValue();
    TextPart textPart = (TextPart)edit.getExtendedData().get(DiagramNodeEditPart.DIRECT_EDIT_REQUEST_PARAM);
    if (textPart != null)
    {
      LabelNodeCommand command = new LabelNodeCommand(textPart, labelText);
      return command;
    }
    return null;
  }
View Full Code Here

TOP

Related Classes of org.eclipse.sapphire.ui.swt.gef.commands.LabelNodeCommand

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.