I've sucessfully created a plugin-project defining an extension property for a PolicyCmptType. This extension property is enum-based, so I would like to get a ComboBox as control for it, at the moment a simple Text control is created. Is there an easy way to do so?
Is there a way to customize the input element for a Faktor-IPS extension property?
60 Views Asked by Thorsten At
1
There are 1 best solutions below
Related Questions in IDE-CUSTOMIZATION
- How to customize the method templates in Visual Studios
- Custom Project Directory from Android New Project Wizard in Eclipse
- How do I identify a Faktor-IPS extension property in a validation message?
- How do I extend the code generation of Faktor-IPS to modify generated Code
- Is there a way to customize the input element for a Faktor-IPS extension property?
- VSCode - Source Control Coloring
- How to enable a new custom Context Menu Item in Visual Studio Solution Explorer?
- How to change Visual Studio 2022 IDE icons?
- How to remove "Add to Source Control" button from the VS2022 status bar?
- Never hide tabs in Eclipse? I would like to have smaller tabs also
- How can I add "Terminate All" to an Eclipse toolbar?
- How do I get back to the default Android Studio toolbar?
- Integrating a Custom Compiler with the Visual Studio IDE
- VSCode Color Theme customization for golang method-parameters
- Moving an arbitrary setting to a toolbar in Visual Studio
Related Questions in FAKTOR-IPS
- Deactivate Vesion-Entry in Toc-Files
- How do I identify a Faktor-IPS extension property in a validation message?
- How do I extend the code generation of Faktor-IPS to modify generated Code
- Is there a way to customize the input element for a Faktor-IPS extension property?
- Annotations are removed by Faktor-IPS Code Generator
- @IpsEnumId removed by IPS-Generator, even though I annotated method with @customziedAnnotations ADDED
- faktor ips cannot find product component class
- how to fix org.hibernate.LazyInitializationException and org.hibernate.WrongClassException: with faktor ips
- faktor ips ClassCastException when casting IProductComponent to concrete product
- Extending Faktor-IPS EnumTypes
- How to fix faktor ips ClassloaderRuntimeRepository not serializable: java.io.NotSerializableException
- Are there any Matchers available for the Faktor-IPS MessageList?
- maxTableColumnSize in .ipsproject-File
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Faktor-IPS allows you to create your own UI-contributions via the Eclipse mechanism of Extension Points. You already used one to create your extension property. For a custom edit field you can use the extension point 'org.faktorips.devtools.core.ui.extensionPropertyEditFieldFactory', implement IExtensionPropertyEditFieldFactory and set your extension property's id as the 'propertyId'.
To create an EditField, you first create the Combo with the UIToolkit and then configure the data binding with a ComboViewerField:
You can also create your own LabelProvider to customize how the values are displayed.