Skip to content

Commit cd17497

Browse files
committed
updated context menus
1 parent 8a4424a commit cd17497

File tree

60 files changed

+430
-232
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+430
-232
lines changed

resources/messages/messages.properties

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,8 @@ ModelNodeTreeActionDirectionLight=Direction light
127127
ModelNodeTreeActionPointLight=Point light
128128
ModelNodeTreeActionSpotLight=Spot light
129129
ModelNodeTreeActionAnimationPlay=Play
130+
ModelNodeTreeActionAnimationPlaySettings=Play settings
131+
ModelNodeTreeActionAnimationStop=Stop
130132
ModelNodeTreeActionCreateTEmitter=Particles emitter
131133
ModelNodeTreeActionEmitterChangeShape=Change shape
132134
ModelNodeTreeActionEmitterChangeTriangleShape=Triangle
@@ -230,6 +232,11 @@ RenameDialogNewNameLabel=New name
230232
RenameDialogButtonOk=Rename
231233
RenameDialogButtonCancel=Cancel
232234
235+
PlayAnimationSettingsDialogTitle=Play settings
236+
PlayAnimationSettingsDialogLoopMode=Loop mode
237+
PlayAnimationSettingsDialogSpeed=Speed
238+
PlayAnimationSettingsDialogButtonOk=Apply
239+
233240
QuestionDialogTitle=Question
234241
QuestionDialogButtonOk=Yes
235242
QuestionDialogButtonCancel=No
@@ -271,7 +278,6 @@ GenerateTangentsDialogTitle=Generate tangents
271278
GenerateTangentsDialogAlgorithmLabel=Type algorithm
272279
GenerateTangentsDialogSplitMirrored=Split vertices with mirrored UVs
273280
GenerateTangentsDialogButtonOk=Generate
274-
GenerateTangentsDialogButtonCancel=Cancel
275281
276282
BoundingVolumeModelPropertyControlName=Model size
277283
BoundingVolumeModelPropertyControlSphere=Sphere

resources/messages/messages_ru.properties

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,8 @@ ModelNodeTreeActionDirectionLight=Направленный свет
127127
ModelNodeTreeActionPointLight=Точечный источник света
128128
ModelNodeTreeActionSpotLight=Световое пятно
129129
ModelNodeTreeActionAnimationPlay=Воспроизвести
130+
ModelNodeTreeActionAnimationPlaySettings=Настройки воспроизведения
131+
ModelNodeTreeActionAnimationStop=Остановить
130132
ModelNodeTreeActionCreateTEmitter=Источник частиц
131133
ModelNodeTreeActionEmitterChangeShape=Изменить форму
132134
ModelNodeTreeActionEmitterChangeTriangleShape=Треугольник
@@ -230,6 +232,11 @@ RenameDialogNewNameLabel=Новое имя
230232
RenameDialogButtonOk=Переименовать
231233
RenameDialogButtonCancel=Отменить
232234
235+
PlayAnimationSettingsDialogTitle=Настройки воспроизведения
236+
PlayAnimationSettingsDialogLoopMode=Режим повторения
237+
PlayAnimationSettingsDialogSpeed=Скорость
238+
PlayAnimationSettingsDialogButtonOk=Применить
239+
233240
QuestionDialogTitle=Вопрос
234241
QuestionDialogButtonOk=Да
235242
QuestionDialogButtonCancel=Нет
@@ -271,7 +278,6 @@ GenerateTangentsDialogTitle=Генерация тангентов
271278
GenerateTangentsDialogAlgorithmLabel=Тип алгоритма
272279
GenerateTangentsDialogSplitMirrored=Разделять вершины с зеркальным UVs
273280
GenerateTangentsDialogButtonOk=Сгенерировать
274-
GenerateTangentsDialogButtonCancel=Отмена
275281
276282
BoundingVolumeModelPropertyControlName=Размер модели
277283
BoundingVolumeModelPropertyControlSphere=Сфера
538 Bytes
Loading
496 Bytes
Loading
497 Bytes
Loading
442 Bytes
Loading
555 Bytes
Loading
503 Bytes
Loading

