org-scn-design-studio-community / lumiradesignercommunityext

Lumira Designer SCN Community Extensions
Apache License 2.0
3 stars 2 forks source link

Lumira Designer 2 SP02 (Flow Container) #3

Closed nloeblich closed 6 years ago

nloeblich commented 7 years ago

Hi Mike,

I checked the function surrounding the Flow Container. Unfortunatly the main functions are broken:

I guess classes have been changed / reorganized for Basis Containers (like PANEL). Probably the similar issue with the new function PANEL.moveComponent(component) where I can not assign a panel. -> A PANEL does not belong to classtype component.

This combination works: FLOW_LAYOUTER.registerComponent(CROSSTAB);

This combination does not work: FLOW_LAYOUTER.registerComponent(PANEL);

Regards. Nico

entmike commented 7 years ago

Hey Nico,

Thanks for reporting this one. I'll take a look. Can you attach a sample app by chance?

nloeblich commented 7 years ago

Hey Mike,

i created a simple example.

In the start routine (On StartUp) I added the code. I saw additionally tha the rendering mode is not working.

Well, this component is quite similar to the new Adaptive Layout. But the functionality .registerCompent / . unregisterCompent keeps a small dynamic advantage.

Regards. Nico

SAMPLE.zip

entmike commented 6 years ago

Hey Nico,

I'm getting back to this one. Looking now.

nloeblich commented 6 years ago

Hallo Mike,

great. That fits to my schedule right now. Will have time to check it on time.

Regards Nico

Am 13.10.2017 7:23 nachm. schrieb "Mike Howles" notifications@github.com:

Hey Nico,

I'm getting back to this one. Looking now.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/org-scn-design-studio-community/lumiradesignercommunityext/issues/3#issuecomment-336515371, or mute the thread https://github.com/notifications/unsubscribe-auth/AWUwiaGRrF8Y6l_0mUTMCfKwP4yZp2dvks5sr5yAgaJpZM4PPUiT .

entmike commented 6 years ago

Ok, I've updated this component with some new methods. Basically it works the same as before, except if you need to register a Panel, you will need to call registerPanel and unregisterPanel. Also there is a new registerParentPanel for the same reason. The reason I had to make new methods, is like you said, the class types must have changed, and unlike real Java, in BIAL, we cannot have methods by the same name with different parameter signatures, unfortunately. So to keep it simple and fast, this was quickest/easiest fix.

I've tested with a simple app with some panels and buttons registered and it seems to work as intended now.

Let me know if it works for you! Thanks, sorry for the delay, I'm the only guy really working on this stuff any more.

franckblais commented 6 years ago

And you're the guru as well ! We can't possibly compete with you ;)

On Fri, Oct 13, 2017 at 4:28 PM, Mike Howles notifications@github.com wrote:

Ok, I've updated this component with some new methods. Basically it works the same as before, except if you need to register a Panel, you will need to call registerPanel and unregisterPanel. Also there is a new registerParentPanel for the same reason. The reason I had to make new methods, is like you said, the class types must have changed, and unlike real Java, in BIAL, we cannot have methods by the same name with different parameter signatures, unfortunately. So to keep it simple and fast, this was quickest/easiest fix.

I've tested with a simple app with some panels and buttons registered and it seems to work as intended now.

Let me know if it works for you! Thanks, sorry for the delay, I'm the only guy really working on this stuff any more.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/org-scn-design-studio-community/lumiradesignercommunityext/issues/3#issuecomment-336559288, or mute the thread https://github.com/notifications/unsubscribe-auth/AJpiS0Rucnct6-hSdyEOnODCf7ZB7KfOks5sr8fxgaJpZM4PPUiT .

-- Franck BLAIS

entmike commented 6 years ago

And you're the guru as well ! We can't possibly compete with you ;)

It's not a competition but I know you and Karol have your hands full these days with other important things :)

nloeblich commented 6 years ago

Hello Mike,

I checked my simple Example and my previous Dashboard with your new functions:

FLOW_LAYOUTER.registerParentPanel(CONTAINER); FLOW_LAYOUTER.registerPanel(PANEL_01); FLOW_LAYOUTER.registerPanel(PANEL_02); FLOW_LAYOUTER.registerPanel(PANEL_03); FLOW_LAYOUTER.registerComponent(CROSSTAB); FLOW_LAYOUTER.reLayout();

Every thing works fine! Many Thanks.

At the moement I only do not understand the function FLOW_LAYOUTER.registerParentComponent(component). What's behind / what was your intention. Maybe I do not know what component (Button, etc) woudl be set as parent component.

Regards Nico

2017-10-13 23:48 GMT+02:00 Mike Howles notifications@github.com:

And you're the guru as well ! We can't possibly compete with you ;)

It's not a competition but I know you and Karol have your hands full these days with other important things :)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/org-scn-design-studio-community/lumiradesignercommunityext/issues/3#issuecomment-336575653, or mute the thread https://github.com/notifications/unsubscribe-auth/AWUwiXDUUwJiKHlvVC85PqnjtLyeEQ5Lks5sr9q1gaJpZM4PPUiT .