Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file.
108 changes: 46 additions & 62 deletions plugins/ru.runa.gpd.maven/icons/logo/16.xpm
Original file line number Diff line number Diff line change
@@ -1,64 +1,48 @@
/* XPM */
static char * C:\Users\shama\devel\java\runawfe_devstudio\plugins\ru_runa_gpd_app\icons\logo\16_xpm[] = {
"16 16 45 1",
" c #FFFFFF",
static char * 16_xpm[] = {
"16 16 29 1",
" c None",
". c #DD6D26",
"+ c #AF1F23",
"@ c #E22126",
"# c #E12126",
"$ c #DF2126",
"% c #DC2026",
"& c #DB2026",
"* c #DA2026",
"= c #D92026",
"- c #D82026",
"; c #DE2126",
"> c #DD2126",
", c #D72026",
"' c #D62026",
") c #D52025",
"! c #D52026",
"~ c #D42025",
"{ c #D32025",
"] c #D22025",
"^ c #D12025",
"/ c #D02025",
"( c #CF2025",
"_ c #CE2025",
": c #CD2025",
"< c #CC2025",
"[ c #CB2025",
"} c #CA2025",
"| c #C92025",
"1 c #C82025",
"2 c #C72025",
"3 c #C62025",
"4 c #C52024",
"5 c #C42024",
"6 c #BE1F24",
"7 c #BD1F24",
"8 c #C32024",
"9 c #C22024",
"0 c #C12024",
"a c #C02024",
"b c #BF2024",
"c c #BC1F24",
"d c #BA1F24",
"e c #F7A73D",
"f c #F9AB3F",
"....... ++++++++",
".ffffff +&=,++++",
".f +=,~+ ",
".f ++++++,~]++++",
".f +$>&='~](++++",
".f +> '~ + ",
".f +& ' ^ :}++++",
" +- ~ ( ++++",
"++++' ^ <}1 + ",
"++++{ ( }24 + f.",
" +^ }2 + f.",
"++++_<|248a6+ f.",
"++++<|2++++++ f.",
" +|25+ f.",
"++++259+ ffffff.",
"++++++++ ......."};
"+ c #FFFFFF",
"@ c #AF1F23",
"# c #F9AB3F",
"$ c #DB2026",
"% c #D92026",
"& c #D72026",
"* c #D42025",
"= c #D22025",
"- c #DF2126",
"; c #DD2126",
"> c #D62026",
", c #CF2025",
"' c #D12025",
") c #CD2025",
"! c #CA2025",
"~ c #D82026",
"{ c #CC2025",
"] c #C82025",
"^ c #FED091",
"/ c #D32025",
"( c #C72025",
"_ c #C52024",
": c #CE2025",
"< c #C92025",
"[ c #C32024",
"} c #C02024",
"| c #BE1F24",
".......+@@@@@@@@",
".######+@$%&@@@@",
".#++++++@%&*@+++",
".#+@@@@@@&*=@@@@",
".#+@-;$%>*=,@@@@",
".#+@;++>*+++@+++",
".#+@$+>+'+)!@@@@",
"+++@~+*+,+++@@@@",
"@@@@>+'+{!]+@^^^",
"@@@@/+,+!(_+@^#.",
"++@@'++!(+++@^#.",
"@@@@:{<(_[}|@^#.",
"@@@@@@@@@@@@@^#.",
"++@@@++@+@+++^#.",
"@@+@+@++@@+++##.",
"@@@+@@+@+@+@@..."};
1 change: 1 addition & 0 deletions plugins/ru.runa.gpd.office/plugin.properties
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ label.condition = Condition
label.DataType = Data type
label.InsertVariable = Insert variable
label.SelectResultVariable = Select result variable
label.SelectVariable = Select table variable
label.UpdateVariable = Update variable
label.DeleteVariableNotFound = There are no variables of such type in process definition

Expand Down
6 changes: 3 additions & 3 deletions plugins/ru.runa.gpd.office/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,13 @@
</handler>
<handler
actionHandler="true"
assignmentHandler="false"
botTaskHandler="false"
assignmentHandler="true"
botTaskHandler="true"
decisionHandler="false"
cellEditorProvider="ru.runa.gpd.office.store.InternalStorageOperationHandlerCellEditorProvider"
className="ru.runa.wfe.office.storage.handler.InternalStorageHandler"
label="%ru.runa.wfe.office.storage.handler.InternalStorageHandler"
enabled="false">
enabled="true">
</handler>
</extension>

