Examples of Frame


Examples of de.sistemich.mafrasi.stopmotion.gui.Frame

      if(copiedFiles_ != null){
        File[] tmpFiles = new File[copiedFiles_.length];
        File tmpDir = new File(Settings.getPropertyString(ConstantKeys.project_dir), "tmp/");
        tmpDir.mkdirs();
        for(int i = copiedFiles_.length - 1; i >= 0; i--){
          Frame f = FrameManager.getInstance().getFrameAtIndex(i);
          try {
            File in = f.getFile();
            File out = new File(tmpDir, f.getFile().getName());
            FileChannel inChannel = new FileInputStream(in).getChannel();
            FileChannel outChannel = new FileOutputStream(out).getChannel();

            inChannel.transferTo(0, inChannel.size(), outChannel);
View Full Code Here

Examples of edu.byu.ece.rapidSmith.bitstreamTools.configuration.Frame

    int fpga2ConfiguredFrames = 0;
    int fpga1NonEmptyFrames = 0;
    int fpga2NonEmptyFrames = 0;
   
    for (; far.validFARAddress(); far.incrementFAR()) {
      Frame f1 = fpga1.getFrame(far);
      Frame f2 = fpga2.getFrame(far);
      String msg = null;

      // Collect statistics
      if (f1.isConfigured()) {
        fpga1ConfiguredFrames++;
        if (!f1.getData().isEmpty())
          fpga1NonEmptyFrames++;
      }
      if (f2.isConfigured()) {
        fpga2ConfiguredFrames++;
        if (!f2.getData().isEmpty())
          fpga2NonEmptyFrames++;
      }
     
      // Check #1: see if frames are configured or not
      if ( !f1.isConfigured() || !f2.isConfigured()) {
        String umsg = null;
       
        // Don't create a message if the ignore unconfigured frames option was set
        if (ignoreUnconfiguredFrames) continue;
       
        if (!f1.isConfigured() && f2.isConfigured() ) {         
          umsg = "FPGA 1 not configured";
          if (!f2.getData().isEmpty())
            umsg += " (non empty frame in FPGA2)";
          else
            umsg += " (empty frame in FPGA2)";
        } else if (f1.isConfigured() && !f2.isConfigured()) {
          umsg = "FPGA 2 not configured";
          if (!f1.getData().isEmpty())
            umsg += " (non empty frame in FPGA1)";
          else
            umsg += " (empty frame in FPGA1)";
        }
        msg = umsg;
       
      } else {
     
        // both frames configured
        FrameData d1 = f1.getData();
        FrameData d2 = f2.getData();
        if (!d1.isEqual(d2)) {
         
          diffFARs.add(far.getAddress());
         
          if (d1.isEmpty())
View Full Code Here

Examples of edu.stanford.smi.protege.model.Frame

  @SuppressWarnings({"deprecation" })
  private void makeSystemClassesHidden(KnowledgeBase kb) {
    Collection systemFrames = new HashSet(kb.getSystemFrames().getFrames());
       
    for (Iterator iterator = systemFrames.iterator(); iterator.hasNext();) {
      Frame frame = (Frame) iterator.next();
      frame.setVisible(false);
    }
    kb.getRootCls().setVisible(true);
    kb.getProject().setDisplayHiddenClasses(false);   
  }
View Full Code Here

Examples of flash.swf.Frame

  {
    // create a dependency graph based on source file dependencies...
        final DependencyGraph<CompilationUnit> dependencies = extractCompilationUnitInfo(units);

        // create a single frame - this is a simple movie
    final Frame frame = new Frame();
    frames = new ArrayList<Frame>();
    frames.add(frame);

        exportDependencies(dependencies, frame);
View Full Code Here

Examples of flash.tools.debugger.Frame

    {
      boolean showThis = propertyGet(INFO_STACK_SHOW_THIS) == 1;
      for(int i=0; i<stack.length; i++)
      {
        // keep spitting out frames until we can't
        Frame frame = stack[i];
        boolean valid = appendFrameInfo(sb, frame, i, showThis, true);
        sb.append(m_newline);
                if (!valid)
                    break;
      }
View Full Code Here

Examples of fr.soleil.comete.swing.Frame

    /**
     * Main class, so you can have an example. You can put your own attribute names in parameter
     */
    public static void main(final String[] args) {

        final IFrame frame = new Frame();// CometeWidgetFactory.createFrame();
        String tmpDeviceName = null;
        String tmpAttributeName = null;
        if (args != null && args.length > 1) {
            tmpDeviceName = args[0];
            tmpAttributeName = args[1];
        }
        else {
            tmpDeviceName = "tango/tangotest/titan";
            tmpAttributeName = "double_image_ro";

        }

        final NumberImageViewerCometeV2 f = new NumberImageViewerCometeV2();
        f.setDeviceName(tmpDeviceName);
        f.setEntityName(tmpAttributeName);
        f.setUserEnabled(true);
        f.setConfirmation(true);
        f.setRefreshingPeriod(5000);

        f.setCleanOnDataSetting(false); // to keep roi when data change
        f.addRoi("MyRoi1,RecTANGLE, 10, 10, 10, 80, 50,BLACK");
        f.addRoi("MyRoi2,RECTANGLE, 10, 100, 100, 90, 60,GREEN");

        f.initDAO();
        frame.setContentPane(f);
        frame.setSize(640, 480);
        frame.setTitle(f.getClass().getName());
        frame.setDefaultCloseOperation(IFrame.EXIT_ON_CLOSE);
        frame.setVisible(true);

        // new Thread() {
        // @Override
        // public void run() {
        // try {
View Full Code Here

Examples of info.bliki.extensions.scribunto.template.Frame

        if (executor == null) {
            throw new AssertionError("no ModuleExecutor defined");
        }
        String module = parts.get(0).trim();
        String method = parts.get(1).trim();
        Frame parent = model.getFrame();
        try {
            Map<String, String> map = getParameters(parts, model);
            return executor.run(model, module, method, new Frame(map, parent));
        } finally {
            model.setFrame(parent);
        }
    }
View Full Code Here

Examples of integration.extensions.Frame

    public void before() throws com.sun.star.uno.Exception, java.lang.Exception
    {
        m_orb = (XMultiServiceFactory)param.getMSF();
        m_context = (XComponentContext)UnoRuntime.queryInterface( XComponentContext.class,
                ((XPropertySet)UnoRuntime.queryInterface( XPropertySet.class, m_orb )).getPropertyValue( "DefaultContext" ) );
        m_desktop = new Frame( m_orb.createInstance( "com.sun.star.frame.Desktop" ) );
    }
View Full Code Here

Examples of java.awt.Frame

  // If the data source needs a source file...
  if (forceNeedsSourceFile || dataSource.needsSourceFile()) {
    // And if no source file has been selected yet...
    if (forceNeedsSourceFile || dataSource.getSourceFile() == null) {
      // Then ask the user to select the source file.
      Frame frame =
        Designer.findWindowFor(this) == null ?
        null : Designer.findWindowFor(this).getFrame();
      JFileChooser chooser = Designer.getChooser();
      chooser.setDialogTitle(I18N.get("Report.select_source_file"));
      Designer.setPrefsDir(chooser, "dataSourceDir");
View Full Code Here

Examples of java.awt.Frame

* See notes for PBufferCanvasPeer
*/
public class PBufferCanvas3D extends Canvas3D {

    public static void initContext(Object owner) {
        Frame f = null;
        if (owner==null) {
            f = new Frame();
            f.setBounds(-100,-200,40,30);
            f.show();
            owner = f;
        }
        PBufferCanvasPeer.initContext(owner);
        if (f!=null) f.hide();
        else if (owner instanceof Component) {((Component)owner).repaint();};
    }
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.