From a87e42d3a62d4494dd09f022345f25bd1818c6d1 Mon Sep 17 00:00:00 2001
From: nhauge
Date: Mon, 20 Feb 2012 21:56:33 +0000
Subject: This commit was manufactured by cvs2svn to create tag
'v201202200001'.
---
.../.cvsignore | 1 -
.../.project | 22 -----
.../META-INF/MANIFEST.MF | 7 --
.../about.html | 34 -------
.../about.ini | 33 -------
.../about.mappings | 6 --
.../about.properties | 13 ---
.../build.properties | 8 --
.../component.xml | 7 --
.../icons/WTP_icon_x32_v2.png | Bin 5616 -> 0 bytes
.../plugin.properties | 2 -
.../.project | 22 -----
.../META-INF/MANIFEST.MF | 8 --
.../about.html | 34 -------
.../build.properties | 9 --
.../html/getting_started.html | 67 -------------
.../html/reference_project_page.html | 69 -------------
.../html/task_20_support.html | 48 ---------
.../html/task_configuring_editor.html | 66 -------------
.../html/task_manage_entities.html | 107 ---------------------
.../html/task_open_diagram.html | 62 ------------
.../html/task_open_miniature_view.html | 43 ---------
.../html/task_refactor_entities.html | 105 --------------------
.../html/task_remove_entities.html | 57 -----------
.../html/toc.html | 13 ---
.../img/jpa_diagram_delete_attribute.gif | Bin 5379 -> 0 bytes
.../img/jpa_diagram_editor.gif | Bin 11668 -> 0 bytes
.../img/jpa_diagram_entity_operations.gif | Bin 7342 -> 0 bytes
.../img/jpa_miniature_view.gif | Bin 6940 -> 0 bytes
.../img/jpaeditor_entity.gif | Bin 1775 -> 0 bytes
.../plugin.properties | 13 ---
.../plugin.xml | 16 ---
.../toc.xml | 31 ------
33 files changed, 903 deletions(-)
delete mode 100644 jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.branding/.cvsignore
delete mode 100644 jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.branding/.project
delete mode 100644 jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.branding/META-INF/MANIFEST.MF
delete mode 100644 jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.branding/about.html
delete mode 100644 jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.branding/about.ini
delete mode 100644 jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.branding/about.mappings
delete mode 100644 jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.branding/about.properties
delete mode 100644 jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.branding/build.properties
delete mode 100644 jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.branding/component.xml
delete mode 100644 jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.branding/icons/WTP_icon_x32_v2.png
delete mode 100644 jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.branding/plugin.properties
delete mode 100644 jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.doc.user/.project
delete mode 100644 jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.doc.user/META-INF/MANIFEST.MF
delete mode 100644 jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.doc.user/about.html
delete mode 100644 jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.doc.user/build.properties
delete mode 100644 jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.doc.user/html/getting_started.html
delete mode 100644 jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.doc.user/html/reference_project_page.html
delete mode 100644 jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.doc.user/html/task_20_support.html
delete mode 100644 jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.doc.user/html/task_configuring_editor.html
delete mode 100644 jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.doc.user/html/task_manage_entities.html
delete mode 100644 jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.doc.user/html/task_open_diagram.html
delete mode 100644 jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.doc.user/html/task_open_miniature_view.html
delete mode 100644 jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.doc.user/html/task_refactor_entities.html
delete mode 100644 jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.doc.user/html/task_remove_entities.html
delete mode 100644 jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.doc.user/html/toc.html
delete mode 100644 jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.doc.user/img/jpa_diagram_delete_attribute.gif
delete mode 100644 jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.doc.user/img/jpa_diagram_editor.gif
delete mode 100644 jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.doc.user/img/jpa_diagram_entity_operations.gif
delete mode 100644 jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.doc.user/img/jpa_miniature_view.gif
delete mode 100644 jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.doc.user/img/jpaeditor_entity.gif
delete mode 100644 jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.doc.user/plugin.properties
delete mode 100644 jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.doc.user/plugin.xml
delete mode 100644 jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.doc.user/toc.xml
(limited to 'jpa_diagram_editor/plugins')
diff --git a/jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.branding/.cvsignore b/jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.branding/.cvsignore
deleted file mode 100644
index c14487ceac..0000000000
--- a/jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.branding/.cvsignore
+++ /dev/null
@@ -1 +0,0 @@
-build.xml
diff --git a/jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.branding/.project b/jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.branding/.project
deleted file mode 100644
index f8a805f398..0000000000
--- a/jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.branding/.project
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
June 06, 2007
- -The Eclipse Foundation makes available all content in this plug-in -("Content"). Unless otherwise indicated below, the Content is provided to you -under the terms and conditions of the Eclipse Public License Version 1.0 -("EPL"). A copy of the EPL is available at -http://www.eclipse.org/org/documents/epl-v10.php. -For purposes of the EPL, "Program" will mean the Content.
- -If you did not receive this Content directly from the Eclipse Foundation, the -Content is being redistributed by another party ("Redistributor") and different -terms and conditions may apply to your use of any object code in the Content. -Check the Redistributor's license that was provided with the Content. If no such -license exists, contact the Redistributor. Unless otherwise indicated below, the -terms and conditions of the EPL still apply to any source code in the Content -and such source code may be obtained at -http://www.eclipse.org/.
- - - \ No newline at end of file diff --git a/jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.branding/about.ini b/jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.branding/about.ini deleted file mode 100644 index b820d7f4ae..0000000000 --- a/jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.branding/about.ini +++ /dev/null @@ -1,33 +0,0 @@ -# about.ini -# contains information about a feature -# java.io.Properties file (ISO 8859-1 with "\" escapes) -# "%key" are externalized strings defined in about.properties -# This file does not need to be translated. - -# Property "aboutText" contains blurb for "About" dialog (translated) -aboutText=%blurb - -# Property "windowImage" contains path to window icon (16x16) -# needed for primary features only - -# Property "featureImage" contains path to feature image (32x32) -featureImage=icons/WTP_icon_x32_v2.png - -# Property "aboutImage" contains path to product image (500x330 or 115x164) -# needed for primary features only - -# Property "appName" contains name of the application (translated) -# needed for primary features only - -# Property "welcomePage" contains path to welcome page (special XML-based format) -# optional - -# Property "welcomePerspective" contains the id of the perspective in which the -# welcome page is to be opened. -# optional - -# Property "tipsAndTricksHref" contains the Help topic href to a tips and tricks page -# optional -tipsAndTricksHref=/org.eclipse.jpt.doc.user/tips_and_tricks.htm - - diff --git a/jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.branding/about.mappings b/jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.branding/about.mappings deleted file mode 100644 index bddaab4310..0000000000 --- a/jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.branding/about.mappings +++ /dev/null @@ -1,6 +0,0 @@ -# about.mappings -# contains fill-ins for about.properties -# java.io.Properties file (ISO 8859-1 with "\" escapes) -# This file does not need to be translated. - -0=@build@ \ No newline at end of file diff --git a/jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.branding/about.properties b/jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.branding/about.properties deleted file mode 100644 index 0e4294d3f6..0000000000 --- a/jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.branding/about.properties +++ /dev/null @@ -1,13 +0,0 @@ -# about.properties -# contains externalized strings for about.ini -# java.io.Properties file (ISO 8859-1 with "\" escapes) -# fill-ins are supplied by about.mappings -# This file should be translated. - -blurb=Dali Java Persistence Tools - JPA Diagram Editor\n\ -\n\ -Version: {featureVersion}\n\ -Build id: {0}\n\ -\n\ -(c) Copyright Eclipse contributors and others 2011. All rights reserved.\n\ -Visit http://www.eclipse.org/webtools diff --git a/jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.branding/build.properties b/jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.branding/build.properties deleted file mode 100644 index fbf9849d0a..0000000000 --- a/jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.branding/build.properties +++ /dev/null @@ -1,8 +0,0 @@ -bin.includes = META-INF/,\ - about.ini,\ - about.html,\ - about.mappings,\ - about.properties,\ - icons/,\ - plugin.properties,\ - component.xml diff --git a/jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.branding/component.xml b/jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.branding/component.xml deleted file mode 100644 index eec5142f03..0000000000 --- a/jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.branding/component.xml +++ /dev/null @@ -1,7 +0,0 @@ - -June, 2009
- -The Eclipse Foundation makes available all content in this plug-in -("Content"). Unless otherwise indicated below, the Content is provided to you -under the terms and conditions of the Eclipse Public License Version 1.0 -("EPL"). A copy of the EPL is available at -http://www.eclipse.org/org/documents/epl-v10.php. -For purposes of the EPL, "Program" will mean the Content.
- -If you did not receive this Content directly from the Eclipse Foundation, the -Content is being redistributed by another party ("Redistributor") and different -terms and conditions may apply to your use of any object code in the Content. -Check the Redistributor's license that was provided with the Content. If no such -license exists, contact the Redistributor. Unless otherwise indicated below, the -terms and conditions of the EPL still apply to any source code in the Content -and such source code may be obtained at -http://www.eclipse.org/.
- - - diff --git a/jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.doc.user/build.properties b/jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.doc.user/build.properties deleted file mode 100644 index 64f61190a1..0000000000 --- a/jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.doc.user/build.properties +++ /dev/null @@ -1,9 +0,0 @@ -bin.includes = .,\ - META-INF/,\ - img/,\ - about.html,\ - plugin.properties,\ - plugin.xml,\ - html/,\ - *.xml -generateSourceBundle=false diff --git a/jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.doc.user/html/getting_started.html b/jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.doc.user/html/getting_started.html deleted file mode 100644 index 78b9f045d3..0000000000 --- a/jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.doc.user/html/getting_started.html +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - - -The Eclipse IDE provides a JPA diagram editor tool that allows - you to create, edit, and display the application data model (entities - and their relationships) in a graphical environment.
-You can use only one JPA diagram per project, and you cannot - visualize entities from different projects in one JPA diagram.
-- Example: -
-The following JPA diagram represents the data model of - employees participating in various projects, that is, two entities - with a bidirectional many-to-many relationship:
-- -
-The JPA diagram editor comprises the following general - features:
-Ability to create entities and define relationships - between them.
Ability to import existing entities together with - their relationships.
Full synchronization with the underlying - application code, that is, whenever you apply a change to any of - the objects on the diagram, the corresponding application code - updates automatically, and the opposite.
- Error and warning markers with informative quick info text. You - can view details on the marked errors and warnings in the Problems - view. -
- Integration with the JPA Details view and the Miniature - View. -
This table lists the properties available in the JPA Diagram Editor settings page.
-- The JPA diagram editor supports the new style One-to-Many - unidirectional relationship. It means that in JPA 2.0 projects - the corresponding relationship attribute will be created with - additional - @JoinColumns(s) - annotation, so that the corresponding DB schema will be created - without additional join table. -
-- Note: -
-- This behavior is optional. You may choose from the editor - preference page or project property page to create this - relationship (in JPA 2.0 projects) compliant with JPA 1.0 - specification, i.e. - without the additional - @JoinColumns(s) - annotation. -
-Configure the global default settings of the JPA - diagram editor
-- Select General -> Editors -> JPA Diagram Editor in the - properties tree. -
- Specify the JPA diagram editor settings. To restore the global - predefined values, choose Restore Defaults. -
- Choose Apply, then choose OK. -
Configure the JPA diagram editor per project
-- In the context menu of the project in the Project - Explorer, choose Properties. -
- Select JPA -> JPA Diagram Editor . -
- Specify the JPA diagram editor settings. To restore the global - default settings, choose Restore Defaults. -
- Choose Apply, then choose OK. -
You can perform the following operations on a - particular entity graphical model:
-Rename entities
-- In terms of source code, this operation changes the - name - attribute of the - @Entity - annotation only. -
-Add, rename, or remove attributes
-- Note: -
-- The Eclipse IDE automatically generates getter and setter - methods for new attributes. The default data type for new - attributes is - java.lang.String - . -
-In terms of source code, renaming attributes changes the - field names of entities, together with the fields' getter and - setter methods.
-Removing attributes removes them from the data model also.
-Collapse or expand entities or attribute groups
Save or discard your changes
Save or discard your changes and remove the entity - from the diagram without removing it from the application data - model
Remove the entity from the diagram and delete it - from the application data model
To perform the actions described above, follow the steps:
-Position the mouse cursor over the entity you want - to manage.
-A button bar appears by the entity.
-- -
-Choose the relevant pushbutton. Each button has an - informative tooltip that describes the relevant operation.
- To rename an entity or an attribute, double-click the title of an - entity or the attribute, change the name, and choose - ENTER - . -
- To remove an attribute, click the attribute and choose - DELETE - or choose Delete in the context menu. -
-- You can also remove an attribute by positioning the mouse cursor - over the attribute and choosing the Delete Attribute - pushbutton. -
-- -
- -- In the Project Explorer, select the project that you are - using or want to use for your entities. -
-- In the context menu, choose - JPA Tools -&grt; Open Diagram - . -
-- In the Entities list of the Palette, choose (Entity), then click the diagram area. -
-The Eclipse IDE creates the new entity with a predefined name - and a primary key.
- To display a single entity, copy the entity using drag and drop - from the Project Explorer to the JPA diagram. -
-- To display all entities, click the JPA diagram with the secondary - mouse button and choose Show All Entities, or copy the JPA - Content node from the project in the Project Explorer to - the JPA diagram, using drag and drop. -
-Click the JPA diagram with the secondary mouse - button.
- Choose Open Miniature View or Open JPA Details View, - respectively. -
- To save the diagram as an image, choose Save as Image. -
- -
-- Caution: -
-- If you rename or move an entity using a different approach (for - example, via the Project Explorer), the entity disappears - from the JPA diagram. -
-When you refactor an attribute type, any existing - business logic within the attribute's access methods is deleted.
-Using the JPA diagram editor, you can perform the following - refactoring operations:
-- Rename the entity class - in the context menu of the entity name, - choose Refactor Entity Class -> Rename - , then complete the wizard. -
-- Move the entity to another source package - in the context menu - of the entity name, choose Refactor Entity - Class -> Move - , then complete the wizard. -
-- Refactor an attribute type - in the context menu of an attribute, - choose Refactor Attribute Type, change the type, and - choose OK. -
-To view and edit the source code of a particular - entity, double-click the title of the corresponding entity block on - the diagram.
-The Eclipse IDE opens the entity class in the standard source - code editor.
-When you apply changes to the source code, they are - automatically synchronized with the diagram.
- Note: -
-This operation removes the entities from the JPA diagram - only, that is, they are not removed from the underlying application - data model.
-Click the JPA diagram with the secondary mouse - button.
-- To save any unsaved changes to the application data model, and - remove all entities from the diagram, choose Remove - All Entities from Diagram -> ...and Save Changes - -
-- To remove all entities from the diagram without saving any - unsaved changes to the data model, choose Remove - All Entities from Diagram -> ...and Discard Changes - . -
-- In the Relations list of the Palette, choose a - relationship type. -
-- Click the source entity of the relationship with the primary - mouse button or choose - ESCAPE - to cancel. -
-- Click the target entity of the relationship with the primary - mouse button or choose - ESCAPE - to cancel. -
-The Eclipse IDE creates and visualizes the relationship, as - well as the relevant relationship attributes of the entities, - depending on the type of relation.
- To remove a particular relationship, select the relation on the - JPA diagram and choose - DELETE - , or choose Delete in the context menu. -
-Removing a relationship via the JPA diagram also removes - it from the application data model and deletes the relationship - attributes of the two related entities.
-