📄 guioptionimpl.java
字号:
* <!-- end-user-doc -->
* @generated
*/
public boolean isSetShowOnlineTip() {
return showOnlineTipESet;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public boolean isShowLastLoginTip() {
return showLastLoginTip;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setShowLastLoginTip(boolean newShowLastLoginTip) {
boolean oldShowLastLoginTip = showLastLoginTip;
showLastLoginTip = newShowLastLoginTip;
boolean oldShowLastLoginTipESet = showLastLoginTipESet;
showLastLoginTipESet = true;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, OptionPackage.GUI_OPTION__SHOW_LAST_LOGIN_TIP, oldShowLastLoginTip, showLastLoginTip, !oldShowLastLoginTipESet));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void unsetShowLastLoginTip() {
boolean oldShowLastLoginTip = showLastLoginTip;
boolean oldShowLastLoginTipESet = showLastLoginTipESet;
showLastLoginTip = SHOW_LAST_LOGIN_TIP_EDEFAULT;
showLastLoginTipESet = false;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.UNSET, OptionPackage.GUI_OPTION__SHOW_LAST_LOGIN_TIP, oldShowLastLoginTip, SHOW_LAST_LOGIN_TIP_EDEFAULT, oldShowLastLoginTipESet));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public boolean isSetShowLastLoginTip() {
return showLastLoginTipESet;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public boolean isShowSignature() {
return showSignature;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setShowSignature(boolean newShowSignature) {
boolean oldShowSignature = showSignature;
showSignature = newShowSignature;
boolean oldShowSignatureESet = showSignatureESet;
showSignatureESet = true;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, OptionPackage.GUI_OPTION__SHOW_SIGNATURE, oldShowSignature, showSignature, !oldShowSignatureESet));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void unsetShowSignature() {
boolean oldShowSignature = showSignature;
boolean oldShowSignatureESet = showSignatureESet;
showSignature = SHOW_SIGNATURE_EDEFAULT;
showSignatureESet = false;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.UNSET, OptionPackage.GUI_OPTION__SHOW_SIGNATURE, oldShowSignature, SHOW_SIGNATURE_EDEFAULT, oldShowSignatureESet));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public boolean isSetShowSignature() {
return showSignatureESet;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public boolean isShowCustomHead() {
return showCustomHead;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setShowCustomHead(boolean newShowCustomHead) {
boolean oldShowCustomHead = showCustomHead;
showCustomHead = newShowCustomHead;
boolean oldShowCustomHeadESet = showCustomHeadESet;
showCustomHeadESet = true;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, OptionPackage.GUI_OPTION__SHOW_CUSTOM_HEAD, oldShowCustomHead, showCustomHead, !oldShowCustomHeadESet));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void unsetShowCustomHead() {
boolean oldShowCustomHead = showCustomHead;
boolean oldShowCustomHeadESet = showCustomHeadESet;
showCustomHead = SHOW_CUSTOM_HEAD_EDEFAULT;
showCustomHeadESet = false;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.UNSET, OptionPackage.GUI_OPTION__SHOW_CUSTOM_HEAD, oldShowCustomHead, SHOW_CUSTOM_HEAD_EDEFAULT, oldShowCustomHeadESet));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public boolean isSetShowCustomHead() {
return showCustomHeadESet;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public boolean isShowSmallHead() {
return showSmallHead;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setShowSmallHead(boolean newShowSmallHead) {
boolean oldShowSmallHead = showSmallHead;
showSmallHead = newShowSmallHead;
boolean oldShowSmallHeadESet = showSmallHeadESet;
showSmallHeadESet = true;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, OptionPackage.GUI_OPTION__SHOW_SMALL_HEAD, oldShowSmallHead, showSmallHead, !oldShowSmallHeadESet));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void unsetShowSmallHead() {
boolean oldShowSmallHead = showSmallHead;
boolean oldShowSmallHeadESet = showSmallHeadESet;
showSmallHead = SHOW_SMALL_HEAD_EDEFAULT;
showSmallHeadESet = false;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.UNSET, OptionPackage.GUI_OPTION__SHOW_SMALL_HEAD, oldShowSmallHead, SHOW_SMALL_HEAD_EDEFAULT, oldShowSmallHeadESet));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public boolean isSetShowSmallHead() {
return showSmallHeadESet;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public boolean isTreeMode() {
return treeMode;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setTreeMode(boolean newTreeMode) {
boolean oldTreeMode = treeMode;
treeMode = newTreeMode;
boolean oldTreeModeESet = treeModeESet;
treeModeESet = true;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, OptionPackage.GUI_OPTION__TREE_MODE, oldTreeMode, treeMode, !oldTreeModeESet));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void unsetTreeMode() {
boolean oldTreeMode = treeMode;
boolean oldTreeModeESet = treeModeESet;
treeMode = TREE_MODE_EDEFAULT;
treeModeESet = false;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.UNSET, OptionPackage.GUI_OPTION__TREE_MODE, oldTreeMode, TREE_MODE_EDEFAULT, oldTreeModeESet));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public boolean isSetTreeMode() {
return treeModeESet;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public boolean isUseTabIMWindow() {
return useTabIMWindow;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setUseTabIMWindow(boolean newUseTabIMWindow) {
boolean oldUseTabIMWindow = useTabIMWindow;
useTabIMWindow = newUseTabIMWindow;
boolean oldUseTabIMWindowESet = useTabIMWindowESet;
useTabIMWindowESet = true;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, OptionPackage.GUI_OPTION__USE_TAB_IM_WINDOW, oldUseTabIMWindow, useTabIMWindow, !oldUseTabIMWindowESet));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void unsetUseTabIMWindow() {
boolean oldUseTabIMWindow = useTabIMWindow;
boolean oldUseTabIMWindowESet = useTabIMWindowESet;
useTabIMWindow = USE_TAB_IM_WINDOW_EDEFAULT;
useTabIMWindowESet = false;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.UNSET, OptionPackage.GUI_OPTION__USE_TAB_IM_WINDOW, oldUseTabIMWindow, USE_TAB_IM_WINDOW_EDEFAULT, oldUseTabIMWindowESet));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public boolean isSetUseTabIMWindow() {
return useTabIMWindowESet;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public boolean isBarExpanded() {
return barExpanded;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setBarExpanded(boolean newBarExpanded) {
boolean oldBarExpanded = barExpanded;
barExpanded = newBarExpanded;
boolean oldBarExpandedESet = barExpandedESet;
barExpandedESet = true;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, OptionPackage.GUI_OPTION__BAR_EXPANDED, oldBarExpanded, barExpanded, !oldBarExpandedESet));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void unsetBarExpanded() {
boolean oldBarExpanded = barExpanded;
boolean oldBarExpandedESet = barExpandedESet;
barExpanded = BAR_EXPANDED_EDEFAULT;
barExpandedESet = false;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.UNSET, OptionPackage.GUI_OPTION__BAR_EXPANDED, oldBarExpanded, BAR_EXPANDED_EDEFAULT, oldBarExpandedESet));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public boolean isSetBarExpanded() {
return barExpandedESet;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public int getWidth() {
return width;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setWidth(int newWidth) {
int oldWidth = width;
width = newWidth;
boolean oldWidthESet = widthESet;
widthESet = true;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, OptionPackage.GUI_OPTION__WIDTH, oldWidth, width, !oldWidthESet));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void unsetWidth() {
int oldWidth = width;
boolean oldWidthESet = widthESet;
width = WIDTH_EDEFAULT;
widthESet = false;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.UNSET, OptionPackage.GUI_OPTION__WIDTH, oldWidth, WIDTH_EDEFAULT, oldWidthESet));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public boolean isSetWidth() {
return widthESet;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
case OptionPackage.GUI_OPTION__AUTO_DOCK:
return isAutoDock() ? Boolean.TRUE : Boolean.FALSE;
case OptionPackage.GUI_OPTION__BOLD:
return isBold() ? Boolean.TRUE : Boolean.FALSE;
case OptionPackage.GUI_OPTION__FONT_COLOR:
return new Integer(getFontColor());
case OptionPackage.GUI_OPTION__FONT_NAME:
return getFontName();
case OptionPackage.GUI_OPTION__FONT_SIZE:
return new Integer(getFontSize());
case OptionPackage.GUI_OPTION__GROUP_BACKGROUND:
return new Integer(getGroupBackground());
case OptionPackage.GUI_OPTION__HEIGHT:
return new Integer(getHeight());
case OptionPackage.GUI_OPTION__HIDE_WHEN_MINIMIZE:
return isHideWhenMinimize() ? Boolean.TRUE : Boolean.FALSE;
case OptionPackage.GUI_OPTION__IM_ON_TOP:
return isImOnTop() ? Boolean.TRUE : Boolean.FALSE;
case OptionPackage.GUI_OPTION__ITALIC:
return isItalic() ? Boolean.TRUE : Boolean.FALSE;
case OptionPackage.GUI_OPTION__LOCATION_X:
return new Integer(getLocationX());
case OptionPackage.GUI_OPTION__LOCATION_Y:
return new Integer(getLocationY());
case OptionPackage.GUI_OPTION__MINIMIZE_WHEN_CLOSE:
return isMinimizeWhenClose() ? Boolean.TRUE : Boolean.FALSE;
case OptionPackage.GUI_OPTION__ONLINE_TIP_LOCATION_X:
return new Integer(getOnlineTipLocationX());
case OptionPackage.GUI_OPTION__ONLINE_TIP_LOCATION_Y:
return new Integer(getOnlineTipLocationY());
case OptionPackage.GUI_OPTION__ON_TOP:
return isOnTop() ? Boolean.TRUE : Boolean.FALSE;
case OptionPackage.GUI_OPTION__SHOW_BLACKLIST:
return isShowBlacklist() ? Boolean.TRUE : Boolean.FALSE;
case OptionPackage.GUI_OPTION__SHOW_FRIEND_TIP:
return isShowFriendTip() ? Boolean.TRUE : Boolean.FALSE;
case OptionPackage.GUI_OPTION__SHOW_NICK:
return isShowNick() ? Boolean.TRUE : Boolean.FALSE;
case OptionPackage.GUI_OPTION__SHOW_ONLINE_ONLY:
return isShowOnlineOnly() ? Boolean.TRUE : Boolean.FALSE;
case OptionPackage.GUI_OPTION__SHOW_ONLINE_TIP:
return isShowOnlineTip() ? Boolean.TRUE : Boolean.FALSE;
case OptionPackage.GUI_OPTION__SHOW_LAST_LOGIN_TIP:
return isShowLastLoginTip() ? Boolean.TRUE : Boolean.FALSE;
case OptionPackage.GUI_OPTION__SHOW_SIGNATURE:
return isShowSignature() ? Boolean.TRUE : Boolean.FALSE;
case OptionPackage.GUI_OPTION__SHOW_CUSTOM_HEAD:
return isShowCustomHead() ? Boolean.TRUE : Boolean.FALSE;
case OptionPackage.GUI_OPTION__SHOW_SMALL_HEAD:
return isShowSmallHead() ? Boolean.TRUE : Boolean.FALSE;
case OptionPackage.GUI_OPTION__TREE_MODE:
return isTreeMode() ? Boolean.TRUE : Boolean.FALSE;
case OptionPackage.GUI_OPTION__USE_TAB_IM_WINDOW:
return isUseTabIMWindow() ? Boolean.TRUE : Boolean.FALSE;
case OptionPackage.GUI_OPTION__BAR_EXPANDED:
return isBarExpanded() ? Boolean.TRUE : Boolean.FALSE;
case OptionPackage.GUI_OPTION__WIDTH:
return new Integer(getWidth());
}
return super.eGet(featureID, resolve, coreType);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void eSet(int featureID, Object newValue) {
switch (featureID) {
case OptionPackage.GUI_OPTION__AUTO_DOCK:
setAutoDock(((Boolean)newValue).booleanValue());
return;
case OptionPackage.GUI_OPTION__BOLD:
setBold(((Boolean)newValue).booleanValue());
return;
case OptionPackage.GUI_OPTION__FONT_COLOR:
setFontColor(((Integer)newValue).intValue());
return;
case OptionPackage.GUI_
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -