Eclipse plugin make property value readonly - eclipse-plugin

I want to make change in value field of Eclipse properties tab. Since this are directly from eclipse plugin classes. I need the "Value" of type (Domain) should not be editable or it should be combobox

Related

"Specify type explicitly" checked by default in IntelliJ Idea

IntelliJ IDEA IDE offers "Introduce variable" refactoring feature for Kotlin language. Popup shown by the variable being introduced allow to "Specify type explicitly" (switchable by Alt + T).
How to make "Specify type explicitly" option selected by default?

IntelliJ constants.getProperty() autocomplete field

I have a large constants.properties file.
When reading properties from it with constants.getProperty("PROPERTY_NAME") I often have to copy/paste the property names which is rather long.
I see that IntelliJ is able to detect when properties are used inside the code, is it be possible to have auto-completion of property names when I type the name in getProperty()?
Yes, IntelliJ IDEA provides the completion for the Java Properties, use Ctrl+Space to get the hints:

Find usages of lombok generated constructor in Intellij

I have a class with lombok annotation (either #Value or #Data) and I am looking for an easy way to find usages of the auto generated constructor.
What I can do now is to find a one use of the constructor, put the cursor there and run 'Find usages' command and I get the results I want.
However I would like to do this directly from the class declaration. Is there a way to do that?
I have finally found an acceptable solution to this:
Anywhere in the file invoke "File structure" action (Ctrl + F12 on linux)
Select the desired element (constructor, but also works for Lombok generated builder() method when #Builder is present).
Invoke "Find usages" action (Alt + F7 on linux)
Not as easy as Find Usages, but you could use Structural Search for this. Use the button Copy existing template... and choose new expressions:
new $Constructor$($Argument$)
Edit variables to set the text/regexp of Constructor to your classname.
You can search for usages of the type (the class declaration). IDEA will display the usages grouped by usage type. There you will find "new instance creation".
This works for me with IDEA Ultimate 2016.3 and lombok plugin.

Modify label of command programmatically in Eclipse RCP

Is it possible in Eclipse RCP to modify programmatically the label of a command defined in plugin.xml?
I can't see any way to programmatically change the name of a command defined using the org.eclipse.ui.commands extension point.
Note that the UI often doesn't use the command name anyway. For example the command element of the org.eclipse.ui.menus extension point has a label attribute which overrides the command name.
You can do that if you do have a handler for the respective command.Ask your handler to implement IElementUpdater and in method
updateElement(UIElement element, Map parameters)
you can just set the label of menu item as
element.setText("any_name");

create field in typescript intellij 14.1.2 ultimate from usage

Coming from Eclipse, I like to use a field first (for example) this.fieldname = "value", and then quick fix (control-1) the field declaration into existence without having to type it myself. It would create "private String fieldname;" for example in my class file.
In intellij I thought the same thing was possible across its editors, but I am not able to alt-enter or control space the field into existence. How do I accomplish this? This is for Typescript in Intellij Ultimate. I have enabled the TypeScript compiler per the banner popup.