EE2E customize
You may have dissatisfaction in a default setting.
For example, there is a request of wanting to change an indent.
For example,there is also a request of wanting to change a complement list.
In that case, it is necessary to edit the XML file named *.ee2e
in the lib folder in a EEE2E plugin folder.
Then, you could get a customized original setup.
If the file edited into the useree2e folder is placed,
the file will be read at the time of Eclipse starting.
The same effect could be acquired by Reload of EE2E menu.
Supposing you make a wonderful setup,
please send the file to maintainer of EE2E.
Unless maintainer has gone out for the vacation,
the file will be adopted and many users will surely be pleased with it.
Structure of *.ee2e
This chapter explains XML language ee2e.
The structure of EE2E is as follows.
- ee2e(top tag/indent,etc,...)
ee2e
It is the top tag of EE2E.
All tags other than ee24 tag are contained in this tag.
indent attribute
indent len.
derivation attribute
Open derivation resource by default editor extention([Alt]-c t r).
When "open derivation editor"
is performed on an "aaa.ttl" editor
and this derivation attribute is "log",
"aaa.log" is opened.
when derivation attribute omits,it ignores.
The tag to possess
require
Other ee2e files are read.
href attribute
Other ee2e files name.
structureList
They are the complement list inputted from an EE2E menu bar,
and a definition list.
tagref attribute
The name of defvar which this holds.
default attribute
A default tag name when a user pushes a return by the complement list box.
type attribute
Type of a complement list.
There is the following type.
- section
- section type complement([Alt]-c s)
- begin
- begin type complement([Alt]-c b)
- learge
- learge type complement([Alt]-c l)
- big
- comment type complement([Alt]-c !)
- return
- A new-line is inputted([Alt]-c n)
- function
- function type complement([Alt]-c f)
argsep0 - 5 attribute
It is slightly difficult :-)
The character string
which divides the argument given to the structure is specified.
- argsep0 : Row Start Symbol
- The character string which comes to the head
(left-hand side) of the whole row when an argument row exists.
It is omitted when there is no argument.
The parenthesis which bundles the function argument
of the C language does not correspond.
- argsep1 : Element Start Symbol
- The character string which comes to the left-hand side
of the value of one argument.
- argsep2 : Element Substitution Symbol
- The character string which means substitution
when argument delivery is a value substitution system
(associative array system).
Each element attribute of HTML is "=".
Associative arrangement of Perl is "=>".
- argsep3 : Element Punctuation Symbol
- When there are two or more arguments,
the character string which divides them is specified.
C language system are ",".
Lisp langage system is " ".
- argsep4 : Element Terminal Symbol
- The character string which comes to the right-hand side of the value of one argument
- argsep5 : Row Terminal Symbol
- The character string which comes to the end (right-hand side)
of the whole row when an argument row exists
A typical example
name | argsep0 | argsep1 | argsep2 | argsep3 | argsep4 | argsep5 |
XHTML tag | " " | "\"" | "=" | " " | "\"" | "" |
mustmatch attribute
When the candidate who is not in a complement list is set as a list box
- true
- It approves.
- false
- It NOT approves.
The tag to possess
tagext
When the character string described by target in the file appears,
tagref is added to a structureList.
target attribute
The target character strin.
tagref attribute
The defvar name to add.
structure
The flow of complement structure is described.
If structureList is (a),
tag name is "img",attribute is "./foo.jpg",
then (b) will be complemented.
(a)
<structureList type="section"
tagref="html-inline-table"
default="img"
argsep0=" " argsep1=""" argsep2="="
argsep3=" " argsep4=""" argsep5="" mustmatch="false">
<structure value="<"/>
<structure type="keyword" />
<structure type="argument" />
<structure value=" />" />
<structure type="cursor" />
(b)
<img src="./foo.jpg">[]
(*)[] is cursor.
value attribute
the character string was inserted when a complement occurs.
Operation of those other than no-type has not supported type.
type attribute
- no-type
- it is default.
In this specification, "value" attribute must be defined.
- indent
- An indent is inserted.
- cursor
- Cursor is moved here.
- keyword
- tag is inserted here.
- argument
- attribute is inserted here.
- region
- region is inserted here.
defvar
A name is given to tag, attribute, and enumeration.
id attribute
The name of defvar.
The tag to possess
tag
It is the first keyword in the case of complementing.
name attribute
It is the keyword name.
ref attribute
Refer to the defvar name.
The tag to possess
attribute
It is an attribute in the case of complementing.
name attribute
It is the attribute name.
ref attribute
Refer to the defvar name.
The tag to possess
enumeration
It is the candidate of the character string which an attribute complements.
name attribute
It is the enumeration name.
ref attribute
Refer to the defvar name.
There is enumeration defined beforehand in system.
It is as follows.
- enumeration
- It is default.
The character string defined by "name" is complemented.
- integer
- A integer type character string is complemented.
- file
- A file type character string is complemented.
- filename
- It is the same as "file".
- xml-file-name
- It is the same as "file".
- folder
- A folder type character string is complemented.
- xml-same-alist
- The contents of the attribute name specified by env tag
in a file are made into a complement candidate.
- xi-xpath
- xpath of Xi language is supported.
- html-image-file-name
- A file type character string is complemented(for img tag).
- html-image-alt
- The alt attribute of an img tag is complemented.
- html-image-width
- The alt attribute of an width tag is complemented.
- html-image-height
- The alt attribute of an height tag is complemented.
- html-set-rev-link
- rev link is complemented.
- html-set-rel-link
- rel link is complemented.
- html-set-css-style
- css style is complemented.
- html-set-meta-types
- meta types is complemented.
- html-set-http-equiv
- http equiv is complemented.
- html-set-content
- set content is complemented.
- jsp-same-alist
- It is the same as "xml-same-alist".
- jsp-action-alist
- It is the same as "xml-same-alist".
- sdoc-image-style
- Smart Doc image style is complemented.
- jsp-jstl-el
- jstl-el is complemented.
- jsp-jspl-var-source
- var-source is complemented.
The tag to possess
env
A part of enumeration type reserved by the EE2E system uses.
name attribute
env name.
value attribute
env value.
iterationList
A iteratio type list complement is inputted([Alt] c i).
type attribute
Now, only "xml" can be specified.
The tag to possess
iteration
A iteratio type complement is inputted([Alt] c i).
opener attribute
The character string which should be in the head of repetition.
closer attribute
The character string which should be in the tail of repetition.
require attribute
The character string which should be of repetition.
The tag to possess
processList
It has not supported.
process
It has not supported.
templateList
It is a list of templates used for Wizard.
index attribute
A default file name.
extention attribute
A default file extention name.
name attribute
The name displayed on Wizard.
type attribute
An EE2E wizard system uses.
The tag to possess
template
It is template data.
name attribute
Template data.
type attribute
- langage
- en,ja,... is complemented.
- contry
- France,Japan,... is complemented.
ando@park.ruru.ne.jp