Set Chart as Agent's Icon - anylogic

I want to create an agent that will process some data and show it on chart.
I want the chart to be the icon of the agent so when I put the agent in a sapce it will appear as the chart, where i placed the agent (Just like you would place a regular chart).
Couldn't find any solution.
Thanks!

This is not what "Icons" are made for. Use the default approach:
ensure your chart has "show on embedded agent" enabled
embed the agent into some parent agent (or main)
Click on the agent or agent population
in the properties, click the "show presentation" button
this will plot the agent presentation that includes the chart. You can drag it anywhere, independent of the actual agent icon.

Related

Where is the Variables Menu gone in the new Dymola UI?

Until Dymola 2020, now and then I used the Edit->Variables menu to set annotations. Where do I find it in the new UI in 2020x?
Edit->Variables:
I think the dialog you are referring to is available using one of two ways:
via the context menu, after a right-click. Within the "Variables" menu you will need to select the variable you want to edit from the list shown there.
If you select a variable before doing the right-click, it will be highlighted and moved to the top of the list of available variables as shown in the above screenshot.
Additionally it should be possible to access the dialog by highlighting the variable and pressing CTRL+Shift+N, but that does not work reliably for me...
Using the component browser (after enabling the "Include non-graphical" option, which is marked red) by right-clicking the variable you want to edit and then select "Variable..."
You can also find it in the GUI in the Text tab - well hidden inside the Insert button:

How Can I customize the Tag Color in Azure Board?

I want to customize the Tag Colors for my team. And I found the description in the following places in the article of learn.microsoft.com Customize cards
But when I open my settings, I do not have a menu point called Tag Colors:
Some of the menu points are missing.
Even in the same documentation, there are two different menu structure. A little bit earlier the article shows a different menu structure, same as I have:
How can access more menu points?
The second image of your post shows the task board settings. You get here by selecting Sprints in the menu on the left pane and then clicking Settings icon in the top right corner.
In order to find the tag colors option you should open the settings of the kanban board, the one containing the PBIs. If you navigate to the Boards in the menu of the left pane, then select the board from the dropdown and afterwards click the Settings icon, you'll see what you need:

Updating Eclipse context menu contributions on right click

In my Eclipse RCP application, I have created a context menu in a tree viewer with some contributions that are added depending on the results of various property testers. Those property testers evaluate attributes of the model object which is selected with right click when opening the context menu.
When debugging, I noticed that the property testers are only executed when the selection in the tree viewer changes, but not on right clicking when opening the context menu. How do I get the property testers called when right clicking?
I need the property testers executed when right clicking because some actions change the underlying model objects and therefore should result in a different context menu. And the user might execute such an action and and open the context menu right after without changing the selection.
Have a look at IEvaluationService.requestEvaluation(String propertyName)... It does exactly what you need. You get the evaluation service from the site like all the other services:
IEvaluationService es = (IEvaluationService)getSite().getService(IEvaluationService.class);

How to show more than 100 tasks //TODOs at once in Eclipse?

As the title says, how do I display more than 100 tasks at once in Tasks window in Eclipse? Alternatively, how do I browse tasks past 100?
I have a lot of .c files in my project with many //TODOs
When I go to Tasks window, it shows:
Filter matched 100 of 158 items
I can't find a sane way to go past item 100... that is, I don't see a button, or right click option saying go to next 100 items..
The insane way I use currently, is to sort by different columns, ie resource, path, location, ascending AND descending.. then copy paste to outside app and cut out duplicates.. this doesn't guarantee I get every task if I have more than 200 tasks.
There has to be a better way!
This is running Standard Eclipse 3.5 CDT installation on Ubuntu 9.04., but had this problem on 3.4 and 3.3, as well.
The little arrow at the top-right side of the Taks view display a menu with the 'Preferences' item.
In the 'Preferences' dialog , you can define:
Limit visible items per group to:
And enter a value greater than 100.
Here is an illustration, with the mandatory hand-made circle (quite ugly in this case):
As mentioned below, for Eclipse 4+, this has changed.
4.5 (mars) and 4.6 (Neon) actually have a "Use item limit" field.
In Eclipse Version: 4.2.2 There is no preferences or properties. You must click the arrow and go to "Configure Contents" Then change the field that says "Number of items visible per group: " in the bottom right side of the dialog box.
In the title bar of the tasks view, there is a downward arrow (right to the left of the closing X). It opens a dropdown menu that has a "Properties" entry, which allows you to specify how many tasks to show.
Click the View menu in the Tasks window (the little downwards-pointing triangle) and click Preferences. There's a "Limit visible items per group to:" field that has a default value of 100.
In Eclipse Neon , it is changed to
Title bar of tasks view->Downward arrow -> Configure Contents -> Use Item Limits
It is set to 100 by default, either change it to any number you want , or uncheck the Use Item Limits box, to see all the issues/tasks .
caveat: It has to done for every window , as I am not sure how to do it globally.

Change checkbox(Activex control) in word 2007

In word 2007, I'm trying to use the default activex control as check box. I would like the color of text changed after some one check the box it.
I know how to get it done with VBA and checkbox formfield, but how can this be done with checkbox(active control)?
Shortly, is there any way I can retrieve the properties or other object information of ActiveX control check box?
I think this answer is too late for the questioner, how ever i am sending it for those who will face this problem later on.
IF you know how to change check box color in VBA then you can do it in word as well. All you have to do is to insert a check box that you can code your self. to do so.
Generate Developor's Tab in MS Word by clicking word button at the top left of MS WORD 07 Window; Select Advanced; Select Popular; then in the pan opened, check the check box that contains Developor's tab.
Now Click the Developer's Tab, Locate the Control Group and from their, click on legacy tools pull down menu.Click on more controls option at the lowest left of the legacy tools pull down menu. A new Window will open.
Scroll down to find the option Micrsoft Forms 2.0checkbox.
Click to select it, and you are done. You will receive a check box at the place where your cursor was blinking before you startated this process.
This Checkbox is very similar to the Check box from VB. Now if you know the VBA Codes and want to change the properties of check box like color etc. Look at the Control Group in Developer's Tab. Click Design Mode. Now DOUBLE CLICK THE CHECK BOX AND VB CODING FORM OPENS WHERE YOU CAN CODE.
In case you do not know how to code in VB, You can still make some useful changes in check box. Single click on the check box and Then Click Properties Immediately below the Design Mode in the devloper's Tab.
Here you can make changes in properties.