mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-11 01:32:08 +10:00
added PropertyInjector
This commit is contained in:
+6
@@ -3,6 +3,12 @@ package com.diyfever.diylc.model.annotations;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
|
||||
/**
|
||||
* Annotates getter for the component name that will be shown in the BOM. Only
|
||||
* one getter per class may be tagged with this annotation.
|
||||
*
|
||||
* @author Branislav Stojkovic
|
||||
*/
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
public @interface BomName {
|
||||
|
||||
|
||||
+6
@@ -3,6 +3,12 @@ package com.diyfever.diylc.model.annotations;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
|
||||
/**
|
||||
* Annotates getter for the component value that will be shown in the BOM. Only
|
||||
* one getter per class may be tagged with this annotation.
|
||||
*
|
||||
* @author Branislav Stojkovic
|
||||
*/
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
public @interface BomValue {
|
||||
|
||||
|
||||
+3
-3
@@ -7,9 +7,9 @@ import java.lang.annotation.RetentionPolicy;
|
||||
import com.diyfever.diylc.model.VisibilityPolicy;
|
||||
|
||||
/**
|
||||
* Annotation for control points. This annotation may be added to a field XYZ of
|
||||
* type {@link Point} only when both getters and setters for that property
|
||||
* exist. Annotation is added always on the getter.
|
||||
* Annotation for control points. This annotation may be added fields of type
|
||||
* {@link Point} only when both getters and setters exist. Annotation is added
|
||||
* always on the getter.
|
||||
*
|
||||
* @author Branislav Stojkovic
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user