public code v1

This commit is contained in:
Francisco Jesús Martínez Mimbrera
2026-05-23 00:32:57 +02:00
commit 759a8968a2
4357 changed files with 163763 additions and 0 deletions
@@ -0,0 +1,7 @@
<?flintstones.helper.data.xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="output" path="bin"/>
</classpath>
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>flintstones.group</groupId>
<artifactId>flintstones.bundles</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
<artifactId>flintstones.domain.numeric.integer</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
<name>[bundle] Bundle-Name</name>
</project>
@@ -0,0 +1,45 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>flintstones.domain.numeric.integer</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.SchemaBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
<filteredResources>
<filter>
<id>1779484362544</id>
<name></name>
<type>30</type>
<matcher>
<id>org.eclipse.core.resources.regexFilterMatcher</id>
<arguments>node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
</matcher>
</filter>
</filteredResources>
</projectDescription>
@@ -0,0 +1,2 @@
eclipse.preferences.version=1
encoding/<project>=UTF-8
@@ -0,0 +1,7 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
org.eclipse.jdt.core.compiler.compliance=1.8
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.8
@@ -0,0 +1,4 @@
activeProfiles=
eclipse.preferences.version=1
resolveWorkspaceProjects=true
version=1
@@ -0,0 +1,13 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %Bundle-Name
Bundle-SymbolicName: flintstones.domain.numeric.integer;singleton:=true
Bundle-Version: 1.0.0.qualifier
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Require-Bundle: flintstones.entity.domain,
flintstones.domain.numeric;visibility:=reexport,
flintstones.helper.data.wxml,
flintstones.entity.domain,
javax.inject
Export-Package: flintstones.domain.numeric.integer
Automatic-Module-Name: flintstones.domain.numeric.integer
@@ -0,0 +1,3 @@
#Properties file for flintstones.domain.numeric.integer
domain.label = Integer
domain.label.integer = Integer Intervalar
@@ -0,0 +1,3 @@
#Properties file for flintstones.domain.numeric.integer
domain.label = Entero
domain.label.integer = Entero Intervalar
@@ -0,0 +1,7 @@
source.. = src/
output.. = bin/
bin.includes = META-INF/,\
.,\
plugin.xml,\
OSGI-INF/,\
OSGI-INF/l10n/bundle.properties
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xml>
<?eclipse version="3.4"?>
<plugin>
<extension
point="flintstones.entity.domain">
<domain
category="flintstones.domain.numeric.category"
implementation="flintstones.domain.numeric.integer.NumericIntegerDomain"
label="%domain.label"
uid="flintstones.domain.numeric.integer">
</domain>
</extension>
<extension
point="flintstones.entity.domain">
<domain
category="flintstones.domain.numeric.intervalar.category"
implementation="flintstones.domain.numeric.integer.NumericIntegerDomain"
label="%domain.label.integer"
uid="flintstones.domain.numeric.integer.intervalar">
</domain>
</extension>
</plugin>
@@ -0,0 +1,45 @@
package flintstones.domain.numeric.integer;
import javax.inject.Inject;
import org.eclipse.e4.core.services.nls.Translation;
import flintstones.domain.numeric.NumericDomain;
import flintstones.domain.numeric.integer.messages.Messages;
import flintstones.helper.data.wxml.WNode;
/**
* The Class NumericIntegerDomain.
*/
public class NumericIntegerDomain extends NumericDomain {
@Inject
@Translation
private Messages messages;
/** The Constant ID. */
public static final String ID = "flintstones.domain.numeric.integer"; //$NON-NLS-1$
/**
* Instantiates a new numeric integer domain.
*/
public NumericIntegerDomain() {
super();
}
/* (non-Javadoc)
*
* @see flintstones.domain.Domain#read(flintstones.helper.wxml.WNode) */
@Override
public void read(WNode node) {
this.inRange = Boolean.parseBoolean(node.getAttribute(NumericDomain.Fields.inRange));
if (!this.inRange) {
this.min = 0;
this.max = 0;
} else {
this.min = node.getAttributeInt(NumericDomain.Fields.min);
this.max = node.getAttributeInt(NumericDomain.Fields.max);
}
}
}
@@ -0,0 +1,13 @@
package flintstones.domain.numeric.integer.messages;
//This file has been auto-generated
import org.eclipse.e4.core.services.nls.Message;
@Message
@SuppressWarnings("javadoc")
public class Messages {
public String category;
public String name_intervalar;
public String name;
}
@@ -0,0 +1,3 @@
category=Numeric integer
name_intervalar=Numeric integer intervalar
name=Numeric integer
@@ -0,0 +1,3 @@
category=Numérico entero
name_intervalar=Numérico entero intervalar
name=Numérico entero