Examples of restore()


Examples of org.timepedia.chronoscope.client.canvas.Layer.restore()

      if(!dateRangePanel.getBounds().equals(drlayer.getBounds())){
        drlayer.setBounds(dateRangePanel.getBounds());
        // log("layout zoomPanel bounds:"+zoomPanel.getBounds() + " "+zoomPanel.getLayer().getLayerId()+zoomPanel.getLayer().getBounds());
      }

      drlayer.restore();
    }
  }

  private void initZoomPanel() {
    ZoomIntervals zoomIntervals = createDefaultZoomIntervals(plot);
View Full Code Here

Examples of org.tubo.resource.component.ComponentManager.restore()

            throw resourceManager.getExceptionManager().getException(1503,args,e);
        } finally {
            //
            // restore component
            if (component!=null)
                componentManager.restore(component);
            //
            // delete flow node properties
            for(Iterator it=flowNodeProps.keySet().iterator(); it.hasNext(); ) {
                String prop = (String)it.next();
                itemProps.remove(prop);
View Full Code Here

Examples of org.voltdb.rejoin.StreamSnapshotSink.RestoreWork.restore()

     */
    private boolean restoreSnapshotForRejoin() {
        boolean doneWork = false;
        RestoreWork rejoinWork = m_rejoinSnapshotProcessor.poll(new CachedByteBufferAllocator());
        if (rejoinWork != null) {
            rejoinWork.restore(this);
            doneWork = true;
        } else if (m_rejoinSnapshotProcessor.isEOF()) {
            m_rejoinLog.debug("Rejoin snapshot transfer is finished");
            m_rejoinSnapshotProcessor.close();
            m_rejoinSnapshotProcessor = null;
View Full Code Here

Examples of org.wso2.carbon.registry.core.Registry.restore()

                    OMElement dashboardsRootEl = sab.getDocument().getOMDocumentElement();

                    FileReader dashboardConfigXmlReader = new FileReader(dashboardConfigXml);

                    // Restoring from file
                    registry.restore(REGISTRY_SYSTEM_DASHBOARDS_ROOT, dashboardConfigXmlReader);

                    log.info("Successfully populated the default Dashboards.");

                } else {
                    log.info("Couldn't find a Dashboard at '" + dashboardConfigFile +
View Full Code Here

Examples of org.wso2.carbon.registry.core.session.UserRegistry.restore()

                if (dashboardConfigXml.exists()) {
                    FileReader dashboardConfigXmlReader = new FileReader(dashboardConfigXml);

                    // Restoring from file
                    registry.restore(REGISTRY_SYSTEM_DASHBOARDS_ROOT, dashboardConfigXmlReader);

                    log.info("Successfully populated the default Dashboards.");

                } else {
                    log.info("Couldn't find a Dashboard at '" + dashboardConfigFile +
View Full Code Here

Examples of palmed.io.IRecord.restore()

        {
            final int index = elements_.indexOf( cachable );
            if( index == -1 )
                throw new NoSuchElementException();
            final IRecord record = (IRecord)records_.elementAt( index );
            record.restore();
        }
        awake_.addElement( cachable );
        sleep();
    }
View Full Code Here

Examples of ptolemy.actor.gui.style.StyleConfigurer.restore()

                ComponentDialog dialog = new ComponentDialog(_owner,
                        "Edit preferences for " + target.getName(), panel);

                if (!(dialog.buttonPressed().equals("OK"))) {
                    // Restore original parameter values.
                    panel.restore();
                }

                new EditParametersDialog(_owner, _target);

                // NOTE: Instead of te above line, this used
View Full Code Here

Examples of rocket.widget.client.Hijacker.restore()

    previewer.uninstall();

    // restore widget to its original parent element...
    final Hijacker hijacker = draggedPanel.getHijacker();
    hijacker.restore();

    // reenable selections
    Selection.enableTextSelection();
    Selection.clearAnySelectedText();
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.