Examples of doAction()


Examples of appeng.container.AEBaseContainer.doAction()

          }
        }
      }
      else
      {
        baseContainer.doAction( sender, action, slot, id );
      }
    }
  }

  @Override
View Full Code Here

Examples of ca.nengo.ui.actions.GeneratePythonScriptAction.doAction()

        UINetwork selectedNetwork = UINetwork.getClosestNetwork(selectedNode);
        if (selectedNetwork != null) {

            GeneratePythonScriptAction generatePythonScriptAction = new GeneratePythonScriptAction(selectedNetwork);
            generatePythonScriptAction.doAction();

        } else {
            throw new ActionException("No parent network to save, please select a node");
        }
    }
View Full Code Here

Examples of ca.nengo.ui.actions.PasteAction.doAction()

                            a.setPosition(pos.getX(), pos.getY());
                        }
                    } else {
                        a = new PasteAction("Paste", NengoGraphics.getInstance(), true);
                    }
                    a.doAction();
                }
            };
        } else {
            pasteAction = new DisabledAction("Paste", "No object is in the clipboard");
        }
View Full Code Here

Examples of ca.nengo.ui.actions.PlotFunctionAction.doAction()

                    Function function = interpreter.getRegisteredFunctions().get(functionName);

                    if (function != null) {
                        PlotFunctionAction action = new PlotFunctionAction("Function preview",
                                function, FunctionDialog.this);
                        action.doAction();

                    } else {
                        UserMessages.showWarning("No function selected");
                    }
                }
View Full Code Here

Examples of ca.nengo.ui.actions.RunSimulatorAction.doAction()

        UINetwork selectedNetwork = UINetwork.getClosestNetwork(selectedNode);
        if (selectedNetwork != null) {

            RunSimulatorAction runAction = new RunSimulatorAction("run", selectedNetwork);
            runAction.doAction();

        } else {
            throw new ActionException("No parent network to run, please select a node");
        }
    }
View Full Code Here

Examples of ca.nengo.ui.actions.SaveNodeAction.doAction()

        UINetwork selectedNetwork = UINetwork.getClosestNetwork(selectedNode);
        if (selectedNetwork != null) {

            SaveNodeAction saveNodeAction = new SaveNodeAction(selectedNetwork);
            saveNodeAction.doAction();

        } else {
            throw new ActionException("No parent network to save, please select a node");
        }
    }
View Full Code Here

Examples of ca.nengo.ui.lib.actions.OpenURLAction.doAction()

                editor.setOpaque(false);
                editor.addHyperlinkListener(new HyperlinkListener() {
                  public void hyperlinkUpdate(HyperlinkEvent hle) {
                    if (HyperlinkEvent.EventType.ACTIVATED.equals(hle.getEventType())) {
                      OpenURLAction a = new OpenURLAction(hle.getDescription(),hle.getDescription());
                      a.doAction();
                    }               
                  }
                });
                JOptionPane.showMessageDialog(help, editor, propDescriptor.getName(), JOptionPane.INFORMATION_MESSAGE, null);
            }
View Full Code Here

Examples of ca.nengo.ui.lib.objects.activities.TrackedAction.doAction()

                  super.postAction();
                }
               

            };
            loadActivity.doAction();
        }

    }

    /**
 
View Full Code Here

Examples of com.bbn.openmap.layer.OMGraphicHandlerLayer.doAction()

                    "ERROR> DefaultDnDCatcher::actionPerformed: "
                            + "no layer found with name " + name);
            return;
        }

        targetLayer.doAction((OMGraphic) transferData,
                new OMAction(OMAction.UPDATE_GRAPHIC_MASK));
    }

    public void addPropertyChangeListener(PropertyChangeListener listener) {
        pcSupport.addPropertyChangeListener(listener);
View Full Code Here

Examples of com.cburch.logisim.proj.Project.doAction()

      caretCircuit = null;
      caretComponent = null;
      caretCreatingText = false;
      caret = null;
     
      if (a != null) proj.doAction(a);
    }

    public void circuitChanged(CircuitEvent event) {
      if (event.getCircuit() != caretCircuit) {
        event.getCircuit().removeCircuitListener(this);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.