3d Component Designer

0 views
Skip to first unread message

Alexandrin Chaples

unread,
Aug 4, 2024, 10:00:32 PM8/4/24
to perfbogciobo
AtRittman Mead, the APEX consultancy team are always looking for ways to enhance and extend the product's core offering. Our latest project has seen us create a tool that makes it easy for you to customise JET and other 3rd party components and, after a few week's work, we're happy to announce the APEX Component Designer.

Within APEX, the component builder provides many javascript based components that can be utilised within its framework, examples being Oracle JET charts and calendars based on the FullCalendar library. The APEX interface provides native functionality for configuring the look and feel for these but only a subset of each library's functionality is exposed. If you want to exploit the full range of capabilities of these components then APEX provides a "JavaScript Initialization Code" section in the components attributes section but what to include there can be challenging, especially if you're not familiar with the specific js library.


If we take the example of JET components, for example, there are many, many options available outside what is declaratively configurable within APEX. Some are applicable to multiple components, while others are specific to certain types. Although the documentation is extensive, integration of these options with Oracle APEX is not a straightforward process.


For this reason, we opted to challenge ourselves and make the process easier through a scalable solution. The outcome? An APEX Application available for the community that generates the JavaScript initialisation code for you to use.


Our initial objective was to aid developers in fine-tuning a JET chart and immediately seeing the customised outcome. Right from the start, it was evident that the final deliverable of this process should be a readily deployable piece of code that enhances the visual appeal of your application.


Here, I've made some changes to the options and generated the preview. I adjusted the inner radius, changed the colour of a slice (which generates 10 colours), added a filler colour, a label, the label style and legend.


If you are not totally happy with how it looks, you can keep making more changes, play with different colours and options. Once you've designed your chart, there's a section in the bottom left called JavaScript Initialization Code. This gives you the exact code to copy and paste into your application. Doing this will give your chart the same awesome look that you've just designed.


With the APEX Component Designer, you can quickly redesign APEX components so they have the look and feel that you desire and be handed the initialisation code that you can then paste directly into your APEX application to achieve the same results.


Why is personal information identification a big deal?Personal Information Identification (PII) is crucial for maintaining privacy, complying with regulations, mitigating risks, ensuring data quality, and enabling trust between organisations and their customers.In recent years, numerous organisations worldwide have encountered legal issues due to breaches of PII. Notable incidents


Enhance the reach of your Oracle APEX Progressive Web App (PWA) by publishing it on the Google Play Store. Ensure your app meets PWA requirements, set up a Google Developer Account, and use PWABuilder to package your app for Android.PWABuilder simplifies converting PWAs into platform-specific apps, making them available


If you have a CSV file and quickly need to do a bit of analysis on it, you do not always have to reach for the big guns like loading it into a relational database table or using Apache Spark. The Pandas Python library allows for quick analysis without the


The following code example provides an example ComponentDesigner implementation and an example component associated with the designer. The designer implements an override of the Initialize method that calls the base Initialize method, an override of the DoDefaultAction method that displays a MessageBox when the component is double-clicked, and an override of the Verbs property accessor that supplies a custom DesignerVerb menu command to the shortcut menu for the component.


ComponentDesigner provides an empty IDesignerFilter interface implementation, whose methods can be overridden to adjust the attributes, properties and events of the associated component at design time.


The ComponentDesigner class implements a special behavior for the property descriptors of inherited components. An internal type named InheritedPropertyDescriptor is used by the default ComponentDesigner implementation to stand in for properties that are inherited from a base class. There are two cases in which these property descriptors are added.


The InheritedPropertyDescriptor class modifies the default value of a property, so that the default value is the current value at object instantiation. This is because the property is inherited from another instance. The designer defines resetting the property value as setting it to the value that was set by the inherited class. This value may differ from the default value stored in metadata.


What I am trying to do is have a component when dragged into designer, position itself to absolute location in window, and also modify size and position of other already placed components, as well as set overall window size.


