Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - whgibbo

Pages: [1]
1
General Board / UML for the blind and  visual impaired
« on: May 03, 2013, 06:26:30 pm »
Hi,
Have been using Enterprised Architect for a while and really like it.
We have another developer in the office that is blind and we are looking for solutions so that they can read the UML diagrams.

Does anybody know if there are any tools about for this?

Many thanks

2
General Board / Template interfaces classes
« on: January 23, 2012, 10:14:58 pm »
Hi,
Some questions regarding template classes/interfaces..

I have created a template interface in Enterprise Architect and generated the code for it.. Which produced the following java..

public interface GenericDao<T> {
      public T getById(
            Connection connection,
            int id
      );
}


I now want to create a UML classes that implements this interface..
So I did the following:
  • Dragged a new class(TestDAO) onto the class diagram class
  • Then dragged the realize line from the new class(TestDAO) onto the interface(GenericDao)
  • Selected all the operations
  • Operations appeared in the new class, but return type was still T.
  • Edited the properties on the new class(TestDAO), went to properties->Templates.
  • Added a binding of T->TestDAO
  • No change to the model.
  • Generated code for new class(TestDAO), which generated
public class EEOOBActionQueueDao implements GenericDao<EEOOBActionQueue> {

      public TestDao(){

      }
      public
T getById(
            Connection connection,
            int id
      ){
            return null;
      }

[/list]

I also tried using template binding, but no joy... :(  As it didn't allow me to select the operations..




3
General Board / Round tripping with Java
« on: January 20, 2012, 07:09:23 pm »
Hi,
Was wondering if somebody could point me in the right direction..

I'm new to EA, finding it really good..  But I'm having a problem with round tripping..

  • When I generate the code from the model the first time, it all seems ok.. Except that the imports for classes from a package that I've added to the project aren't being added to the generated source.  

eg.
public class test implements command {
}


but is missing the import for command, which should be:
import com.mypackageimport.cmd.command



  • When I then import the code that was generated, the classes that were realized seem to have been added again.  :(
  • When I look at the class model and right click.  Select Advanced and then Parent..  I can see 2 instances of the same class. One with a package of <none> and the other with the cmd.
    Before importing the code from the source, I only had the one with cmd
  • Then when I generate the code again from EA, this time the class has the
[/list]

In the class model, when I drag the class  from the imported package.  It appears as cmd::command, and under the advanced, parent properties it has the package of cmd

But I can't seem to figure out how to not have the cmd on the class in the class model.
Any ideas on how to solve this ?

4
General Board / Version Control - filter XML
« on: November 30, 2011, 12:09:53 am »
Hi,
I'm new to EA, so please forgive me if this question has already been asked.

From what I can see I when I add a branch to version control, it generates an XML file.  Which is find..

The problem is when I then have to get the package... It displays every XML file under the subversion.   So is there any way to:
1) Either change the file extension e.g .XML to .EA_XML
2) Apply some exclusion filenames or folders when get the projects, to speed up the process of getting a project.


Many thanks

5
Automation Interface, Add-Ins and Tools / Automatically round tripping
« on: September 21, 2012, 01:10:10 am »
Hi,
Have been using EA for a while on and off.  But would like to start using to automatically do round tripping when I save a file in my IDE.

Firstly is this possible?
If so, what IDEs are supported and is Netbeans one of them ?

Pages: [1]