Hexagon Geospatial
MENU

Developers Knowledge Base

GeoMedia Smart Client Workflow Manager provides tools for building and delivering highly-constrained, map-based workflows for the office or the field.
Showing results for 
Search instead for 
Do you mean 

Developing Client Extensions (until 2018 Update 3)

by Technical Evangelist on ‎10-18-2018 03:00 AM - edited 4 weeks ago by Technical Evangelist (64 Views)

Introduction

To extend the GMSC Client, you can use the IDE of your choice. However we recommend to use the Eclipse IDE as this is the IDE used by the product center team. 

Therefore this article describes how to get started with GMSC Client development using the Eclipse IDE.

Prerequisites

  • JDK must be installed (it is recommended to use the latest stable 64bit version unless stated otherwise)
  • Eclipse IDE must be installed
  • Make sure that Eclipse is configured to use the JRE of the installed JDK:
    Go to Window --> Preferences --> Java --> Installed JREs
    EclipseJDKConfig.JPG
  • A Git extension for Eclipse is recommended (like EGit) to easily obtain the required GMSC Client packages (see the SDK/API section) and HGDN samples

Getting Started

  1. Create a workspace
  2. Add the GMSC Client packages (see the SDK/API section)
  3. Create a new Java Project
    Make sure that the JDK is selected as configured in the prerequisites
  4. Add the GMSC Client packages project to the project references
    1. Right click on the project and select preferences
    2. Go to Project References and add the JavaSDK
      HGDNSampleProject2.JPG

  5. Setup Debug Configurations
    1. Click on the drop down next to the debug icon and select Debug Configurations
    2. Create a new Java Application config
      • Main tab
        As project select JavaSdk
        As main class select com.intergraph.web.SmartClient
        HGDNSampleProject4.JPG

      • Arguments tab
        As project arguments define the Url to connect to the GMSC server and the site
        As VM arguments set these parameters (for 64bit Java versions):
            -Xmx1024m
            -Djava.library.path="${workspace_loc:JavaSdk}\nativelib\windows\amd64"
        HGDNSampleProject5.JPG  
  6. Start creating your extensions

 

 

 

Overview
Contributors