Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
NeqModPlus
de.hft-stuttgart.cityunits
Commits
944259f5
Commit
944259f5
authored
Jan 18, 2021
by
Kai-Holger Brassel
Browse files
Add generated (and tweaked) edit plug-in.
parent
0bb3017c
Pipeline
#1851
passed with stages
in 3 minutes and 46 seconds
Changes
12
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
de.hftstuttgart.cityunits.feature/feature.xml
View file @
944259f5
...
...
@@ -56,4 +56,11 @@ Certain units relevant to City simulations are also added.
version=
"0.0.0"
unpack=
"false"
/>
<plugin
id=
"de.hftstuttgart.cityunits.model.edit"
download-size=
"0"
install-size=
"0"
version=
"0.0.0"
unpack=
"false"
/>
</feature>
de.hftstuttgart.cityunits.model.edit/.classpath
0 → 100644
View file @
944259f5
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry
kind=
"src"
path=
"src"
/>
<classpathentry
kind=
"con"
path=
"org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-15"
/>
<classpathentry
kind=
"con"
path=
"org.eclipse.pde.core.requiredPlugins"
/>
<classpathentry
kind=
"output"
path=
"bin"
/>
</classpath>
de.hftstuttgart.cityunits.model.edit/.project
0 → 100644
View file @
944259f5
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>
de.hftstuttgart.cityunits.model.edit
</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>
</buildSpec>
<natures>
<nature>
org.eclipse.jdt.core.javanature
</nature>
<nature>
org.eclipse.pde.PluginNature
</nature>
</natures>
</projectDescription>
de.hftstuttgart.cityunits.model.edit/META-INF/MANIFEST.MF
0 → 100644
View file @
944259f5
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: de.hftstuttgart.cityunits.model.edit;singleton:=true
Automatic-Module-Name: de.hftstuttgart.cityunits.model.edit
Bundle-Version: 1.0.0
Bundle-ClassPath: .
Bundle-Activator: de.hftstuttgart.cityunits.model.quantities.provider.QuantitiesEditPlugin$Implementation
Bundle-Vendor: %providerName
Bundle-Localization: plugin
Export-Package: de.hftstuttgart.cityunits.model.quantities.provider
Require-Bundle: org.eclipse.core.runtime,
de.hftstuttgart.cityunits.model;visibility:=reexport,
org.eclipse.emf.edit;visibility:=reexport
Bundle-ActivationPolicy: lazy
de.hftstuttgart.cityunits.model.edit/build.properties
0 → 100644
View file @
944259f5
#
bin.includes
=
.,
\
META-INF/,
\
plugin.xml,
\
plugin.properties
jars.compile.order
=
.
source..
=
src/
output..
=
bin/
de.hftstuttgart.cityunits.model.edit/plugin.properties
0 → 100644
View file @
944259f5
#
pluginName
=
City Units Edit Support
providerName
=
HfT Stuttgart
_UI_CreateChild_text
=
{0}
_UI_CreateChild_text2
=
{1} {0}
_UI_CreateChild_text3
=
{1}
_UI_CreateChild_tooltip
=
Create New {0} Under {1} Feature
_UI_CreateChild_description
=
Create a new child of type {0} for the {1} feature of the selected {2}.
_UI_CreateSibling_description
=
Create a new sibling of type {0} for the selected {2}, under the {1} feature of their parent.
_UI_PropertyDescriptor_description
=
The {0} of the {1}
_UI_Unknown_type
=
Object
_UI_Unknown_datatype
=
Value
_UI_Unknown_feature
=
Unspecified
de.hftstuttgart.cityunits.model.edit/plugin.xml
0 → 100644
View file @
944259f5
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<!--
-->
<plugin>
</plugin>
de.hftstuttgart.cityunits.model.edit/pom.xml
0 → 100644
View file @
944259f5
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<modelVersion>
4.0.0
</modelVersion>
<artifactId>
de.hftstuttgart.cityunits.model.edit
</artifactId>
<packaging>
eclipse-plugin
</packaging>
<version>
1.0.0
</version>
<name>
City Units Edit
</name>
<description>
Project generated from ecore model.
</description>
<parent>
<groupId>
de.hftstuttgart
</groupId>
<artifactId>
de.hftstuttgart.cityunits
</artifactId>
<version>
1.0.0
</version>
</parent>
</project>
\ No newline at end of file
de.hftstuttgart.cityunits.model.edit/src/de/hftstuttgart/cityunits/model/quantities/provider/QuantitiesEditPlugin.java
0 → 100644
View file @
944259f5
/**
*/
package
de.hftstuttgart.cityunits.model.quantities.provider
;
import
org.eclipse.emf.common.EMFPlugin
;
import
org.eclipse.emf.common.util.ResourceLocator
;
/**
* This is the central singleton for the Quantities edit plugin.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public
final
class
QuantitiesEditPlugin
extends
EMFPlugin
{
/**
* Keep track of the singleton.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public
static
final
QuantitiesEditPlugin
INSTANCE
=
new
QuantitiesEditPlugin
();
/**
* Keep track of the singleton.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private
static
Implementation
plugin
;
/**
* Create the instance.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public
QuantitiesEditPlugin
()
{
super
(
new
ResourceLocator
[]
{
});
}
/**
* Returns the singleton instance of the Eclipse plugin.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the singleton instance.
* @generated
*/
@Override
public
ResourceLocator
getPluginResourceLocator
()
{
return
plugin
;
}
/**
* Returns the singleton instance of the Eclipse plugin.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the singleton instance.
* @generated
*/
public
static
Implementation
getPlugin
()
{
return
plugin
;
}
/**
* The actual implementation of the Eclipse <b>Plugin</b>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public
static
class
Implementation
extends
EclipsePlugin
{
/**
* Creates an instance.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public
Implementation
()
{
super
();
// Remember the static instance.
//
plugin
=
this
;
}
}
}
de.hftstuttgart.cityunits.model/model/Quantities.ecore
View file @
944259f5
<?xml version="1.0" encoding="UTF-8"?>
<ecore:EPackage
xmi:version=
"2.0"
xmlns:xmi=
"http://www.omg.org/XMI"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns:ecore=
"http://www.eclipse.org/emf/2002/Ecore"
name=
"quantities"
nsURI=
"https://www.hftstuttgart.de/quantities"
nsPrefix=
"quant"
>
xmlns:ecore=
"http://www.eclipse.org/emf/2002/Ecore"
name=
"quantities"
nsURI=
"https://www.hftstuttgart.de/quantities"
nsPrefix=
"quant"
>
<eClassifiers
xsi:type=
"ecore:EDataType"
name=
"QuantityDouble"
instanceClassName=
"de.hftstuttgart.cityunits.model.NullableQuantity"
/>
<eClassifiers
xsi:type=
"ecore:EDataType"
name=
"QuantityLong"
instanceClassName=
"de.hftstuttgart.cityunits.model.NullableQuantity"
/>
</ecore:EPackage>
de.hftstuttgart.cityunits.model/model/Quantities.genmodel
View file @
944259f5
<?xml version="1.0" encoding="UTF-8"?>
<genmodel:GenModel
xmi:version=
"2.0"
xmlns:xmi=
"http://www.omg.org/XMI"
xmlns:genmodel=
"http://www.eclipse.org/emf/2002/GenModel"
modelDirectory=
"/de.hftstuttgart.cityunits.model/src"
modelPluginID=
"de.hftstuttgart.cityunits.model
"
modelName=
"Quantities"
rootExtendsClass=
"org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container"
modelDirectory=
"/de.hftstuttgart.cityunits.model/src"
creationIcons=
"false
"
modelPluginID=
"de.hftstuttgart.cityunits.model"
modelName=
"Quantities"
rootExtendsClass=
"org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container"
importerID=
"org.eclipse.emf.importer.ecore"
complianceLevel=
"15.0"
copyrightFields=
"false"
operationReflection=
"true"
importOrganizing=
"true"
>
<foreignModel>
Quantities.ecore
</foreignModel>
...
...
pom.xml
View file @
944259f5
...
...
@@ -89,6 +89,7 @@
<module>
de.hftstuttgart.cityunits.target
</module>
<module>
de.hftstuttgart.cityunits.feature
</module>
<module>
de.hftstuttgart.cityunits.model
</module>
<module>
de.hftstuttgart.cityunits.model.edit
</module>
<module>
de.hftstuttgart.cityunits.ui.renderer
</module>
<module>
de.hftstuttgart.cityunits.p2site
</module>
<module>
de.hftstuttgart.cityunits.tests
</module>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment