Misunderstanding labels in TFS / VS 2010 - tfs

I have several files I'd like to label. When I click on one I can select "Apply Label..." and I can create and apply the label. But if I right-click another file I don't see any mechanism for applying a pre-existing label? All I'm presented with is the same dialog used to create another label, or edit the existing one.
I've looked on MSDN and have had no luck with figuring out how to create a label and then apply it to various files. Or am I missing the purpose of labels in some way?

Correct - this is because in Team Foundation Server, labels contain files, files don't have labels.
To include another file in a label, you can locate the Label in History, select Edit Label and then add the other item(s).

Related

Can the text description at the lower left of the configurator be changed to show nothing?

At the lower left hand side of the Configurator screen there is Text that is driven from the Catalogue name and the name of the ROOT component, is there anyway of removing the text that appears from the ROOT Component? Ideally I want this is only show the Catalogue name
There is no native way of doing this in the standard implementation. You could delete the database label using CSV import (RuAd won't accept empty label field via UI):
"component_id","label_de","label_en"
"your_component_id","",""
I also tried using whitespace as a database label - see https://emptycharacter.com/, which works, but the catalogue label is not "promoted" to the place of the component label. Also it might not work as expected when pricing is used.
There is a pending update on 2021-03-20 on this article, should you have interest in more details on how this works: https://docs.roomle.com/scripting/resources/200_110_advancedpartlist.html#where-are-component-labels-used

Changing the color of one label changes also the color of the other label in neo4j

This is a quite silly question but I can not find a way to make it work. Its related with the visualisation of my nodes and their labels in the neo4j server.
I have created a small number of nodes with two labels. The first one is called: PseudoNode and the second one: RealNode.
When I try to change the color of one label the visualisation rule applies also to the nodes which belong to the second label. Here is an image:
Why this happens?
I've run into this before. I think it's a bug in the web console. If you click on View stylesheet you can download the stylesheet and edit it locally and then upload it again by dragging it to the place where it says to drag it. Often I just clear out the stylesheet except for the first few about node/relationship.

What the differences between adding a new label in TFS and adding a label to a label

In TFS it's possible to add a new label to a code branch and by default all files and folders below that level get the label. If I wanted to rename that label I could delete it and add another label with the new name. Alternatively I can add a label to the original label then delete the original lable.
What is the difference between the two as the end result seems to be the same.
What is the difference between the two as the end result seems to be the same.
Correct: no difference.
A label is set against a set of specific versions of files.
Another label is just another way (like "latest" or "my workspace") of selecting the version of the files being labelled. (Not including label for this purpose would mean special casing setting of labels to having a slightly different set of version selection criteria.)

Programmatically set which labels can grow in Crystal reports 2008

I am attempting to programmatically set which lines on a Crystal report (2008) can and cannot grow. This is needed because the existing report has some pretty complex formatting and I do not want to set all the existing Labels to can grow. Just the one with an specific reference that is fed in from a stored procedure.
After playing around with this for a while I discovered that you can programmaticly set the CanGrow property as follows .
Right click on the label and select format field,
Then select the common tab.
Click on the CanGrow Formula entry button.
I then used the following code to allow an single label to grow bigger than one line :
if ({dp_LC3080_Retrieve;1.Reference} = "10") then
true
else
false

How I can create a addition Tree Editor with GEF?

I have a graphical editor with GEF. It's possible to add objects from a palette.
An Example what I mean is this:
http://java-eclipse.info/IBM.Redbooks-Eclipse.Development.using.the.Graphical.Editing.Framework.and.the.Eclipse.Modeling.Framework/7823/images/fig166_01_0.jpg
So, now I want add a different possibility to display the content from the editor, in a tree view. I have found the possibility "Outline". It's work very well except for adding objects from the palette to the tree view. My goal is, that the graphical editor and the tree viewer/editor do the same things (add/delete objects, rename objects, changing properties from objects, ...), but show in a different way.
Is there a way?
Thanks for your helping!
you could try to add a Drop listener to the treeview in the outline and to implement accordingly all the edit policies created in the tree edit parts.

Resources