Package org.eclipse.gef.examples.logicdesigner.figures

Examples of org.eclipse.gef.examples.logicdesigner.figures.CircuitFeedbackFigure


protected IFigure getCustomFeedbackFigure(Object modelPart) {
  IFigure figure;
 
  if (modelPart instanceof Circuit)
    figure = new CircuitFeedbackFigure();
  else if (modelPart instanceof LogicFlowContainer)
    figure = new LogicFlowFeedbackFigure();   
  else if (modelPart instanceof LogicLabel)
    figure = new LabelFeedbackFigure();
  else if (modelPart instanceof LED)
View Full Code Here


*/
protected IFigure createSizeOnDropFeedback(CreateRequest createRequest) {
  IFigure figure;
 
  if (createRequest.getNewObject() instanceof Circuit)
    figure = new CircuitFeedbackFigure();
  else if (createRequest.getNewObject() instanceof LogicFlowContainer)
    figure = new LogicFlowFeedbackFigure();   
  else if (createRequest.getNewObject() instanceof LogicLabel)
    figure = new LabelFeedbackFigure();
  else {
View Full Code Here

TOP

Related Classes of org.eclipse.gef.examples.logicdesigner.figures.CircuitFeedbackFigure

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.