Examples of update()


Examples of com.ponysdk.ui.terminal.ui.PTObject.update()

            final PTObject ptObject = objectByID.get(instruction.getObjectID());
            if (ptObject == null) {
                log.info("Cannot update an garbaged object #" + instruction.getObjectID());
                return;
            }
            ptObject.update(instruction, this);
        } else if (TYPE.KEY_.HISTORY.equals(type)) {
            final String oldToken = History.getToken();

            String token = null;
View Full Code Here

Examples of com.projity.pm.dependency.DependencyService.update()

                                                // column
                                                // positions
          int type = ((Number) DependencyType.mapStringToValue((String) ((col == 3) ? value : getValueAt(row, 3)))).intValue();

          dependencyService.setFields(dependency, duration.getEncodedMillis(), type, this);
          dependencyService.update(dependency, this);
        } catch (InvalidAssociationException e1) {
          // TODO Auto-generated catch block
          e1.printStackTrace();
        }
      } else {
View Full Code Here

Examples of com.projity.pm.graphic.frames.workspace.FrameManager.update()

  void refreshSaveStatus(boolean isSaving) {
    getMenuManager().setActionEnabled(ACTION_SAVE_PROJECT,currentFrame != null && !isSaving && currentFrame.getProject().needsSaving());
    setTitle(isSaving);

    FrameManager dm=getFrameManager();
    if (dm!=null) dm.update(); //update project combo
  }

  /* (non-Javadoc)
   * @see com.projity.document.ObjectEvent.Listener#objectChanged(com.projity.document.ObjectEvent)
   */
 
View Full Code Here

Examples of com.projity.pm.graphic.model.cache.NodeModelCache.update()

    resourceCache = null;
    viewName = null;
  }
  private NodeModelCache newFilteredCache(ReferenceNodeModelCache cache, String viewName) {
    NodeModelCache c = NodeModelCacheFactory.getInstance().createFilteredCache(cache,viewName,transformerClosure);
    c.update();
    return c;
  }
 

  private NodeModel updateCacheForView(String viewName) {
View Full Code Here

Examples of com.psddev.cms.db.ToolFormWriter.update()

     */
    public void processField(Object object, ObjectField field) throws Throwable {
        @SuppressWarnings("all")
        ToolFormWriter writer = new ToolFormWriter(this);

        writer.update(State.getInstance(object), getRequest(), field.getInternalName());
    }

    /** Finds an existing object or reserve one. */
    public Object findOrReserve(Collection<ObjectType> validTypes) {
        UUID objectId = param(UUID.class, OBJECT_ID_PARAMETER);
View Full Code Here

Examples of com.pugh.sockso.db.Database.update()

    }
   
    public void testRemoveTrack() throws SQLException {
       
        final Database db = createMock( Database.class );
        expect( db.update((String)anyObject()) ).andReturn( 1 ).times( 3 );
        replay( db );
       
        final DBCollectionManager colMan = new DBCollectionManager( db, p, indexer );
        colMan.removeTrack( 123 );
       
View Full Code Here

Examples of com.pugh.sockso.tests.TestDatabase.update()

        final TestDatabase db = new TestDatabase();
        final SessionCleaner c = new SessionCleaner( db );
        final String code = "abcdefghij";
       
        db.update(
            " insert into sessions ( id, code, user_id, date_created ) " +
            " values ( 1, '" +code+ "', 1, 0 ) "
        );
        assertRowExists( db, "sessions", "code", code );
       
View Full Code Here

Examples of com.pugh.sockso.web.User.update()

                model.getValueAt( i, 4 ).equals( "true")
            );

            user.setActive( model.getValueAt( i, 5 ).equals("1") );

            try { user.update(db); }

            catch ( final SQLException e ) {
                log.error( e.getMessage() );
                JOptionPane.showMessageDialog(
                    parent,
View Full Code Here

Examples of com.salas.bb.domain.DataFeed.update()

            DataFeed feed = (DataFeed)guide.getFeedAt(feedIndex);
            feeds[i] = feed;

            feed.setInitTime(-1);
            feed.setInvalidnessReason("Test");
            feed.update();
        }

        // Wait while they are loading
        for (int i = 0; i < feeds.length; i++) waitForInitialization(feeds[i]);
    }
View Full Code Here

Examples of com.salesforce.ide.ui.editors.apex.outline.ApexContentOutlinePage.update()

                @Override
                public void run() {
                    ApexContentOutlinePage outline =
                            (ApexContentOutlinePage) apexReconcilingStrategy.fTextEditor
                                    .getAdapter(IContentOutlinePage.class);
                    outline.update(fCompilationUnit);
                }
            });
        }
    }
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.