Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move the Java API and embedded examples to a new repository. Provide a starting point Java UI for client and server #502

Closed
vzahradnik opened this issue Sep 7, 2024 · 2 comments
Assignees
Milestone

Comments

@vzahradnik
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
The TcMenu example in this repository is unused and at this point outdated. Remove it from the repository.

@davetcc
Copy link
Collaborator

davetcc commented Oct 19, 2024

We should also refactor the way that TcMenu Designer handles embedded Java builds. My suggestion is to remove all the complexity as the Java version does not need a code generator, simply it needs a way to export the menu tree that would be immediately usable from the starting point application.

My suggestion is that we:

  1. Move the existing example to a new repository named tcmenu-java-examples along with all the Java API examples.
  2. Better document the java embedded example and make it a starting point rather than the present auto-generated mess.
  3. Remove the embedded Java code generator and instead provide a method of getting the MenuTree object directly from designer UI.
  4. Provide a "starting point" connectivity UI that can be used by others to build their own Java UI.

@davetcc davetcc changed the title Remove example from the repository Move the Java API and embedded examples to a new repository. Provide a starting point Java UI for client and server Oct 19, 2024
@davetcc davetcc added this to the 4.5 milestone Oct 19, 2024
@davetcc
Copy link
Collaborator

davetcc commented Oct 27, 2024

The work is under way ready for 4.4, we must move it now because there are already critical issues with the dependencies on the embedded java example. The proposed new repo is called tcmenu-examples-starters and longer term will look somewhat like

java
   javaApiExamples
   javaApiWebsocketServer
   embedControlJavaFx
   embeddedJavaDeviceUI
dotnet
   dotNetConnectsToDevice
flutter
   embedcontrol
   dartapiexample
python
   ...
typescript
   ...

davetcc added a commit that referenced this issue Oct 27, 2024
davetcc added a commit that referenced this issue Nov 4, 2024
davetcc added a commit that referenced this issue Nov 4, 2024
* #502 move examples to new repository
* clean up git actions after moves
* get automated build working
* Prepare 4.4.0 release
@davetcc davetcc closed this as completed Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants