Summary Period: 2005-02-12 to 2005-05-06
[root]/src/nongnu/cashews/eclipse/composer/ui

Total Lines Of Code:
841 (2005-05-13 02:48)
| Author | Changes | Lines of Code | Lines per Change |
|---|---|---|---|
| Totals | 39 (100.0%) | 1791 (100.0%) | 45.9 |
| m4xl0 | 20 (51.3%) | 978 (54.6%) | 48.9 |
| m4rb | 16 (41.0%) | 702 (39.2%) | 43.8 |
| u1ah3 | 3 (7.7%) | 111 (6.2%) | 37.0 |
06-05-2005 Xianfeng Liu <acp04xfl@shef.ac.uk>
*/the New wizard!!!
0 lines of code changed in:
Renaming classes
38 lines of code changed in:
Xianfeng Liu <acp04xfl@shef.ac.uk>
7 lines of code changed in:
Adding ellipse to connection, adding a wizard fired when connection created.
Files Added:
ConnectionPage1.java
ConnectionWindow.java
Files modified:
ConnectionCreateCommand.java
ConnectionPart.java
ConnectionWizard.java
90 lines of code changed in:
Xianfeng Liu <acp04xfl@shef.ac.uk>
*/added package wizard pages
changed CreateNodeCommand.java
21 lines of code changed in:
Adding my wizard class and changing the cast in RDFHandler
74 lines of code changed in:
Changed
file.setContents(this.diagram.getAsStream(), true, false, monitor);
to
file.setContents(DiagramSingleton.getInstance().getDiagram().getAsStream(), true, false, monitor);
in the DiagramEditor.java file
3 lines of code changed in:
Xianfeng Liu <acp04xfl@shef.ac.uk>
AddFile:
* src/nongnu/cashews/eclipse/composer/figures/StartPointFigure.java
* src/nongnu/cashews/eclipse/composer/model/StartPointNode.java
* src/nongnu/cashews/eclipse/composer/model/StartPointNodeFactory.java
* src/nongnu/cashews/eclipse/composer/parts/StartPointNodeParts.java
* src/nongnu/cashews/eclipse/composer/tools/StartPointNodeCellEditorLocator.java
* src/nongnu/cashews/eclipse/composer/tools/StartPointNodeDirectEditManger.java
22 lines of code changed in:
Merging the "Rename" patch
1 lines of code changed in:
Updating the default extension and file name to .cws
4 lines of code changed in:
2005-03-16 Xianfeng Liu <acp04xfl@shef.ac.uk>
* src/nongnu/cashews/eclipse/composer/model/NodeFactory.java:
Comment the condition in the GetNewObject(String);
* src/nongnu/cashews/eclipse/composer/model/DiagramParser.java:
change the method to create new nodes in the StartDocument();
1 lines of code changed in:
- Adding more consistent behaviour
- Got hold of Instance of Diagram for each new file, using the singleton concept
- Fixed a but causing the same diagram object being used for new files
- Hopefully solved the requirements of having new nodes starting at max in each file opened.
- Patch emailed for more details
Files Added:
DiagramSingleton.java
Files Modified:
CreateNodeCommand.java
RenameNodeCommand.java
NodeFactory.java
NodeRegistrar.java
DiagramEditor.java
2 lines of code changed in:
I am commiting this patch to remove the warnings we have been getting. Mostly in includes replacing the depreciated methods and constants with new ones. Also parameratized all the arraylists to comply with 1.5 and remove related warnings (Patch Attached). The files modified are:
DiagramActionBarContributor.java
Diagram.java
DiagramParser.java
Node,java
PaletteFactory.java
- Ravish
73 lines of code changed in:
2005-03-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
* src/nongnu/cashews/eclipse/composer/MyEllipseEditorPlugin.java,
* src/nongnu/cashews/eclipse/composer/Plugin.java,
* src/nongnu/cashews/eclipse/composer/actions/DiagramActionBarContributor.java,
* src/nongnu/cashews/eclipse/composer/commands/ConnectionCreateCommand.java,
* src/nongnu/cashews/eclipse/composer/commands/CreateNodeCommand.java,
* src/nongnu/cashews/eclipse/composer/commands/DeleteNodeCommand.java,
* src/nongnu/cashews/eclipse/composer/commands/MoveNodeCommand.java,
* src/nongnu/cashews/eclipse/composer/commands/RenameNodeCommand.java,
* src/nongnu/cashews/eclipse/composer/dnd/DiagramTemplateTransferDropTargetListener.java,
* src/nongnu/cashews/eclipse/composer/figures/EllipseNodeFigure.java,
* src/nongnu/cashews/eclipse/composer/figures/RectangleNodeFigure.java,
* src/nongnu/cashews/eclipse/composer/model/Connection.java,
* src/nongnu/cashews/eclipse/composer/model/Diagram.java,
* src/nongnu/cashews/eclipse/composer/model/DiagramParser.java,
* src/nongnu/cashews/eclipse/composer/model/Element.java,
* src/nongnu/cashews/eclipse/composer/model/ElementFactory.java,
* src/nongnu/cashews/eclipse/composer/model/EllipseNode.java,
* src/nongnu/cashews/eclipse/composer/model/EllipseNodeFactory.java,
* src/nongnu/cashews/eclipse/composer/model/Node.java,
* src/nongnu/cashews/eclipse/composer/model/NodeFactory.java,
* src/nongnu/cashews/eclipse/composer/model/NodeRegistrar.java,
* src/nongnu/cashews/eclipse/composer/model/RectangleNode.java,
* src/nongnu/cashews/eclipse/composer/model/RectangleNodeFactory.java,
* src/nongnu/cashews/eclipse/composer/model/XMLizable.java,
* src/nongnu/cashews/eclipse/composer/parts/ConnectionPart.java,
* src/nongnu/cashews/eclipse/composer/parts/DiagramPart.java,
* src/nongnu/cashews/eclipse/composer/parts/DiagramTreeEditPart.java,
* src/nongnu/cashews/eclipse/composer/parts/EllipseNodePart.java,
* src/nongnu/cashews/eclipse/composer/parts/NodePart.java,
* src/nongnu/cashews/eclipse/composer/parts/NodeTreeEditPart.java,
* src/nongnu/cashews/eclipse/composer/parts/PartFactory.java,
* src/nongnu/cashews/eclipse/composer/parts/RectangleNodePart.java,
* src/nongnu/cashews/eclipse/composer/parts/TreePartFactory.java,
* src/nongnu/cashews/eclipse/composer/policies/DiagramLayoutEditPolicy.java,
* src/nongnu/cashews/eclipse/composer/policies/NodeDirectEditPolicy.java,
* src/nongnu/cashews/eclipse/composer/policies/NodeEditPolicy.java,
* src/nongnu/cashews/eclipse/composer/policies/NodeGraphicalNodeEditPolicy.java,
* src/nongnu/cashews/eclipse/composer/tools/EllipseNodeCellEditorLocator.java,
* src/nongnu/cashews/eclipse/composer/tools/EllipseNodeDirectEditManager.java,
* src/nongnu/cashews/eclipse/composer/tools/RectangleNodeCellEditorLocator.java,
* src/nongnu/cashews/eclipse/composer/tools/RectangleNodeDirectEditManager.java,
* src/nongnu/cashews/eclipse/composer/ui/DiagramCreationWizard.java,
* src/nongnu/cashews/eclipse/composer/ui/DiagramEditor.java,
* src/nongnu/cashews/eclipse/composer/ui/PaletteFactory.java,
* src/nongnu/cashews/eclipse/composer/util/Dialogs.java:
Added Eclipse plug-in license.
111 lines of code changed in:
Applying to standard formatting to all the files on CVS (no code changed)
417 lines of code changed in:
2005-03-14 Xian Liu <acp04xfl@shef.ac.uk>
Create the factory to allot unique name for nodes!
Add new node Registrar file.
3 lines of code changed in:
Index: plugin.xml
===================================================================
RCS file: /share/darwin/darwin4/cvs/java/plugin.xml,v
retrieving revision 1.2
diff -u -r1.2 plugin.xml
--- plugin.xml 2005/02/23 14:47:47 1.2
+++ plugin.xml 2005/03/13 23:13:27
@@ -1,57 +1,44 @@
<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.0"?>
-<plugin
- id="MyEllipseEditor"
- name="MyEditor Plug-in"
- version="1.0.0"
- provider-name="Ravish"
- class="nongnu.cashews.eclipse.composer.MyEllipseEditorPlugin">
+<plugin id="nongnu.cashews.eclipse.composer"
+ name="Editor Composer"
+ version="0.0.0"
+ provider-name="X.F.Liu"
+ class="nongnu.cashews.eclipse.composer.Plugin">
<runtime>
- <library name="MyEllipseEditor.jar">
- <export name="*"/>
- </library>
+ <library name="composer.jar"/>
</runtime>
-
<requires>
- <import plugin="org.eclipse.core.runtime"/>
- <import plugin="org.eclipse.gef"/>
- <import plugin="org.eclipse.core.resources"/>
- <import plugin="org.eclipse.ui.views"/>
- <import plugin="org.eclipse.jface"/>
- <import plugin="org.eclipse.ui"/>
- <import plugin="org.eclipse.ui.workbench"/>
- <import plugin="org.eclipse.ui.cheatsheets"/>
- <import plugin="org.eclipse.ui.console"/>
- <import plugin="org.eclipse.ui.editors"/>
- <import plugin="org.eclipse.ui.externaltools"/>
- <import plugin="org.eclipse.ui.forms"/>
- <import plugin="org.eclipse.ui.ide"/>
- <import plugin="org.eclipse.ui.intro"/>
+ <import plugin="org.eclipse.core.resources"/>
+ <import plugin="org.eclipse.gef"/>
+ <import plugin="org.eclipse.ui"/>
+ <import plugin="org.eclipse.core.runtime"/>
+ <import plugin="org.eclipse.core.runtime.compatibility"/>
+ <import plugin="org.eclipse.xsd.editor"/>
</requires>
- <extension point="org.eclipse.ui.editors">
+ <extension point="org.eclipse.ui.editors">
<editor id="nongnu.cashews.eclipse.composer.editor"
- name="My Editor"
+ name="Cashews Editor"
default="true"
icon="river.gif"
- extensions="MyEditor"
+ extensions="composer"
contributorClass="nongnu.cashews.eclipse.composer.actions.DiagramActionBarContributor"
class="nongnu.cashews.eclipse.composer.ui.DiagramEditor">
</editor>
</extension>
<extension point="org.eclipse.ui.newWizards">
- <category id="myEditor" name="MyEditor"/>
+ <category id="nongnu.cashews.eclipse.composer" name="Composer"/>
<wizard id="nongnu.cashews.eclipse.composer.wizard.new.file"
- name="MyEditor Model"
+ name="Composer Model"
icon="river.gif"
- category="myEditor"
+ category="nongnu.cashews.eclipse.composer"
class="nongnu.cashews.eclipse.composer.ui.DiagramCreationWizard">
- <description>Wizard for creating a new Editor model.</description>
+ <description>Wizard for creating a new River model.</description>
<selection class="org.eclipse.core.resources.IResource">
</selection>
</wizard>
</extension>
-</plugin>
+</plugin>
\ No newline at end of file
Index: src/nongnu/cashews/eclipse/composer/ui/PaletteFactory.java
===================================================================
RCS file: /share/darwin/darwin4/cvs/java/src/nongnu/cashews/eclipse/composer/ui/PaletteFactory.java,v
retrieving revision 1.4
diff -u -r1.4 PaletteFactory.java
--- src/nongnu/cashews/eclipse/composer/ui/PaletteFactory.java 2005/02/24 20:13:34 1.4
+++ src/nongnu/cashews/eclipse/composer/ui/PaletteFactory.java 2005/03/13 23:13:31
@@ -5,6 +5,7 @@
import nongnu.cashews.eclipse.composer.model.EllipseNode;
import nongnu.cashews.eclipse.composer.model.RectangleNode;
+import nongnu.cashews.eclipse.composer.model.RectangleNodeFactory;
import org.eclipse.gef.palette.CombinedTemplateCreationEntry;
import org.eclipse.gef.palette.ConnectionCreationToolEntry;
@@ -50,7 +51,7 @@
"Node",
"Create a new RectangleNode",
RectangleNode.class,
- new SimpleFactory(RectangleNode.class),
+ new RectangleNodeFactory(RectangleNode.class),
null, /* small icon */
null /* large icon */
);
Index: .settings/org.eclipse.jdt.core.prefs
2 lines of code changed in:
*** empty log message ***
459 lines of code changed in:
New code(using new structure)
0 lines of code changed in:
The lastest version of the composer wiht two different kinds of nodes and connections with arrow!
12 lines of code changed in:
(1 more)
Generated by StatCVS @VERSION@