|
|
@ -58,7 +58,7 @@ public class WorkspaceFeaturesView extends Composite {
|
|
|
|
|
|
|
|
|
|
|
|
@UiField Label shf; //Share Folders & Files
|
|
|
|
@UiField Label shf; //Share Folders & Files
|
|
|
|
|
|
|
|
|
|
|
|
private Popover overShF= new Popover();
|
|
|
|
private Popover overShF = new Popover();
|
|
|
|
|
|
|
|
|
|
|
|
@UiField Label upl; //UPLOAD
|
|
|
|
@UiField Label upl; //UPLOAD
|
|
|
|
|
|
|
|
|
|
|
@ -68,14 +68,15 @@ public class WorkspaceFeaturesView extends Composite {
|
|
|
|
|
|
|
|
|
|
|
|
private Popover overPlk = new Popover();
|
|
|
|
private Popover overPlk = new Popover();
|
|
|
|
|
|
|
|
|
|
|
|
// @UiField Label flk; //FOLDER PUBLIC LINK
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// private Popover overFolderlk = new Popover();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@UiField Label versioning; //VERSIONING
|
|
|
|
@UiField Label versioning; //VERSIONING
|
|
|
|
|
|
|
|
|
|
|
|
private Popover overversioninglk = new Popover();
|
|
|
|
private Popover overversioninglk = new Popover();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@UiField Label srh; //search
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private Popover overSearch = new Popover();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@UiField
|
|
|
|
@UiField
|
|
|
|
FlowPanel fp1;
|
|
|
|
FlowPanel fp1;
|
|
|
@ -134,11 +135,13 @@ public class WorkspaceFeaturesView extends Composite {
|
|
|
|
// ck_features_show_again.getElement().getFirstChildElement().setId("check_features_donotshowagain");
|
|
|
|
// ck_features_show_again.getElement().getFirstChildElement().setId("check_features_donotshowagain");
|
|
|
|
|
|
|
|
|
|
|
|
ck_features_show_again.addStyleName("margin-right-10");
|
|
|
|
ck_features_show_again.addStyleName("margin-right-10");
|
|
|
|
|
|
|
|
srh.addStyleName("margin-right-10");
|
|
|
|
shf.addStyleName("margin-right-10");
|
|
|
|
shf.addStyleName("margin-right-10");
|
|
|
|
upl.addStyleName("margin-right-10");
|
|
|
|
upl.addStyleName("margin-right-10");
|
|
|
|
// flk.addStyleName("margin-right-10");
|
|
|
|
// flk.addStyleName("margin-right-10");
|
|
|
|
plk.addStyleName("margin-right-10");
|
|
|
|
plk.addStyleName("margin-right-10");
|
|
|
|
initPopupShareFeature();
|
|
|
|
initPopupShareFeature();
|
|
|
|
|
|
|
|
initPopupSearchFeature();
|
|
|
|
// initPopupFlkFeature();
|
|
|
|
// initPopupFlkFeature();
|
|
|
|
initPopupUploadFeature();
|
|
|
|
initPopupUploadFeature();
|
|
|
|
initPopupPlkFeature();
|
|
|
|
initPopupPlkFeature();
|
|
|
@ -169,6 +172,8 @@ public class WorkspaceFeaturesView extends Composite {
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
*Inits the popup versioning feature.
|
|
|
|
*Inits the popup versioning feature.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
@ -215,6 +220,19 @@ public class WorkspaceFeaturesView extends Composite {
|
|
|
|
overShF.setTrigger(Trigger.HOVER);
|
|
|
|
overShF.setTrigger(Trigger.HOVER);
|
|
|
|
overShF.reconfigure();
|
|
|
|
overShF.reconfigure();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private void initPopupSearchFeature() {
|
|
|
|
|
|
|
|
overSearch.setAnimation(true);
|
|
|
|
|
|
|
|
overSearch.setWidget(srh);
|
|
|
|
|
|
|
|
String icon = "<span style=\"margin-right:5px\">"+Resources.getIconSearchWs().getSafeHtml().asString()+"</span>";
|
|
|
|
|
|
|
|
overSearch.setHeading(icon+"Search into Workspace");
|
|
|
|
|
|
|
|
overSearch.setText(WsPortletResources.INSTANCE.searchHowTo().getText());
|
|
|
|
|
|
|
|
overSearch.setHtml(true);
|
|
|
|
|
|
|
|
overSearch.setPlacement(Placement.BOTTOM);
|
|
|
|
|
|
|
|
overSearch.setTrigger(Trigger.HOVER);
|
|
|
|
|
|
|
|
overSearch.reconfigure();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Inits the popup upload feature.
|
|
|
|
* Inits the popup upload feature.
|
|
|
|