Examples of MapPalette


Examples of net.sf.myway.edit.ui.editors.palette.MapPalette

    _viewer.getControl().setLayoutData(new GridData(GridData.FILL_BOTH));
    final NamedUuidEntity data = (NamedUuidEntity) getEditorInput().getAdapter(
      NamedUuidEntity.class);
    final Profile profile = data instanceof ScannedMap ? EditPlugin.getBL().getProfile(
      (ScannedMap) data) : EditPlugin.getBL().getDefaultProfile();
    _palette = new MapPalette(getEditDomain(), profile);
    final PaletteViewer paletteViewer = _palette.createPaletteViewer(split);
    final GridData gd = new GridData(GridData.FILL_VERTICAL);
    gd.widthHint = 175;
    paletteViewer.getControl().setLayoutData(gd);
    setPartName(data.getName());
View Full Code Here

Examples of org.spout.vanilla.data.resources.MapPalette

  @Override
  public MapPalette load(InputStream in) {
    try {
      in = new GZIPInputStream(in);
      MapPalette res = new MapPalette();
      res.read(in);
      return res;
    } catch (IOException e) {
      e.printStackTrace();
    } finally {
      try {
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.