src/com/ss/editor/Messages.java

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,8 @@ public class Messages {
142142
public static final String MODEL_NODE_TREE_ACTION_POINT_LIGHT;
143143
public static final String MODEL_NODE_TREE_ACTION_SPOT_LIGHT;
144144
public static final String MODEL_NODE_TREE_ACTION_ANIMATION_PLAY;
145+
public static final String MODEL_NODE_TREE_ACTION_ANIMATION_PLAY_SETTINGS;
146+
public static final String MODEL_NODE_TREE_ACTION_ANIMATION_STOP;
145147
public static final String MODEL_NODE_TREE_ACTION_CREATE_TEMITTER;
146148
public static final String MODEL_NODE_TREE_ACTION_EMITTER_CHANGE_SHAPE;
147149
public static final String MODEL_NODE_TREE_ACTION_EMITTER_CHANGE_TRIANGLE_SHAPE;
@@ -245,6 +247,11 @@ public class Messages {
245247
public static final String RENAME_DIALOG_BUTTON_OK;
246248
public static final String RENAME_DIALOG_BUTTON_CANCEL;
247249

250+
public static final String PLAY_ANIMATION_SETTINDS_DIALOG_TITLE;
251+
public static final String PLAY_ANIMATION_SETTINDS_DIALOG_LOOP_MODE;
252+
public static final String PLAY_ANIMATION_SETTINDS_DIALOG_SPEED;
253+
public static final String PLAY_ANIMATION_SETTINDS_DIALOG_BUTTON_OK;
254+
248255
public static final String QUESTION_DIALOG_TITLE;
249256
public static final String QUESTION_DIALOG_BUTTON_OK;
250257
public static final String QUESTION_DIALOG_BUTTON_CANCEL;
@@ -286,7 +293,6 @@ public class Messages {
286293
public static final String GENERATE_TANGENTS_DIALOG_ALGORITHM_LABEL;
287294
public static final String GENERATE_TANGENTS_DIALOG_TITLE;
288295
public static final String GENERATE_TANGENTS_DIALOG_BUTTON_OK;
289-
public static final String GENERATE_TANGENTS_DIALOG_BUTTON_CANCEL;
290296

291297
public static final String BOUNDING_VOLUME_MODEL_PROPERTY_CONTROL_NAME;
292298
public static final String BOUNDING_VOLUME_MODEL_PROPERTY_CONTROL_SPHERE;
@@ -437,6 +443,8 @@ public class Messages {
437443
MODEL_NODE_TREE_ACTION_POINT_LIGHT = bundle.getString("ModelNodeTreeActionPointLight");
438444
MODEL_NODE_TREE_ACTION_SPOT_LIGHT = bundle.getString("ModelNodeTreeActionSpotLight");
439445
MODEL_NODE_TREE_ACTION_ANIMATION_PLAY = bundle.getString("ModelNodeTreeActionAnimationPlay");
446+
MODEL_NODE_TREE_ACTION_ANIMATION_PLAY_SETTINGS = bundle.getString("ModelNodeTreeActionAnimationPlaySettings");
447+
MODEL_NODE_TREE_ACTION_ANIMATION_STOP = bundle.getString("ModelNodeTreeActionAnimationStop");
440448
MODEL_NODE_TREE_ACTION_CREATE_TEMITTER = bundle.getString("ModelNodeTreeActionCreateTEmitter");
441449
MODEL_NODE_TREE_ACTION_EMITTER_CHANGE_SHAPE = bundle.getString("ModelNodeTreeActionEmitterChangeShape");
442450
MODEL_NODE_TREE_ACTION_EMITTER_CHANGE_TRIANGLE_SHAPE = bundle.getString("ModelNodeTreeActionEmitterChangeTriangleShape");
@@ -540,6 +548,11 @@ public class Messages {
540548
RENAME_DIALOG_BUTTON_OK = bundle.getString("RenameDialogButtonOk");
541549
RENAME_DIALOG_BUTTON_CANCEL = bundle.getString("RenameDialogButtonCancel");
542550

551+
PLAY_ANIMATION_SETTINDS_DIALOG_TITLE = bundle.getString("PlayAnimationSettingsDialogTitle");
552+
PLAY_ANIMATION_SETTINDS_DIALOG_LOOP_MODE = bundle.getString("PlayAnimationSettingsDialogLoopMode");
553+
PLAY_ANIMATION_SETTINDS_DIALOG_SPEED = bundle.getString("PlayAnimationSettingsDialogSpeed");
554+
PLAY_ANIMATION_SETTINDS_DIALOG_BUTTON_OK = bundle.getString("PlayAnimationSettingsDialogButtonOk");
555+
543556
QUESTION_DIALOG_TITLE = bundle.getString("QuestionDialogTitle");
544557
QUESTION_DIALOG_BUTTON_OK = bundle.getString("QuestionDialogButtonOk");
545558
QUESTION_DIALOG_BUTTON_CANCEL = bundle.getString("QuestionDialogButtonCancel");
@@ -581,7 +594,6 @@ public class Messages {
581594
GENERATE_TANGENTS_DIALOG_ALGORITHM_LABEL = bundle.getString("GenerateTangentsDialogAlgorithmLabel");
582595
GENERATE_TANGENTS_DIALOG_SPLIT_MIRRORED = bundle.getString("GenerateTangentsDialogSplitMirrored");
583596
GENERATE_TANGENTS_DIALOG_BUTTON_OK = bundle.getString("GenerateTangentsDialogButtonOk");
584-
GENERATE_TANGENTS_DIALOG_BUTTON_CANCEL = bundle.getString("GenerateTangentsDialogButtonCancel");
585597

586598
BOUNDING_VOLUME_MODEL_PROPERTY_CONTROL_NAME = bundle.getString("BoundingVolumeModelPropertyControlName");
587599
BOUNDING_VOLUME_MODEL_PROPERTY_CONTROL_SPHERE = bundle.getString("BoundingVolumeModelPropertyControlSphere");

src/com/ss/editor/ui/Icons.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@ public interface Icons {
4040
Image BONE_16 = ICON_MANAGER.getImage("/ui/icons/actions/16/bone.png");
4141
Image AUDIO_16 = ICON_MANAGER.getImage("/ui/icons/actions/16/audio.png");
4242
Image SETTINGS_16 = ICON_MANAGER.getImage("/ui/icons/actions/16/settings.png");
43+
Image PASTE_16 = ICON_MANAGER.getImage("/ui/icons/actions/16/paste.png");
44+
Image VIEW_16 = ICON_MANAGER.getImage("/ui/icons/actions/16/view.png");
45+
Image NEW_FILE_16 = ICON_MANAGER.getImage("/ui/icons/actions/16/new_file.png");
46+
Image CUT_16 = ICON_MANAGER.getImage("/ui/icons/actions/16/cut.png");
47+
Image COPY_16 = ICON_MANAGER.getImage("/ui/icons/actions/16/copy.png");
48+
Image TRANSFORMATION_16 = ICON_MANAGER.getImage("/ui/icons/actions/16/transformation.png");
4349

4450
Image REFRESH_18 = ICON_MANAGER.getImage("/ui/icons/actions/18/refresh.png", 18);
4551
Image REMOVE_18 = ICON_MANAGER.getImage("/ui/icons/actions/18/remove.png", 18);

0 commit comments

Comments
 (0)