Skip to content

Commit

Permalink
- Rename packages
Browse files Browse the repository at this point in the history
- Add gif
  • Loading branch information
yamelsenih committed Apr 20, 2023
1 parent b51df7b commit 7a57cfd
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 17 deletions.
34 changes: 22 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,33 +1,43 @@
# ADempiere Template Project

Fill it with a comment about project.
A improvement for dashboard using ADempiere new UI.

## Examples

### Definition

![Definition](docs/Window_Chart.gif)

### Access

![Access](docs/Window_Chart_Access.gif)

## Requirements
- [JDK 11 or later](https://adoptium.net/)
- [Gradle 8.0.1 or later](https://gradle.org/install/)


### Packages Names
you should change the follows packages for your own implementation, just change the word `template` by your implementation
All packages are created with `org.spin.eca50` preffix.

```Java
org.spin.template.model.validator
org.spin.template.setup
org.spin.template.util
org.spin.eca50.model.validator
org.spin.eca50.setup
org.spin.eca50.util
```

### Model Validators
Change the `org.spin.template.model.validator.Validator` by your implementation, example: `org.spin.template.model.validator.MyOwnFunctionality`
Change the `org.spin.eca50.model.validator.Validator` by your implementation, example: `org.spin.eca50.model.validator.MyOwnFunctionality`

### Model Deploy class
Change the `org.spin.template.setup.Deploy` by your implementation, example: `org.spin.template.setup.MyOwnSetupForDeploy`
Change the `org.spin.eca50.setup.Deploy` by your implementation, example: `org.spin.eca50.setup.MyOwnSetupForDeploy`

### Model Util class for core changes
Change the `org.spin.template.util.Changes` by your implementation, example: `org.spin.template.util.MyOwnChanges`
Change the `org.spin.eca50.util.Changes` by your implementation, example: `org.spin.eca50.util.MyOwnChanges`

## Binary Project

You can get all binaries from github [here](https://central.sonatype.com/artifact/io.github.adempiere/adempiere-template-project/1.0.0).
You can get all binaries from github [here](https://central.sonatype.com/artifact/io.github.adempiere/adempiere-dashboard-improvements/1.0.0).

All contruction is from github actions

Expand All @@ -44,21 +54,21 @@ Is very easy.
- Gradle

```Java
implementation 'io.github.adempiere:adempiere-template-project:1.0.0'
implementation 'io.github.adempiere:adempiere-dashboard-improvements:1.0.0'
```

- SBT

```
libraryDependencies += "io.github.adempiere" % "adempiere-template-project" % "1.0.0"
libraryDependencies += "io.github.adempiere" % "adempiere-dashboard-improvements" % "1.0.0"
```

- Apache Maven

```
<dependency>
<groupId>io.github.adempiere</groupId>
<artifactId>adempiere-template-project</artifactId>
<artifactId>adempiere-dashboard-improvements</artifactId>
<version>1.0.0</version>
</dependency>
```
Binary file added docs/Window_Chart.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/Window_Chart_Access.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* You should have received a copy of the GNU General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
************************************************************************************/
package org.spin.template.model.validator;
package org.spin.eca50.model.validator;

import org.adempiere.core.domains.models.I_C_Order;
import org.adempiere.core.domains.models.I_C_OrderLine;
Expand All @@ -23,7 +23,7 @@
import org.compiere.model.ModelValidator;
import org.compiere.model.PO;
import org.compiere.util.CLogger;
import org.spin.template.util.Changes;
import org.spin.eca50.util.Changes;

/**
* Write here your change comment
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
* All Rights Reserved. *
* Contributor(s): Yamel Senih www.erpya.com *
*****************************************************************************/
package org.spin.template.setup;
package org.spin.eca50.setup;

import java.util.Properties;

import org.compiere.model.Query;
import org.adempiere.core.domains.models.X_AD_ModelValidator;
import org.spin.template.model.validator.Validator;
import org.spin.eca50.model.validator.Validator;
import org.spin.util.ISetupDefinition;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* All Rights Reserved. *
* Contributor(s): Yamel Senih www.erpya.com *
*****************************************************************************/
package org.spin.template.util;
package org.spin.eca50.util;

/**
* Add here all changes for core and statci methods
Expand Down

0 comments on commit 7a57cfd

Please sign in to comment.