Customer Portal

DTD of custom component definition file

Comments 5

  • Avatar
    jurban
    0
    Comment actions Permalink
    Hi,
    look in the chapter 5 of the Clover GUI manual, which can be found here: http://wiki.clovergui.net/docs/cloveret ... 060905.pdf

    There is the DTD you're looking for, and an example component definition file. The DTD is a little bit outdated, but it will work. New features (available in clover GUI 1.7) which are not yet described in the manual are:

    - required ports - you can specify whether a port must have a connected edge, or not (e.g. usually "logging" ports are not mandatory). A required port without a connected edge will be displayed in red color in the GUI.
    - port label - text label which is displayed alongside the port number

    example (quite self-explaining):

    <singlePort name="0" required="true" label="output"/>
  • Avatar
    jurban
    0
    Comment actions Permalink
    I've jsut checked, and unfortunately you cannot add your own component category. You must use one of these category names:

    - readers
    - writers
    - joiners
    - transformers
    - others
    - userDefined
  • Avatar
    abdelillah
    0
    Comment actions Permalink
    Thank you for your help.

    Other thing about custom component, I can't set the custom component icon. What the path root of iconPath tag.

    How can I set correctly the icon path.

    Thanks for your collaboration.

    Abdelillah.
  • Avatar
    jurban
    0
    Comment actions Permalink
    Hi,
    unfortunately the iconPath attribute does not work correctly for custom components. More specifically, the root of the iconPath is somewhere inside the Clover GUI plugin jar file. So, you can can set the iconPath only to the paths of icons stored in the jar file. Unfortunately, because of code obfuscation you will most probably not be able to browse the jar file and look at the icons. I can give you a list of valid icon paths which you can put in the iconPath:

    icons/addField.gif
    icons/asterix.gif
    icons/browseDatabase.gif
    icons/comp16.gif
    icons/comp32.gif
    icons/compcat.gif
    icons/connect16.gif
    icons/connect32.gif
    icons/debug.gif
    icons/decrement.gif
    icons/decretarget.gif
    icons/dreader16.gif
    icons/dreader32.gif
    icons/dwriter16.gif
    icons/dwriter32.gif
    icons/error.gif
    icons/flatmetadata16.gif
    icons/gear.gif
    icons/gear16.gif
    icons/increment.gif
    icons/incretarget.gif
    icons/info.gif
    icons/launcherMainTab.gif
    icons/lookupTable.gif
    icons/metadata.gif
    icons/outline.gif
    icons/overview.gif
    icons/passThrough.gif
    icons/removeAll.gif
    icons/removeField.gif
    icons/saveAs.gif
    icons/scopy16.gif
    icons/scopy32.gif
    icons/todo.gif
    icons/validate.gif
    icons/warning.gif
    icons/add-driver-property-16.png
    icons/add-driver-property-disabled-16.png
    icons/add-library-16.png
    icons/add-library-disabled-16.png
    icons/aggragate32.png
    icons/aggregate16.png
    icons/aggregate32.png
    icons/approxJoin16.png
    icons/approxJoin32.png
    icons/component-group-16.png
    icons/concatenate16.png
    icons/concatenate32.png
    icons/connection-16.png
    icons/connection-external-16.png
    icons/connection-group-16.png
    icons/dataIntersection16.png
    icons/dataIntersection32.png
    icons/dataReader16.png
    icons/dataReader32.png
    icons/dataWriter16.png
    icons/dataWriter32.png
    icons/dbExecute16.png
    icons/dbExecute32.png
    icons/dbInputTable16.png
    icons/dbInputTable32.png
    icons/dbOutputTable16.png
    icons/dbOutputTable32.png
    icons/dedup16.png
    icons/dedup32.png
    icons/denormalizer16.png
    icons/denormalizer32.png
    icons/driver-libraries-16.png
    icons/driver-library-16.png
    icons/driver-properties-16.png
    icons/editor16.png
    icons/editor32.png
    icons/editor64.png
    icons/filter16.png
    icons/filter32.png
    icons/jdbc-driver-16.png
    icons/jdbc-driver-add-16.png
    icons/join16.png
    icons/join32.png
    icons/keyGenerator16.png
    icons/keyGenerator32.png
    icons/lookup-16.png
    icons/lookup-group-16.png
    icons/merge16.png
    icons/merge32.png
    icons/metadata-16.png
    icons/metadata-external-16.png
    icons/metadata-group-16.png
    icons/navDown.png
    icons/navFloor.png
    icons/navLeft.png
    icons/navRight.png
    icons/navTop.png
    icons/navUp.png
    icons/normalizer16.png
    icons/normalizer32.png
    icons/note16.png
    icons/note32.png
    icons/note-group-16.png
    icons/parameter-16.png
    icons/parameter-file-16.png
    icons/parameter-group-16.png
    icons/partition16.png
    icons/partition32.png
    icons/reader16.png
    icons/reader32.png
    icons/reformat16.png
    icons/reformat32.png
    icons/remove-16.png
    icons/remove-disabled-16.png
    icons/sequence-16.png
    icons/sequence-group-16.png
    icons/simpleCopy16.png
    icons/simpleCopy32.png
    icons/simpleGather16.png
    icons/simpleGather32.png
    icons/sort16.png
    icons/sort32.png
    icons/systemExecute16.png
    icons/systemExecute32.png
    icons/trash16.png
    icons/trash32.png
    icons/xlsReader16.png
    icons/xlsReader32.png
    icons/xlsWriter16.png
    icons/xlsWriter32.png


    We will fix the iconPath for custom components in the future.

    Thanks!
    Jaro
  • Avatar
    abdelillah
    0
    Comment actions Permalink
    Thanks you Jaro for your appreciably helps.

    regards.

    Abdelillah

Please sign in to leave a comment.