New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 2017.02 #60

Merged
merged 30 commits into from Feb 8, 2017
Commits
Jump to file or symbol
Failed to load files and symbols.
+6 鈭12
Diff settings

Always

Just for now

Viewing a subset of changes. View all

RowToColumnGood: rename some strings (#32)

* RowToColumnGood: rename some strings

* RowToColumnGood: change from row to column. disable inspect column if necessary
  • Loading branch information...
paulgheorghecristian authored and hongwoo-nam committed Jan 5, 2017
commit ee47f330fb33d41957ca604ae9c228ab112d300d
@@ -103,16 +103,16 @@ errorHead=\nError description:\n
copyClipBoard=&Copy
insertRecord=&Insert
oidNavigator=&OID navigator...
detailView=&View details...
detailView=&Inspect column...
allExport=Export &all data..
selectExport=Export &selected...
runError=execute error:
commitUpdate=The data has been modified. Would you like to save it?
updateBtn=Update
closeBtn=Close
cfmUpdateChangedValue=The value has changed. Are you sure you want to update this column?
titleRowDetailDialog=Row Detailed Information
msgRowDetailDialog=Show the detailed information for the selected row.
titleRowDetailDialog=Inspect column
msgRowDetailDialog=Show the column values for the selection.
msgValueNoChanged=The value was not changed.
msgValueNoChangedTitle=No changes
errMsgServerNull=server cannot be null
@@ -1192,14 +1192,6 @@ public void widgetSelected(SelectionEvent event) {
itemDetail.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent event) {
List<Point> selectedList = selectableSupport.getSelectedLocations();
if (selectedList == null) {
CommonUITool.openErrorBox(Messages.errShowDetailNoSelected);
return;
}
if (selectedList.size() != 1) {
CommonUITool.openErrorBox(Messages.errShowDetailMultiSelected);
return;
}
Point location = selectedList.get(0);
if (location == null) {
CommonUITool.openErrorBox(Messages.errShowDetailFailed);
@@ -1270,8 +1262,10 @@ public void handleEvent(Event event) {
menu.addMenuListener(new MenuAdapter() {
public void menuShown(MenuEvent event) {
List<Point> selectedList = selectableSupport.getSelectedLocations();
TableItem[] tblItems = selectableSupport.getSelectedTableItems();
boolean selectedCol = selectableSupport.hasSelected();
boolean enableItemDetail = (selectedList != null && selectedList.size() == 1);
itemExportSelection.setEnabled(selectedCol);
itemCopy.setEnabled(selectedCol);
@@ -1285,7 +1279,7 @@ public void menuShown(MenuEvent event) {
if (executer.getQueryEditor() != null && executer.getQueryEditor().getDatabaseInfo() != null
&& executer.getQueryEditor().getDatabaseInfo().equals(executer.getDatabaseInfo())) {
itemInsert.setEnabled(isEditMode());
itemDetail.setEnabled(selectedCol);
itemDetail.setEnabled(enableItemDetail);
itemDelete.setEnabled(getEditable() && isEditMode());
} else {
itemInsert.setEnabled(false);
ProTip! Use n and p to navigate between commits in a pull request.