Opening the project browser in EA - enterprise-architect

From addin Session.Repository.ShowBrowser is used to show the project browser but we have to provide tab name and url as argument for this.So what are the values for those arguments we can provide such that if project browser is not openend we want to open it from adddin

Repository.ShowBrowser is used to call an internal browser and not the project browser .Its undocumented seems .
Please refer in Sparx Community for more details .

As #dahsra said, this is not possible via API. You could mimic the key press Alt-0 to enforce showing the project browser.

Related

Opening Eclipse linked content from "Help Content" in plugin

I'm trying to develop an eclipse plugin (GUI) which will include a button that I want linked to some page in the Eclipse Help Content, according to some parameters chosen in the plugin (gui), so when I press it, the content opens.
I saw that help content are found on, and can be opened in a browser like way using their http://xx.xx.xx.xx/help/..(rest of path)/(my page).html .
my question is how can i get this xx.xx.xx.xx in the code or the whole path so I can need only to concatenate (my page). (what you see in red in pic).
I assume this is some field in a class that represents this server.
Thanks
what this port looks like
You normally use the Eclipse Help System to display help pages:
IWorkbenchHelpSystem helpSys = PlatformUI.getWorkbench().getHelpSystem();
helpSys.displayHelp("help context id");

How to search through all the ajax responses in network tab in Chrome?

How to search through all the ajax responses in network tab in Chrome?
I want to do this is because it is difficult for a JavaScript developer to get to know which information is coming from which service call, especially if you are new to the project and business logic is not clear. Also, opening each service in a network tab and searching in responses of so many service calls is difficult and time consuming.
This has now been implemented on the Network tab. Whenever a search criteria is added, Chrome will offer searching through all headers and bodies.
More from offical doc,
Open the Network panel then press Command+F (Mac) or Control+F (Windows, Linux, Chrome OS) to open the new Network Search pane.
This is similar to another question this morning to search json responses. The solution is the same, star this issue this issue. Starring is triggered via the star icon in the far left area of the blue title are just under search.
Starring issues let's the developers know what people need. The more stars something has, the more likely it is to get worked on sooner.
Currently this functionality is not provided and extensions are unable to add this type of functionality since the network panel isn't extensible in this way.
In Firefox you can save all the responses as a HAR file and then search through the file in a text editor (Chrome truncates the responses).
Inspector of Microsoft Edge browser offer such feature. Useful when you need to search through traffic made by an HTTPS web site that Fiddler cannot inspect (like Facebook web site).
There doesn't seem to be a way to do this in Chrome or Firefox. My solution has been to use Fiddler, which does support it.
Edit: I believe this was working for all resources at the time of writing, but please see comments because people say it is not/no-longer working as expected.
As of Chrome version 91, if you want to search through all resources (not just AJAX/fetched resources), then you need to open DevTools and then press Ctrl+Shift+F to open a search box. If you just type into the "filter" text input then it only searches through the URLs, rather than also searching the contents.

add functionality layer to AtTask by plug-in on Internet Explorer

I would like to add functionality to the AtTask system by "adding a layer".
What I want to know is whether this can be achieved with a plug-in for Internet Explorer.
To give a concrete example:
This extra layer would allow users to click on "Online Edit" document (which is not available right now). The linked application will open, and when you click save, the file is loaded back to AtTask.
All this happens in the background via the AtTask API, and is transparent to the user.
The question is: is it possible to add functionality to a site by somehow adding layers?
Last comment: this plug-in (or whatever needs to be installed inbto the browser) will only be visible/active when accesing the AtTask website.
Thanks in advance for your responses.
Within the confines of AtTask your best bet is to use an "External Page" create a service that handles the data in the manner you need.
The Dashboard that contains your External Page can be added as a tab via Layout Templates.
Most of the heavy lifting would have to be handled by your application. You would have to link the document(s) you wish to edit.
Some sort of referrer would be necessary to place the revised document back into AtTask. The method in which the client can do this would be determined by your preference and requirements. I am sure you can find some sort of Wiz-Bang jQuery uploader.
Depending on the level of control you have with your user base, you could make an Application URL
Windows : Registering an Application to a URI Scheme
OS X : Launching Scripts from Webpage Links
I do not know of any other way to handle this other than what Steve suggested.
Having said that a possible solution to this is to create a new application and iframe in AtTask.
At the top or wherever on the page your application could have a link for "Online Edit". Then you would use javascript to extract the task id, project id or any other needed information you need for the api to get the needed content to edit. Then save using the same api information.
I have not tried this type of method but theoretically it could work.

Open Link in other tab, but named, so that same tab is used each time

In itext you can open a link using app.launchURL. This gives an extra parameter to open it in new tab.
We want to open the url in a new tab, but each time the same tab. Just like you can do in normal a href by setting the target to a named tab.
Is this possible?
Thanks in advance! Kind Regards, Marieke
As far as I know, there's no such functionality in ISO-32000-1. The best chance at finding a way to do this, is by looking at the JavaScript specification.
Incidentally, I have a copy of the unpublished ISO spec "ECMAScript for PDF" (currently in development at the ISO meeting in Pretoria). This is what it says:
launchURL — Launches a URL in a browser window.
Parameters:
cURL — A string that specifies the URL to launch.
bNewFrame — (optional) If true, this method launches the URL in a new window of the browser application. The default is false.
I think it's safe to say that you're asking for something that is impossible. If it were possible, the spec would mention an extra parameter to define the name of the tab or window.
(This answer isn't limited to iText; what you're trying isn't possible in general.)

How to inspect Chrome plugin source code?

I would like to know how the Chrome plugin "iReader" works. I would like to know what is the magic behind the detect the web page is enable "reader".Moreover, I would like to know how it extract the content of blog post. How can I inspect it?
Most Chrome plugins are open source so you can download them from the project's homepage. Besides, you can also open the Chrome Developer Tools and switch to script tag. There should be some scripts named "chrome-extension://".
The arbitrary string behind the "chrome-extension://" is the ID of the plugin. If you're using Windows Vista and above, refer to "C:\Users\${YOU USER NAME}\AppData\Local\Google\Chrome\User Data\Default\Extensions" to find out the ID of the "iReader".