These are runtime options. I wish to manipulate the components at design time, so that users get WYSIWIG from the manipulations. Eg do exactly what your drag handles or _P does in the designer, but performed via the component.


In my case I am overriding the setBounds method in an AbstractVisionPanel. Doing this without invoking a tool like system.gui.reshapetransform stuffs up the marquee as the super does not seem to handle this side of things


In visual studios community edition 2015, I have components that are initialized in the xxx.designer.cs, and show in the designer view. I also alter them in the class code, xxx.cs. For instance when reading a config file I will set items to checked.


EDIT2: Shift+F7 will take me to the designer but doesn't highlight the component I want to find, and since I'm working with someone elses's bad code with hundreds of components in one form it's still very difficult to find.


You want to jump from an element's code to where it is in designer? I think you can click within the code's scope and hit f7. Alternatively look at what the element's name is and view drop down of page elements in a designer window.


Use the AUTOSAR Component Designer app to generate C or C++ code and ARXML descriptions from an AUTOSAR component model. When you open the app, an AUTOSAR tab is added to the toolstrip. The AUTOSAR tab represents groups of tasks in the AUTOSAR Blockset workflow.


If you are new to AUTOSAR Blockset, use the Embedded Coder Quick Start to prepare your model for AUTOSAR code generation. The Quick Start chooses fundamental code generation settings based on your goals and application. Click Quick Start. For code generation output, select either C code compliant with AUTOSAR or C++ code compliant with AUTOSAR Adaptive Platform.


Opening the AUTOSAR Component Designer app opens the AUTOSAR Code perspective, which contains the Code Mappings editor. Use the Code Mappings editor to map model entry-point functions, data, and other elements to AUTOSAR elements and properties that are defined in the AUTOSAR standard. Select Code Interface > Individual Element Code Mappings.


Configure AUTOSAR elements from an AUTOSAR component perspective by using the AUTOSAR Dictionary. Select Code Interface > AUTOSAR Dictionary or, from the Code Mappings editor, click . In the XML Options view, configure settings for ARXML export.


Open the Code view to view the generated code alongside your model. Click View Code. In the Code view, you can trace between model elements and the code by clicking hyperlinked lines of code. To remove traceability highlighting, click Remove Highlighting.


Package the model code and build artifacts in a ZIP file, for example, for relocation and integration. Select Share > Generate Code and Package. Optionally, you can modify the name of the generated ZIP file.


If you are working with a model hierarchy, open the AUTOSAR Component Designer app in the Simulink Editor window for the top model of the hierarchy that you are generating code for. On the AUTOSAR tab, the functionalities apply to the top model of the hierarchy that is open in the editor.


To configure and view code for a referenced model, navigate to the model in the hierarchy and use the AUTOSAR Dictionary, Code Mappings editor, and Code view. These views apply to the active model, which can be the top model or a referenced model.


Sometimes we have observed that our custom component (having _hw.tcl file) does not appear in Platform Designer (Qsys) IP library even after providing IP core search path via Qsys>Tools>Options>IP Search path option.


There could be other alternative for this. But based on our experience, we have prepared one document which could help you in such a case. We have attached it herewith. We hope this would be useful to someone in future.


Basically we are designing IP cores, mainly USB IP cores. Although other IP cores are in encrypted form, we have I2C master IP core which we are providing free of charge. If you can give me your email ID, I can request our sales team to share that component to you. It will contain RTL files as well as hw.tcl file. I am facing same issue with that as well. Hence, you can check at your end whether same issue is happening with you or not.


You don't mention any error messages or any other info about why your components aren't showing up in the IP Catalog, but my guess is that the connection between the _hw.tcl file and your custom component HDL code is getting lost. This can happen if you use the Platform Designer Component Editor and then move the _hw.tcl file from the project directory and/or the HDL code.

3a8082e126
Reply all
Reply to author
Forward
0 new messages