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.


Messages - virginia.cid

Pages: [1]
1
General Board / Proxy Connector
« on: May 15, 2018, 12:27:49 am »
Hello,

I have joined a class to a connector. In this union, at the connector, EA create a element named "proxy connector". I want to know how can I get this proxy connector from the connector using the EA API, or how can I get the connector linked to a connector.  In addition, how can I create a proxy connector to create this type of link to join a connector with a class.

Thanks
Virginia

2
General Board / F2 not change the name
« on: May 07, 2018, 04:21:50 pm »
Good morning,

Is there any method like EA_MenuClick or EA_OnPostNewElement to control when someone change the name of package with F2?

Thanks,
Virginia

3
General Board / Re: Quick Linker open the EA property window
« on: February 26, 2018, 10:51:26 pm »
I have tried your solution but the EA properties window continues to open. In addition, debugging the code I have checked the following:

When I create an element using Quick Linker, the onpostnewelement method is opened, where I put that EA properties window can´t be opened and my own window is opened.

public bool EA_OnPostNewElement(EA.Repository Repository, EA.EventProperties Info){
           
            EA.Element element = Repository.GetElementByID(id);

            if (null != element)
            {
                switch(element.Stereotype)
                {
                    case Constant.STEREOTYPE_ACTIVIDAD_HUMANA:
                        FormActividadHumana actHumana = new FormActividadHumana(element, Repository);
                        actHumana.ShowDialog();
                        res = true;
                        break;

             Repository.SuppressEADialogs = true;
             return res;
}

Therefore, my window opens. Afterwards, the EA properties window opens without jumping the break point in the onpostnewelement method or in EA_OnContextItemDoubleClicked, or in EA_OnPostNewConnector. So, I don´t know what is the method that launch this default property window of the EA. In addition, I suspect that the properties window of the EA is not the connector, since the data of the new created element appear in this window.

¿Any idea?

Thanks

4
General Board / Quick Linker open the EA property window
« on: February 26, 2018, 06:39:14 pm »
We have developed a plugin for EA, and we have redefined the EA_OnPostNewElement method
to open our own properties window when the user drags an item from
the toolbox. This method works perfectly.

In addition, we have modified quicklinker to make the diagramming easier. When
we use the Quick Linker opens our properties window and when closing it opens the
EA's standard property window.

We have tried to hide the EA property window by redefining the EA_OnPostNewConnector method, but it does not work. The EA properties window continues to open when I close my own window. Any ideas?

   public bool EA_OnPostNewConnector (EA.Repository repository, EA.EventProperties info)
         {
             repository.SuppressEADialogs = true;
             return true;
         }

Pages: [1]