You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by ge...@apache.org on 2021/03/06 20:21:30 UTC

[netbeans-website] branch master updated: Removing screenshots: better none than wrong screenshots

This is an automated email from the ASF dual-hosted git repository.

geertjan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 83d648b  Removing screenshots: better none than wrong screenshots
83d648b is described below

commit 83d648be559570bb8876ca8e05e517318dffbb37
Author: Geertjan Wielenga <ge...@apache.org>
AuthorDate: Sat Mar 6 21:21:24 2021 +0100

    Removing screenshots: better none than wrong screenshots
---
 .../src/content/tutorials/nbm-xmleditor.asciidoc   | 42 +++-------------------
 1 file changed, 5 insertions(+), 37 deletions(-)

diff --git a/netbeans.apache.org/src/content/tutorials/nbm-xmleditor.asciidoc b/netbeans.apache.org/src/content/tutorials/nbm-xmleditor.asciidoc
index af58322..bcec9f0 100644
--- a/netbeans.apache.org/src/content/tutorials/nbm-xmleditor.asciidoc
+++ b/netbeans.apache.org/src/content/tutorials/nbm-xmleditor.asciidoc
@@ -76,10 +76,6 @@ You will need to subclass several classes that belong to the NetBeans APIs. Each
 [start=1]
 1. In the Projects window, right-click the Libraries node and choose Add Module Dependency:
 
-
-image::images/add-dep.png[]
-
-
 [start=2]
 1. Search for each of the following APIs in the Add Module Dependency dialog, select the API, and then click OK to confirm it:
 
@@ -89,54 +85,27 @@ image::images/add-dep.png[]
 *  ``Utilities API`` 
 *  ``Window System API`` 
 
-In the Projects window, you should see the following list of dependencies:
-
-
-image::images/add-dep-1.png[]
-
+In the Projects window, you should see the above included in the list of dependencies.
 
 == Coding the Module
 
 In this section, you use the New Action wizard to create a new Java class, which is annotated such that the user will be able to invoke it after right-clicking within the XML Editor.
 
-
 [start=1]
-1. Right-click the project node and choose New > Other. Under Categories, select Module Development. Under Projects, select Action.
-
-
-image::images/new-action-1.png[]
-
-Click Next.
-
+1. Right-click the project node and choose New > Other. Under Categories, select Module Development. Under Projects, select Action. Click Next.
 
 [start=2]
-1. In the Action Type panel, click Conditionally Enabled. Select  `` link:http://bits.netbeans.org/dev/javadoc/org-openide-text/org/openide/cookies/EditorCookie.html[EditorCookie]`` . Because of this selection, the Action will be enabled when an EditorCookie is available in the Lookup. That will be the case whenever a document is open in the Source Editor. You should now see the following:
-
-
-image::images/new-action-2.png[]
-
-Click Next.
-
+1. In the Action Type panel, click Conditionally Enabled. Select  `` link:http://bits.netbeans.org/dev/javadoc/org-openide-text/org/openide/cookies/EditorCookie.html[EditorCookie]`` . Because of this selection, the Action will be enabled when an EditorCookie is available in the Lookup. That will be the case whenever a document is open in the Source Editor. Click Next.
 
 [start=3]
 1. In the GUI Registration panel, select the Edit category in the Category drop-down list. The Category drop-down list controls where an Action is shown in the Keyboard Shortcuts editor in the IDE.
 
-Next, select Editor Context Menu Item and then select the  ``text/xml``  MIME type, as shown below:
-
-
-image::images/new-action-3.png[]
+Next, select Editor Context Menu Item and then select the  ``text/xml``  MIME type.
 
 Notice that you can set the position of the menu item and that you can separate the menu item from the item before it and after it. Click Next.
 
-
 [start=4]
-1. In the Name and Location panel, type  ``ShowXMLStructureActionListener``  as the Class Name and type  ``Show XML Structure``  as the Display Name. You should now see the following:
-
-
-image::images/new-action-4.png[]
-
-Menu items provided by contextual menus do not display icons. Therefore, click Finish and  ``ShowXMLStructureActionListener.java``  is added to the package. The content of the file is as follows:
-
+1. In the Name and Location panel, type  ``ShowXMLStructureActionListener``  as the Class Name and type  ``Show XML Structure``  as the Display Name. Menu items provided by contextual menus do not display icons. Therefore, click Finish and  ``ShowXMLStructureActionListener.java``  is added to the package. The content of the file is as follows:
 
 [source,java]
 ----
@@ -268,7 +237,6 @@ The module is built and installed in the target IDE or Platform. The target IDE
 1. 
 Choose the menu item and notice that the tag handler prints all the elements and attributes to the Output window (Ctrl-4), which is at at the bottom of the IDE, as shown below:
 
-
 image::images/result.png[]
 
 link:http://netbeans.apache.org/community/mailing-lists.html[Send Us Your Feedback]


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists