Пример #1
0
 @Override
 protected boolean isTransparentAt(int x, int y) {
   if (!mShowDropdown) {
     Rectangle r = mComboFigure.getBounds();
     return !r.contains(x, y);
   }
   return false;
 }
Пример #2
0
 public boolean isDisabled() {
   return mComboFigure.isDisabled();
 }
Пример #3
0
 /* (non-Javadoc)
  * @see net.sf.eclipsensis.installoptions.figures.IInstallOptionsFigure#setDisabled(boolean)
  */
 public void setDisabled(boolean disabled) {
   mListFigure.setDisabled(disabled);
   mComboFigure.setDisabled(disabled);
 }
Пример #4
0
 /* (non-Javadoc)
  * @see net.sf.eclipsensis.installoptions.figures.IEditableElementFigure#getState()
  */
 public String getState() {
   return mComboFigure.getState();
 }
Пример #5
0
 /* (non-Javadoc)
  * @see net.sf.eclipsensis.installoptions.figures.IInstallOptionsFigure#refresh()
  */
 public void refresh() {
   mComboFigure.refresh();
   mListFigure.refresh();
 }
Пример #6
0
 public void setState(String state) {
   mComboFigure.setState(state);
   mListFigure.setState(state);
 }