当前位置: 首页>>代码示例>>Java>>正文


Java ExporterUtil类代码示例

本文整理汇总了Java中org.timepedia.exporter.client.ExporterUtil的典型用法代码示例。如果您正苦于以下问题:Java ExporterUtil类的具体用法?Java ExporterUtil怎么用?Java ExporterUtil使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


ExporterUtil类属于org.timepedia.exporter.client包,在下文中一共展示了ExporterUtil类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: gwtSetUp

import org.timepedia.exporter.client.ExporterUtil; //导入依赖的package包/类
@Override
protected void gwtSetUp() throws Exception {
    super.gwtSetUp();

    // no need for push state emulation on ie8 & ie9 (since they really don't support push state)
    if (!GQuery.browser.ie8 && !GQuery.browser.ie9) {

        if (states == null) {
            ExporterUtil.exportAll();
            states = new Stack<State>();
            GWT.create(History.class);
        }

        statesOnTestStart = states.size();
    }
}
 
开发者ID:liraz,项目名称:gwt-backbone,代码行数:17,代码来源:AbstractPushStateTest.java

示例2: onModuleLoad

import org.timepedia.exporter.client.ExporterUtil; //导入依赖的package包/类
public void onModuleLoad() {
    ExporterUtil.exportAll();
    JsAssetsProvider.registerBundle(Assets.INSTANCE);
    JsEngineProvider.registerEntity(Contact.ENTITY_NAME, JsContact.CONVERTER);
    JsEngineProvider.registerEntity(Dialog.ENTITY_NAME, JsDialog.CONVERTER);
    JsEngineProvider.registerEntity(Message.ENTITY_NAME, JsMessage.CONVERTER);
    JsEngineProvider.registerEntity(SearchEntity.ENTITY_NAME, JsSearchEntity.CONVERTER);

    Scheduler.get().scheduleDeferred(new Scheduler.ScheduledCommand() {
        @Override
        public void execute() {
            onAppLoaded();
        }
    });
}
 
开发者ID:wex5,项目名称:dangchat-sdk,代码行数:16,代码来源:GwtEntryPoint.java

示例3: onChronoscopeLoad

import org.timepedia.exporter.client.ExporterUtil; //导入依赖的package包/类
protected void onChronoscopeLoad() {
  try {
    chronoscopeLoaded(ExporterUtil.wrap(this));
  } catch (Exception e) {
    if (ChronoscopeOptions.isErrorReportingEnabled()) {
      Window.alert("Chronoscope Failed to Initialize because " + e);
    }
  }
}
 
开发者ID:codeaudit,项目名称:gwt-chronoscope,代码行数:10,代码来源:Chronoscope.java

示例4: testRangeAxisExports

import org.timepedia.exporter.client.ExporterUtil; //导入依赖的package包/类
public void testRangeAxisExports() {
  XYDataset ds[] = new XYDataset[2];
  ds[0] = new MockXYDataset();
  ds[1] = new MockXYDataset();
  runChronoscopeTest(ds, new ViewReadyCallback() {
    public void onViewReady(View view) {
      XYPlot plot = view.getChart().getPlot();
      assertTrue(isSetAutoZoomVisibleRange(ExporterUtil.wrap(plot.getRangeAxis(0))));
      assertTrue(isSetVisibleRange(ExporterUtil.wrap(plot.getRangeAxis(0))));
      assertTrue(isSetLabel(ExporterUtil.wrap(plot.getRangeAxis(0))));
      finishTest();
    }
  });
}
 
开发者ID:codeaudit,项目名称:gwt-chronoscope,代码行数:15,代码来源:TestExports.java

示例5: onModuleLoad

import org.timepedia.exporter.client.ExporterUtil; //导入依赖的package包/类
public void onModuleLoad() {
    ExporterUtil.exportAll();
    JsAssetsProvider.registerBundle(Assets.INSTANCE);
    JsEngineProvider.registerEntity(Contact.ENTITY_NAME, JsContact.CONVERTER);
    JsEngineProvider.registerEntity(Dialog.ENTITY_NAME, JsDialog.CONVERTER);
    JsEngineProvider.registerEntity(Message.ENTITY_NAME, JsMessage.CONVERTER);

    Scheduler.get().scheduleDeferred(new Scheduler.ScheduledCommand() {
        @Override
        public void execute() {
            onAppLoaded();
        }
    });
}
 
开发者ID:dsaved,项目名称:africhat-platform-0.1,代码行数:15,代码来源:GwtEntryPoint.java

示例6: move

import org.timepedia.exporter.client.ExporterUtil; //导入依赖的package包/类
/**
 * Move a set of indices to new locations. These indices can point to vertices, edges or sub-geometries. For each
 * index, a list of new coordinates is provided.
 *
 * @param indices
 *            The list of indices to move.
 * @param coordinates
 *            The coordinates to move the indices to. Must be a nested array of coordinates. In other words, for
 *            each index an array of coordinates must be supplied.
 * @throws GeometryOperationFailedException
 *             In case one of the indices could not be found. No changes will have been performed.
 */
