Examples of GetName()


Examples of Core.Room.GetName()

          g.drawImage(light, offsetX + j * ROOM_CELL_WIDTH, offsetY + i * ROOM_CELL_HEIGHT, this);
        }
      }
    }
    Room room = Configuration.GetInstance().GetRoomById(roomId);
    g.drawString("Room: " + room.GetName().substring(1), offsetX + 10, offsetY + 20);
    String str = String.format("Lab: %c", room.IsLab() ? 'Y' : 'N');
    g.drawString(str, offsetX + 10, offsetY+40);
    str = String.format( "Seats: %d", room.GetNumberOfSeats());
    g.drawString(str, offsetX + 10, offsetY + 60);
   
View Full Code Here

Examples of cli.System.Reflection.Assembly.GetName()

            Object[] copyright = asm.GetCustomAttributes(Util.getInstanceTypeFromClass(AssemblyCopyrightAttribute.class), false);
            if(copyright.length == 1)
            {
                return cli.System.String.Format("{0} version {1}{2}{3}{2}http://www.ikvm.net/",
                    ((AssemblyTitleAttribute)desc[0]).get_Title(),
                    asm.GetName().get_Version(),
                    Environment.get_NewLine(),
                    ((AssemblyCopyrightAttribute)copyright[0]).get_Copyright());
            }
        }
        return "";
View Full Code Here

Examples of org.gdal.ogr.Driver.GetName()

    /*      user gives a target datasource with .shp and it does not exist, */
    /*      the shapefile driver will try to create a file, but this is not */
    /*      appropriate because here we have several layers, so create      */
    /*      a directory instead.                                            */
    /* -------------------------------------------------------------------- */
            if (poDriver.GetName().equalsIgnoreCase("ESRI Shapefile") &&
                pszSQLStatement == null &&
                (papszLayers.size() > 1 ||
                 (papszLayers.size() == 0 && poDS.GetLayerCount() > 1)) &&
                pszNewLayerName == null &&
                (pszDestDataSource.endsWith(".shp") || pszDestDataSource.endsWith(".SHP")))
View Full Code Here

Examples of org.gdal.ogr.Driver.GetName()

/* -------------------------------------------------------------------- */
/*      Special case to improve user experience when translating into   */
/*      single file shapefile and source has only one layer, and that   */
/*      the layer name isn't specified                                  */
/* -------------------------------------------------------------------- */
                if (poDriver.GetName().equalsIgnoreCase("ESRI Shapefile") &&
                    pszNewLayerName == null)
                {
                    File f = new File(pszDestDataSource);
                    if (f.exists() && f.listFiles() == null)
                    {
View Full Code Here

Examples of org.gdal.ogr.Driver.GetName()

/* -------------------------------------------------------------------- */
/*      Special case to improve user experience when translating into   */
/*      single file shapefile and source has only one layer, and that   */
/*      the layer name isn't specified                                  */
/* -------------------------------------------------------------------- */
            if (poDriver.GetName().equalsIgnoreCase("ESRI Shapefile") &&
                nLayerCount == 1 && pszNewLayerName == null)
            {
                File f = new File(pszDestDataSource);
                if (f.exists() && f.listFiles() == null)
                {
View Full Code Here

Examples of org.gdal.ogr.Driver.GetName()

        for( int iDriver = 0; iDriver < ogr.GetDriverCount(); iDriver++ )
        {
            Driver poDriver = ogr.GetDriver(iDriver);
   
            if( poDriver.TestCapability( ogr.ODrCCreateDataSource ) )
                System.out.print( "     -f \"" + poDriver.GetName() + "\"\n" );
        }
   
        System.out.print( " -append: Append to existing layer instead of creating new if it exists\n" +
                " -overwrite: delete the output layer and recreate it empty\n" +
                " -update: Open existing output datasource in update mode\n" +
View Full Code Here

Examples of org.gdal.ogr.Layer.GetName()

            for( iLayer = 0; iLayer < nLayerCount; iLayer++ )
            {
                Layer        poLayer = poDstDS.GetLayer(iLayer);

                if( poLayer != null
                    && poLayer.GetName().equals(poDstLayer.GetName()) )
                {
                    break;
                }
            }
View Full Code Here

Examples of org.jxchange.client.cdo121.JXCdoAddressEntry.GetName()

          new JIString(ICredentialBag.logoncred_password).Variant,
          new JIVariant(false), new JIVariant(true), new JIVariant(
              false), new JIVariant(false), new JIString(
              ICredentialBag.logoncred_profileinfo).Variant);
          JXCdoAddressEntry user = new JXCdoAddressEntry(jxCdoSession,jxCdoSession.GetCurrentUser());
      System.out.println("Current user: " + user.GetName().getObjectAsString().getString());
      jxCdoSession.Logoff();
    } catch (UnknownHostException e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
    } catch (JIException e) {
View Full Code Here

Examples of org.jxchange.client.cdo121.JXCdoInfoStore.GetName()

              int count = ifss.GetCount().getObjectAsInt();
              System.out.println("There are " + count + " Info Stores");

              for(int i=1; i<=count; i++){
                  JXCdoInfoStore ifs = new JXCdoInfoStore(jxCdoSession,ifss.Item(new JIVariant(new Integer(i).intValue())));
                  System.out.println("\t Info Store " + i + ": " + ifs.GetName());
              }

              // get the mailbox root folder
              // it is usually the second item in the list of info stores
              JXCdoInfoStore ifs = new JXCdoInfoStore(jxCdoSession,ifss.Item(new JIVariant(new Integer(2).intValue())));
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.