products/Sources/formale Sprachen/Isabelle/Tools/jEdit/dist/doc/api/org/gjt/sp/jedit/ActionSet.html |
 |
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (11.0.7) on Thu Sep 03 05:32:24 CEST 2020 -->
<title>ActionSet (jEdit API Documentation)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2020-09-03">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
<script type="text/javascript" src="../../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../jquery/jquery-3.3.1.js"></script>
<script type="text/javascript" src="../../../../jquery/jquery-migrate-3.0.1.js"></script>
<script type="text/javascript" src="../../../../jquery/jquery-ui.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="ActionSet (jEdit API Documentation)";
}
}
catch(err) {
}
//-->
var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var pathtoroot = "../../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/ActionSet.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-files/index-1.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses.html">All Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary: </li>
<li>Nested | </li>
<li><a href="#field.summary">Field</a> | </li>
<li><a href="#constructor.summary">Constr</a> | </li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail: </li>
<li>Field | </li>
<li><a href="#constructor.detail">Constr</a> | </li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding"> </div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<!-- ======== START OF CLASS DATA ======== -->
<main role="main">
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">org.gjt.sp.jedit</a></div>
<h2 title="Class ActionSet" class="title">Class ActionSet</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li><a href="JEditActionSet.html" title="class in org.gjt.sp.jedit">org.gjt.sp.jedit.JEditActionSet</a><<a href="EditAction.html" title="class in org.gjt.sp.jedit">EditAction</a>></li>
<li>
<ul class="inheritance">
<li>org.gjt.sp.jedit.ActionSet</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><code>java.lang.Comparable</code>, <code><a href="input/InputHandlerProvider.html" title="interface in org.gjt.sp.jedit.input">InputHandlerProvider</a></code></dd>
</dl>
<hr>
<pre>public class <span class="typeNameLabel">ActionSet</span>
extends <a href="JEditActionSet.html" title="class in org.gjt.sp.jedit">JEditActionSet</a><<a href="EditAction.html" title="class in org.gjt.sp.jedit">EditAction</a>>
implements java.lang.Comparable</pre>
<div class="block">A set of actions, either loaded from an XML file, or constructed at runtime
by a plugin.
<h3>Action sets loaded from XML files</h3>
Action sets are read from these files inside the plugin JAR:
<ul>
<li><code>actions.xml</code> - actions made available for use in jEdit views,
including the view's Plugins menu, the tool bar, etc.
<li><code>browser.actions.xml</code> - actions for the file system browser's
<b>Plugins</b> menu.</li>
</ul>
An action definition file has the following form:
<pre><?xml version="1.0"?>
<!DOCTYPE ACTIONS SYSTEM "actions.dtd">
<ACTIONS>
<ACTION NAME="some-action">
<CODE>
// BeanShell code evaluated when the action is invoked
</CODE>
</ACTION>
<ACTION NAME="some-toggle-action">
<CODE>
// BeanShell code evaluated when the action is invoked
</CODE>
<IS_SELECTED>
// BeanShell code that should evaluate to true or false
</IS_SELECTED>
</ACTION>
</ACTIONS></pre>
The following elements are valid:
<ul>
<li>
<code>ACTIONS</code> is the top-level element and refers
to the set of actions used by the plugin.
</li>
<li>
An <code>ACTION</code> contains the data for a particular action.
It has three attributes: a required <code>NAME</code>;
an optional <code>NO_REPEAT</code>, which is a flag
indicating whether the action should not be repeated with the
<b>C+ENTER</b> command; and an optional
<code>NO_RECORD</code> which is a a flag indicating whether the
action should be recorded if it is invoked while the user is recording a
macro. The two flag attributes
can have two possible values, "TRUE" or
"FALSE". In both cases, "FALSE" is the
default if the attribute is not specified.
</li>
<li>
An <code>ACTION</code> can have two child elements
within it: a required <code>CODE</code> element which
specifies the
BeanShell code that will be executed when the action is invoked,
and an optional <code>IS_SELECTED</code> element, used for
checkbox
menu items. The <code>IS_SELECTED</code> element contains
BeanShell code that returns a boolean flag that will
determine the state of the checkbox.
</li>
</ul>
Each action must have a property <code><i>name</i>.label</code> containing
the action's menu item label.
<h3>View actions</h3>
Actions defined in <code>actions.xml</code> can be added to the view's
<b>Plugins</b> menu; see <a href="EditPlugin.html" title="class in org.gjt.sp.jedit"><code>EditPlugin</code></a>.
The action code may use any standard predefined
BeanShell variable; see <a href="BeanShell.html" title="class in org.gjt.sp.jedit"><code>BeanShell</code></a>.
<h3>File system browser actions</h3>
Actions defined in <code>actions.xml</code> can be added to the file
system browser's Plugins menu; see EditPlugin .
The action code may use any standard predefined
BeanShell variable, in addition to a variable <code>browser</code> which
contains a reference to the current
<a href="browser/VFSBrowser.html" title="class in org.gjt.sp.jedit.browser"><code>VFSBrowser</code></a> instance.<p>
File system browser actions should not define
<code><IS_SELECTED></code> blocks.
<h3>Custom action sets</h3>
Call <a href="jEdit.html#addActionSet(org.gjt.sp.jedit.ActionSet)"><code>jEdit.addActionSet(ActionSet)</code></a> to add a custom action set to
jEdit's action context. You must also call JEditActionSet.initKeyBindings() for new
action sets. Don't forget to call jEdit.removeActionSet(ActionSet)
before your plugin is unloaded, too.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>jEdit 4.0pre1</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="jEdit.html#getActionContext()"><code>jEdit.getActionContext()</code></a>,
<a href="browser/VFSBrowser.html#getActionContext()"><code>VFSBrowser.getActionContext()</code></a>,
<a href="JEditActionContext.html#getActionNames()"><code>JEditActionContext.getActionNames()</code></a>,
<a href="ActionContext.html#getAction(java.lang.String)"><code>ActionContext.getAction(String)</code></a>,
<a href="jEdit.html#addActionSet(org.gjt.sp.jedit.ActionSet)"><code>jEdit.addActionSet(ActionSet)</code></a>,
<a href="jEdit.html#removeActionSet(org.gjt.sp.jedit.ActionSet)"><code>jEdit.removeActionSet(ActionSet)</code></a>,
<a href="PluginJAR.html#getActionSet()"><code>PluginJAR.getActionSet()</code></a>,
<a href="BeanShell.html" title="class in org.gjt.sp.jedit"><code>BeanShell</code></a>,
<a href="View.html" title="class in org.gjt.sp.jedit"><code>View</code></a></dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<ul class="blockList">
<li class="blockList"><a id="fields.inherited.from.class.org.gjt.sp.jedit.JEditActionSet">
<!-- -->
</a>
<h3>Fields inherited from class org.gjt.sp.jedit.<a href="JEditActionSet.html" title="class in org.gjt.sp.jedit">JEditActionSet</a></h3>
<code><a href="JEditActionSet.html#actions">actions</a>, <a href="JEditActionSet.html#loaded">loaded</a>, <a href="JEditActionSet.html#placeholder">placeholder</a>, <a href="JEditActionSet.html#uri">uri</a></code></li>
</ul>
</li>
</ul>
</section>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary">
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E()">ActionSet</a></span>()</code></th>
<td class="colLast">
<div class="block">Creates a new action set.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(java.lang.String)">ActionSet</a></span>(java.lang.String label)</code></th>
<td class="colLast">
<div class="block">Creates a new action set.</div>
</td>
</tr>
<tr class="altColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(org.gjt.sp.jedit.PluginJAR,java.lang.String%5B%5D,boolean%5B%5D,java.net.URL)">ActionSet</a></span>(<a href="PluginJAR.html" title="class in org.gjt.sp.jedit">PluginJAR</a> plugin,
java.lang.String[] cachedActionNames,
boolean[] cachedActionToggleFlags,
java.net.URL uri)</code></th>
<td class="colLast">
<div class="block">Creates a new action set.</div>
</td>
</tr>
</table>
</li>
</ul>
</section>
<!-- ========== METHOD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#addAction(org.gjt.sp.jedit.EditAction)">addAction</a></span>(<a href="EditAction.html" title="class in org.gjt.sp.jedit">EditAction</a> action)</code></th>
<td class="colLast">
<div class="block">Adds an action to the action set.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#compareTo(java.lang.Object)">compareTo</a></span>(java.lang.Object o)</code></th>
<td class="colLast"> </td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>protected <a href="EditAction.html" title="class in org.gjt.sp.jedit">EditAction</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createBeanShellAction(java.lang.String,java.lang.String,java.lang.String,boolean,boolean,boolean)">createBeanShellAction</a></span>(java.lang.String actionName,
java.lang.String code,
java.lang.String selected,
boolean noRepeat,
boolean noRecord,
boolean noRememberLast)</code></th>
<td class="colLast">
<div class="block">Creates a BeanShellAction.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="EditAction.html" title="class in org.gjt.sp.jedit">EditAction</a>[]</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getActions()">getActions</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns an array of all actions in this action set.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>protected <a href="EditAction.html" title="class in org.gjt.sp.jedit">EditAction</a>[]</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getArray(int)">getArray</a></span>(int size)</code></th>
<td class="colLast">
<div class="block">Returns an empty array E[].</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>java.lang.String[]</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getCacheableActionNames()">getCacheableActionNames</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns an array of all action names in this action set that should
be cached; namely, <code>BeanShellAction</code>s.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="input/AbstractInputHandler.html" title="class in org.gjt.sp.jedit.input">AbstractInputHandler</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getInputHandler()">getInputHandler</a></span>()</code></th>
<td class="colLast"> </td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getLabel()">getLabel</a></span>()</code></th>
<td class="colLast"> </td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="PluginJAR.html" title="class in org.gjt.sp.jedit">PluginJAR</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getPluginJAR()">getPluginJAR</a></span>()</code></th>
<td class="colLast"> </td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getProperty(java.lang.String)">getProperty</a></span>(java.lang.String name)</code></th>
<td class="colLast">
<div class="block">Returns a property for the given name.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setLabel(java.lang.String)">setLabel</a></span>(java.lang.String label)</code></th>
<td class="colLast">
<div class="block">Sets the action source label.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toString()">toString</a></span>()</code></th>
<td class="colLast"> </td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.gjt.sp.jedit.JEditActionSet">
<!-- -->
</a>
<h3>Methods inherited from class org.gjt.sp.jedit.<a href="JEditActionSet.html" title="class in org.gjt.sp.jedit">JEditActionSet</a></h3>
<code><a href="JEditActionSet.html#contains(java.lang.String)">contains</a>, <a href="JEditActionSet.html#getAction(java.lang.String)">getAction</a>, <a href="JEditActionSet.html#getActionCount()">getActionCount</a>, <a href="JEditActionSet.html#getActionNames()">getActionNames</a>, <a href="JEditActionSet.html#initKeyBindings()">initKeyBindings</a>, <a href="JEditActionSet.html#load()">load</a>, <a href="JEditActionSet.html#removeAction(java.lang.String)">removeAction</a>, <a href="JEditActionSet.html#removeAllActions()">removeAllActions</a>, <a href="JEditActionSet.html#size()">size</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a id="<init>()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ActionSet</h4>
<pre>public ActionSet()</pre>
<div class="block">Creates a new action set.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>jEdit 4.0pre1</dd>
</dl>
</li>
</ul>
<a id="<init>(org.gjt.sp.jedit.PluginJAR,java.lang.String[],boolean[],java.net.URL)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ActionSet</h4>
<pre>public ActionSet(<a href="PluginJAR.html" title="class in org.gjt.sp.jedit">PluginJAR</a> plugin,
java.lang.String[] cachedActionNames,
boolean[] cachedActionToggleFlags,
java.net.URL uri)</pre>
<div class="block">Creates a new action set.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>plugin</code> - The plugin</dd>
<dd><code>cachedActionNames</code> - The list of cached action names</dd>
<dd><code>cachedActionToggleFlags</code> - The list of cached action toggle flags</dd>
<dd><code>uri</code> - The actions.xml URI</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>jEdit 4.2pre2</dd>
</dl>
</li>
</ul>
<a id="<init>(java.lang.String)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>ActionSet</h4>
<pre>public ActionSet(@Nonnull
java.lang.String label)</pre>
<div class="block">Creates a new action set.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>label</code> - The label, shown in the shortcuts option pane</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>jEdit 4.0pre1</dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
<!-- ============ METHOD DETAIL ========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a id="addAction(org.gjt.sp.jedit.EditAction)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addAction</h4>
<pre class="methodSignature">public void addAction(<a href="EditAction.html" title="class in org.gjt.sp.jedit">EditAction</a> action)</pre>
<div class="block">Adds an action to the action set.
It exists for binary compatibility issues</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="JEditActionSet.html#addAction(E)">addAction</a></code> in class <code><a href="JEditActionSet.html" title="class in org.gjt.sp.jedit">JEditActionSet</a><<a href="EditAction.html" title="class in org.gjt.sp.jedit">EditAction</a>></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>action</code> - The action</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>jEdit 4.0pre1</dd>
</dl>
</li>
</ul>
<a id="getArray(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getArray</h4>
<pre class="methodSignature">protected <a href="EditAction.html" title="class in org.gjt.sp.jedit">EditAction</a>[] getArray(int size)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="JEditActionSet.html#getArray(int)">JEditActionSet</a></code></span></div>
<div class="block">Returns an empty array E[].
I know it is bad, if you find a method to instantiate a generic Array,
tell me</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="JEditActionSet.html#getArray(int)">getArray</a></code> in class <code><a href="JEditActionSet.html" title="class in org.gjt.sp.jedit">JEditActionSet</a><<a href="EditAction.html" title="class in org.gjt.sp.jedit">EditAction</a>></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>size</code> - the size of the array</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the empty array</dd>
</dl>
</li>
</ul>
<a id="getActions()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getActions</h4>
<pre class="methodSignature">public <a href="EditAction.html" title="class in org.gjt.sp.jedit">EditAction</a>[] getActions()</pre>
<div class="block">Returns an array of all actions in this action set.<p>
<b>Deferred loading:</b> this will load the action set if necessary.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="JEditActionSet.html#getActions()">getActions</a></code> in class <code><a href="JEditActionSet.html" title="class in org.gjt.sp.jedit">JEditActionSet</a><<a href="EditAction.html" title="class in org.gjt.sp.jedit">EditAction</a>></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an array of all actions in this action set.<p>
<b>Deferred loading:</b> this will load the action set if necessary.</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>jEdit 4.0pre1</dd>
</dl>
</li>
</ul>
<a id="getLabel()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLabel</h4>
<pre class="methodSignature">public java.lang.String getLabel()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the action source label.</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>jEdit 4.0pre1</dd>
</dl>
</li>
</ul>
<a id="setLabel(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setLabel</h4>
<pre class="methodSignature">public void setLabel(@Nonnull
java.lang.String label)</pre>
<div class="block">Sets the action source label.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>label</code> - The label</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>jEdit 4.0pre1</dd>
</dl>
</li>
</ul>
<a id="getPluginJAR()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPluginJAR</h4>
<pre class="methodSignature">public <a href="PluginJAR.html" title="class in org.gjt.sp.jedit">PluginJAR</a> getPluginJAR()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the plugin this action set was loaded from, or null.</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>jEdit 4.2pre13</dd>
</dl>
</li>
</ul>
<a id="getCacheableActionNames()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCacheableActionNames</h4>
<pre class="methodSignature">public java.lang.String[] getCacheableActionNames()</pre>
<div class="block">Returns an array of all action names in this action set that should
be cached; namely, <code>BeanShellAction</code>s.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="JEditActionSet.html#getCacheableActionNames()">getCacheableActionNames</a></code> in class <code><a href="JEditActionSet.html" title="class in org.gjt.sp.jedit">JEditActionSet</a><<a href="EditAction.html" title="class in org.gjt.sp.jedit">EditAction</a>></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an array of all action names in this action set that should
be cached; namely, <code>BeanShellAction</code>s.</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>jEdit 4.2pre1</dd>
</dl>
</li>
</ul>
<a id="getProperty(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getProperty</h4>
<pre class="methodSignature">public java.lang.String getProperty(java.lang.String name)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="JEditActionSet.html#getProperty(java.lang.String)">JEditActionSet</a></code></span></div>
<div class="block">Returns a property for the given name.
In jEdit it will returns a jEdit.getProperty(name), but it can
return something else for a standalone textarea.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="JEditActionSet.html#getProperty(java.lang.String)">getProperty</a></code> in class <code><a href="JEditActionSet.html" title="class in org.gjt.sp.jedit">JEditActionSet</a><<a href="EditAction.html" title="class in org.gjt.sp.jedit">EditAction</a>></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - the property name</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the property value</dd>
</dl>
</li>
</ul>
<a id="getInputHandler()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getInputHandler</h4>
<pre class="methodSignature">public <a href="input/AbstractInputHandler.html" title="class in org.gjt.sp.jedit.input">AbstractInputHandler</a> getInputHandler()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="input/InputHandlerProvider.html#getInputHandler()">getInputHandler</a></code> in interface <code><a href="input/InputHandlerProvider.html" title="interface in org.gjt.sp.jedit.input">InputHandlerProvider</a></code></dd>
</dl>
</li>
</ul>
<a id="compareTo(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>compareTo</h4>
<pre class="methodSignature">public int compareTo(java.lang.Object o)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>compareTo</code> in interface <code>java.lang.Comparable</code></dd>
</dl>
</li>
</ul>
<a id="toString()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toString</h4>
<pre class="methodSignature">public java.lang.String toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>toString</code> in class <code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a id="createBeanShellAction(java.lang.String,java.lang.String,java.lang.String,boolean,boolean,boolean)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>createBeanShellAction</h4>
<pre class="methodSignature">protected <a href="EditAction.html" title="class in org.gjt.sp.jedit">EditAction</a> createBeanShellAction(java.lang.String actionName,
java.lang.String code,
java.lang.String selected,
boolean noRepeat,
boolean noRecord,
boolean noRememberLast)</pre>
<div class="block">Creates a BeanShellAction.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="JEditActionSet.html#createBeanShellAction(java.lang.String,java.lang.String,java.lang.String,boolean,boolean,boolean)">createBeanShellAction</a></code> in class <code><a href="JEditActionSet.html" title="class in org.gjt.sp.jedit">JEditActionSet</a><<a href="EditAction.html" title="class in org.gjt.sp.jedit">EditAction</a>></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>actionName</code> - the action name</dd>
<dd><code>code</code> - the code</dd>
<dd><code>selected</code> - selected</dd>
<dd><code>noRepeat</code> - noRepeat</dd>
<dd><code>noRecord</code> - noRecord</dd>
<dd><code>noRememberLast</code> - noRememberLast</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an action</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>4.3pre13</dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
</div>
</main>
<!-- ========= END OF CLASS DATA ========= -->
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/ActionSet.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-files/index-1.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary: </li>
<li>Nested | </li>
<li><a href="#field.summary">Field</a> | </li>
<li><a href="#constructor.summary">Constr</a> | </li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail: </li>
<li>Field | </li>
<li><a href="#constructor.detail">Constr</a> | </li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
</footer>
</body>
</html>
¤ Dauer der Verarbeitung: 0.117 Sekunden
(vorverarbeitet)
¤
|
Haftungshinweis
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.
|