public void move(GeometryIndex[] indices, JsArray<JsArrayObject> coordinates) {
	List<List<Coordinate>> coords = new ArrayList<List<Coordinate>>(coordinates.length());
	for (int i = 0; i < coordinates.length(); i++) {
		JsArrayObject jsObj = coordinates.get(i);
		coords.add(Arrays.asList(ExporterUtil.toArrObject(jsObj, new Coordinate[jsObj.length()])));
	}
	try {
		delegate.move(Arrays.asList(indices), coords);
	} catch (GeometryOperationFailedException e) {
		throw new RuntimeException(e.getMessage());
	}
}
 
开发者ID:geomajas,项目名称:geomajas-project-client-gwt,代码行数:25,代码来源:JsGeometryEditService.java

示例7: insert

import org.timepedia.exporter.client.ExporterUtil; //导入依赖的package包/类
/**
 * Insert lists of coordinates at the provided indices. These indices can point to vertices, edges or
 * sub-geometries. For each index, a list of coordinates is provided to be inserted after that index.
 *
 * @param indices
 *            The list of indices after which to insert coordinates.
 * @param coordinates
 *            The coordinates to be inserted after each index. Must be a nested array of coordinates. In other
 *            words, for each index an array of coordinates must be supplied.
 * @throws GeometryOperationFailedException
 *             In case one of the indices could not be found. No changes will have been performed.
 */
public void insert(GeometryIndex[] indices, JsArray<JsArrayObject> coordinates) {
	List<List<Coordinate>> coords = new ArrayList<List<Coordinate>>(coordinates.length());
	for (int i = 0; i < coordinates.length(); i++) {
		JsArrayObject jsObj = coordinates.get(i);
		coords.add(Arrays.asList(ExporterUtil.toArrObject(jsObj, new Coordinate[jsObj.length()])));
	}
	try {
		delegate.insert(Arrays.asList(indices), coords);
	} catch (GeometryOperationFailedException e) {
		throw new RuntimeException(e.getMessage());
	}
}
 
开发者ID:geomajas,项目名称:geomajas-project-client-gwt,代码行数:25,代码来源:JsGeometryEditService.java

示例8: onModuleLoad

import org.timepedia.exporter.client.ExporterUtil; //导入依赖的package包/类
@Override
public void onModuleLoad() {
	//GWT.create(GwtGdxMap.class);
	//JsOverlays.init();
	ExporterUtil.exportAll();

	super.onModuleLoad();
}
 
开发者ID:opensciencemap,项目名称:vtm,代码行数:9,代码来源:GwtLauncher.java

示例9: onModuleLoad

import org.timepedia.exporter.client.ExporterUtil; //导入依赖的package包/类
public void onModuleLoad() {
	ExporterUtil.exportAll();
	onLoad();
}
 
开发者ID:geomajas,项目名称:geomajas-project-client-gwt,代码行数:5,代码来源:JsApiEntryPoint.java

示例10: onModuleLoad

import org.timepedia.exporter.client.ExporterUtil; //导入依赖的package包/类
public void onModuleLoad() {
	ExporterUtil.exportAll();
}
 
开发者ID:geomajas,项目名称:geomajas-project-client-gwt,代码行数:4,代码来源:Showcase.java

示例11: testIndexHelperMethods

import org.timepedia.exporter.client.ExporterUtil; //导入依赖的package包/类
public void testIndexHelperMethods() {
	ExporterUtil.exportAll();
	runIndexHelperMethods();
}
 
开发者ID:geomajas,项目名称:geomajas-project-client-gwt,代码行数:5,代码来源:GwtTestJsGeometryIndexService.java

示例12: testParseFormat

import org.timepedia.exporter.client.ExporterUtil; //导入依赖的package包/类
public void testParseFormat() {
	ExporterUtil.exportAll();
	runParseFormat();
}
 
开发者ID:geomajas,项目名称:geomajas-project-client-gwt,代码行数:5,代码来源:GwtTestJsGeometryIndexService.java

示例13: testGeometryRetrieval

import org.timepedia.exporter.client.ExporterUtil; //导入依赖的package包/类
public void testGeometryRetrieval() {
	ExporterUtil.exportAll();
	runGeometryRetrieval();
}
 
开发者ID:geomajas,项目名称:geomajas-project-client-gwt,代码行数:5,代码来源:GwtTestJsGeometryIndexService.java

示例14: testIndexTypes

import org.timepedia.exporter.client.ExporterUtil; //导入依赖的package包/类
public void testIndexTypes() {
	ExporterUtil.exportAll();
	runIndexTypes();
}
 
开发者ID:geomajas,项目名称:geomajas-project-client-gwt,代码行数:5,代码来源:GwtTestJsGeometryIndexService.java

示例15: testGeometryType

import org.timepedia.exporter.client.ExporterUtil; //导入依赖的package包/类
public void testGeometryType() {
	ExporterUtil.exportAll();
	runGeometryType();
}
 
开发者ID:geomajas,项目名称:geomajas-project-client-gwt,代码行数:5,代码来源:GwtTestJsGeometryIndexService.java


注:本文中的org.timepedia.exporter.client.ExporterUtil类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。