¿ªÔÆÌåÓý

Locked Re: Panel Editor - Signal Heads not able to be Dragged and Dropped from Palette #paneleditor


 

Bob,

From the comparison of your uploaded screenshot with what is shown on the screen of this computer, it now seems likely that we are working on the same page of the same choir book.

First, to answer your questions, then some more of mine:

And if I am correct, the only changes as you suggest were done to the XML file was?to the URL pointers.? For example:

url="program:resources/icons/_RJE/Signals/SearchErrorFlash.gif"

gets changed to:

url="preference:resources/icons/Signals/SearchErrorFlash.gif"

Am I correct??

That is correct.

If so, how did you do that?? I assume it was something other than manually adjusting the XML coding.

The include several that have free downloads. Notepad++ has been one that I have used for scripts, Arduino sketches, profile & xml files, and lots of others. Replacing all occurrences of program:resources/icons/_RJE with preference:resources/icons was the easy part.

Figuring out what to change and what to leave alone was the puzzler.

You also moved the icon files to the user resource folder (?)

Constructing an artificial "DISK J:" or copying your icons into my "program:" folder both seemed counterproductive.

How you chose to manage your custom made icons is still up to you and your needs. What I needed was a self contained package.

As was stated earlier, my personal programming and management style came into play. It is my habit to keep panels, jython, and resources subfolders within the confiig profile subfolder where they are used. In part this habit is due to numerous actions to help members on this list with problems and it would be unmanageable if I were to intermix your icons with everyone else's that I have downloaded in exercises like this one.

I opened your file with your configuration (have never tried the loconet simulator before so it took a second to get oriented.?

Without a connection to your layout hardware, as was noted, the simulator was the best tool available to me. It was expected that you would quickly modify the connection to undo that choice. It was also expected that occasionally there could be a discrepancy when you make that change.

I tried to place a edit the "X" signalhead with no luck, and also tried to place a new signalhead, and it again only placed an "X" no matter which iconset was selected.

I've placed a screenshot file at:

/g/jmriusers/files/ProblemsBeingWorkedOn/RJE/200207%20-%20Screen%20Shot%20-%20Panel%20Editor%20-%20Coombe%20Junction.zip

To show what I am seeing in case it might be different than what you see.?

We are getting the same kind of images.

Note the "X" on the UPPER BRIDGEBURY part of the panel.? This is a signal head icon, placed using ADD ITEMS, that I can't change to a working icon set.

Now we get to what I think might be the essence of your original posting on another thread and to the limits of my understanding of what you have done:

How does one define an iconmaps family within JMRI PanelPro????

In particular, how did you define:

      <iconmaps family="RJE_SHicon_Searchlight" />

That line is copied 34 time in the "BOBsControlPanel 10r.xml" file and once in the "Test01.xml" but starting at line #12897 in BOBsControlPanel 10r we find:

    <signalheadicon signalhead="SH_1A3.N" x="921" y="312" level="9" forcecontroloff="false" hidden="no" positionable="true" showtooltip="true" editable="true" clickmode="3" litmode="false" class="jmri.jmrit.display.configurexml.SignalHeadIconXml">
      <tooltip>TEST SH_1A3.N</tooltip>
      <icons />
      <iconmaps family="RJE_SHicon_Searchlight" />
    </signalheadicon>

it is noticeable that the <icons /> provides an empty list of icons for that signalhead but not for the other occurrences in BOBsControlPanel 10r!

I do not understand this, nor do I know if this is causing your problem! I do not believe in coincidences!

At a minimum, it seems important to figure out if this is just noise or if it is a clue.

Cliff in Baja SoCal

Join [email protected] to automatically receive all group messages.