Expand Down
5 changes: 3 additions & 2 deletions plugins/ru.runa.gpd.office/plugin_ru.properties
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ label.Query = \u0423\u0441\u043b\u043e\u0432\u0438\u0435
label.DataType = \u0422\u0438\u043F \u0434\u0430\u043D\u043D\u044B\u0445
label.InsertVariable = \u041F\u0435\u0440\u0435\u043C\u0435\u043D\u043D\u0430\u044F \u0441 \u0434\u0430\u043D\u043D\u044B\u043C\u0438 \u0434\u043B\u044F \u0432\u0441\u0442\u0430\u0432\u043A\u0438
label.SelectResultVariable = \u0420\u0435\u0437\u0443\u043B\u044C\u0442\u0438\u0440\u0443\u044E\u0449\u0430\u044F \u043F\u0435\u0440\u0435\u043C\u0435\u043D\u043D\u0430\u044F
label.SelectVariable = \u041F\u0435\u0440\u0435\u043C\u0435\u043D\u043D\u0430\u044F \u0434\u043B\u044F \u043F\u043E\u0438\u0441\u043A\u0430 \u0434\u0430\u043D\u043D\u044B\u0445
label.UpdateVariable = \u041F\u0435\u0440\u0435\u043C\u0435\u043D\u043D\u0430\u044F \u0441 \u0434\u0430\u043D\u043D\u044B\u043C\u0438 \u0434\u043B\u044F \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u044F
label.DeleteVariableNotFound = \u0412 \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u0438 \u043F\u0440\u043E\u0446\u0435\u0441\u0441\u0430 \u043D\u0435\u0442 \u043F\u0435\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u0442\u0430\u043A\u043E\u0433\u043E \u0442\u0438\u043F\u0430

Expand All @@ -47,7 +48,7 @@ label.sheetByTitle = \u0421\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u043f\u04
label.sheetByIndex = \u0421\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u043f\u043e \u043d\u043e\u043c\u0435\u0440\u0443
label.AddVar = \u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0430\u0442\u0440\u0438\u0431\u0443\u0442
label.AddPredicate = \u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0443\u0441\u043B\u043E\u0432\u0438\u0435

label.GlobalSection = \u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0433\u043B\u043E\u0431\u0430\u043B\u044C\u043D\u044B\u0439 \u0440\u0430\u0437\u0434\u0435\u043B
label.AddTable = \u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0442\u0430\u0431\u043b\u0438\u0446\u0443
label.Table = \u0422\u0430\u0431\u043b\u0438\u0446\u0430
label.DocxTableColumns = \u0421\u0442\u043e\u043b\u0431\u0446\u044b
Expand All @@ -57,7 +58,7 @@ label.tableStyle = \u0421\u0442\u0438\u043b\u044c \u0442\u0430\u0431\u043b\u0438
label.tableAddBreak = \u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043f\u0435\u0440\u0435\u043d\u043e\u0441 \u0441\u0442\u0440\u043e\u043a\u0438 \u043f\u043e\u0441\u043b\u0435 \u0442\u0430\u0431\u043b\u0438\u0446\u044b
label.input = \u0412\u0445\u043e\u0434\u043d\u043e\u0439 \u0444\u0430\u0439\u043b
label.inputAddBreak = \u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043f\u0435\u0440\u0435\u043d\u043e\u0441 \u0441\u0442\u0440\u043e\u043a\u0438
label.output = \u0412\u044b\u0445\u043e\u0434\u043d\u043e\u0439 \u0444\u0430\u0439\u043b
label.output = \u0412\u044b\u0445\u043e\u0434\u043d\u043e\u0439 \u0444\u0430\u0439\u043b \u0418\u0437\u043C\u0435\u043D\u0438\u0442\u044C

#label.outputDir = \u041a\u0430\u0442\u0430\u043b\u043e\u0433
#label.fileNameConstantValue = \u0418\u043c\u044f \u0444\u0430\u0439\u043b\u0430
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
package ru.runa.gpd.office;

import java.util.List;
import java.util.function.Predicate;
import java.util.stream.Stream;
import ru.runa.gpd.lang.model.ProcessDefinition;
import ru.runa.gpd.lang.model.Variable;
import ru.runa.gpd.lang.model.VariableUserType;
import ru.runa.gpd.office.store.externalstorage.VariableProvider;

public class GlobalSectionVariableProvider implements VariableProvider {
private final ProcessDefinition processDefinition;

public GlobalSectionVariableProvider(ProcessDefinition processDefinition) {
this.processDefinition = processDefinition;
}

@Override
public List<Variable> getVariables(boolean expandComplexTypes, boolean includeSwimlanes, String... typeClassNameFilters) {
return processDefinition.getVariables(expandComplexTypes, includeSwimlanes, typeClassNameFilters);
}

@Override
public VariableUserType getUserType(String name) {
return processDefinition.getVariableUserType(name);
}

@Override
public Stream<? extends VariableUserType> complexUserTypes(Predicate<? super VariableUserType> predicate) {
Stream<? extends VariableUserType> stream = processDefinition.getVariableUserTypes().stream()
.filter(VariableUserType::isStoreInExternalStorage);
if (predicate != null) {
stream = stream.filter(predicate);
}
return stream;
}

}
Loading