633ea48d42
Introduced an easier Facade class to access mod integration abstractions (called Integrations). Removed the link between IntegrationType and integration abstraction. Integrations are now explicitly instantiated inside of IntegrationNode.
41 lines
512 B
Java
41 lines
512 B
Java
package appeng.integration.modules.jei;
|
|
|
|
|
|
import appeng.integration.abstraction.IJEI;
|
|
|
|
|
|
public class JEIModule implements IJEI
|
|
{
|
|
|
|
private IJEI jei = new IJEI.Stub();
|
|
|
|
public void setJei( IJEI jei )
|
|
{
|
|
this.jei = jei;
|
|
}
|
|
|
|
public IJEI getJei()
|
|
{
|
|
return jei;
|
|
}
|
|
|
|
@Override
|
|
public String getSearchText()
|
|
{
|
|
return jei.getSearchText();
|
|
}
|
|
|
|
@Override
|
|
public void setSearchText( String searchText )
|
|
{
|
|
jei.setSearchText( searchText );
|
|
}
|
|
|
|
@Override
|
|
public boolean isEnabled()
|
|
{
|
|
return false;
|
|
}
|
|
|
|
}
|